Make npc disappear

  • Thread starter Thread starter UberMonkey
  • Start date Start date
U

UberMonkey

Guest
Can someone help me what i need to do is make an npc to walk to a spot then disappear when he gets there, Ive got the walking part done but i cant figure out how to make him disappear.
 
assuming you have a scripted_sequence or some such entity at the point the npc walks to, add an output something like:

output: ontrigger (or the equivalent for the entity)
target: npc
command: killtarget

it will vanish into thin air, without a ragdoll (for ragdoll you'd use SetHealth: 0)
 
crackhead said:
or just teleport it somewhere out of sight.

If you want to waste space, unless you teleport him somewhere further in the game as another combine.
 
Back
Top