Hi.
I script a Traitoritem. For now, with the script , A random player will explode. For this I used [B]util.BlastDamage[/B]. Now I want to add Ragdolls (Corpses) and Props (Barrels etc.) to let them explode, too. Can I use for Ragdolls and Props [B]util.BlastDamage[/B] too and if I can do so, how do I have to define Ragdolls and props ?
Thanks for your help.
:what:
Just call util.BlastDamage? It doesn't need an entity. If you want an explosion effect, create it. If you want the prop/ragdoll to disappear, Remove() it.
[QUOTE=Robotboy655;51684801]:what:
Just call util.BlastDamage? It doesn't need an entity. If you want an explosion effect, create it. If you want the prop/ragdoll to disappear, Remove() it.[/QUOTE]
Yeah. But I don´t want an explosion effect. The Prop or Ragdoll shall explode to damage/kill a Player who stands next to it. The Prop or Ragdoll shall be the explosion´s origin.
Don't want it? Don't create it.
Want the explosions origin to be in the prop? Set it there?
Sorry, you need to Log In to post a reply to this thread.