(08-16-2012, 01:32 PM)bassim Wrote: (02-01-2012, 07:46 PM)Imevil23 Wrote: Title says it all. I know how to make entities active when you enter/exit an area or pick something up. But the one thing I want to know is how do I add the sound? You know, like the loud scream or yell when a naked dead guy comes flying at you.
You just have to look around at:
http://wiki.frictionalgames.com/hpl2/amn...en_effects
and you can probably find it.
If you're lazy or can't find, the function is called "SetEntityActive("name of entity", "false/true(deactivate/activate)");" But it really is important to be tenacious when you're scripting; or else it's really gonna be an uphill battle. :/