Spawning and killing objects with entety

Freelancer

Newbie
Joined
Mar 9, 2005
Messages
335
Reaction score
0
Hi there.. How do i create a trigger_delite that also delites entetys ?
and i got a light holder with a light parented to the holder.. how do i make them spawn with new names but still parented? help!

please? :D

Freelancer/
 
1) Send the entity you'd like to kill a Kill input.

2) Point_template.
 
hm tryed that but i cant kill something i cant get the name of! when i spawn something it will ofc get a new name ... how is a trigger going to kill something that has a difrent name ??
 
When a point_template spawns a new entity, the new name is something like oldname&0000, where 0000 goes up to 9999. So, to kill an instance of a copied entity provided no other such instances exist, kill the entity named oldname*. Also, !activator works quite well as a target when you're not sure of the targetname of the entity you're killing.
 
uhm could you explane so i can understand? :P you mean the windows thing also works for hl2 / Css mapping???? (delite *.dll fag*.* and so on)
 
yea noticed.. i just whant the light + lightholder that toutches the "trashcan" to be delited not everyone
 
Then you'd want a trigger targetting !activator.
 
ooh now i get it thanks :D thugh it will kill other objects too :(......and !activator whont do this : on start toutch -> !activator -> light off and so on.. argh >_<
 
Trigger_multiple has both handy-dandy Flags and a Filter Name property to allow you extra control over valid activators :P

If the prop is deleted, then the light parented to it should also be deleted.
 
Back
Top