Help me with Point_Hurt please...

NavyCo
1+ Posts
1+ Posts
Posts: 1
Joined: Mon Mar 03, 2014 2:33 pm

Help me with Point_Hurt please...

Post by NavyCo » Tue Mar 04, 2014 8:44 am

I have tried to script a point_hurt script so it will AUTOMATICLY remove its self and kill a play/entity which I point at?!

I am a beginner to point_hurt and phys_convert

Please help me learn information on how to use it...

:cry:

User avatar
ant_8490
Site Admin
Posts: 4384
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: Help me with Point_Hurt please...

Post by ant_8490 » Tue Mar 04, 2014 6:56 pm

Are you trying to do damage to a player or remove a prop? Those are two different things. Maybe post what you have so far so we can help you.

As for removing an entity after it does something, you can try 2 things:
1. Create a logic_timer or output to delete it after some delay time.
2. Just make the first line of your script: ent_fire <classname|targetname> kill. This will remove the previous entity each time you run the script.
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10