Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: [FaKE]MoleMat on January 09, 2017, 09:17:29 PM

Title: Giving NPCs health through ent command?
Post by: [FaKE]MoleMat on January 09, 2017, 09:17:29 PM
Ok so, basically what I'm trying to do is have it so when the bottle spawned by this code breaks, it gives all npc's of the same type a certain HP value, but when I keep testing it nothing changes. Any suggestions?

Code: [Select]
ulx ent prop_physics physdamagescale:0.05 | model:models/props_junk/garbage_glassbottle001a.mdl | OnBreak:<npc type>,SetHealth,<ammount>,0,-1