(01-12-2012, 04:49 AM)Tripication Wrote: (01-12-2012, 04:46 AM)flamez3 Wrote: Actually, I just noticed he said he wanted to have it when he opens the door himself.
Quote:void OnStart()
{
SetEntityPlayerInteractCallback("name_of_closet", "Spawn_Monster", true);
}
void Spawn_Monster(string &in asEntity)
{
SetEntityActive("Name_of_corpse", true);
}
Not sure where ur getting the monster idea from...
_____________________________________________________
Ok, im uploading a really quick tutorial now, be dont in 10-15 minutes
http://www.youtube.com/watch?v=Qf9lELUpB...e=youtu.be
Spawn_Monster is just the function name.
SetEntityActive("name_of_corpse", true); Is what you should be looking at