Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you make a monster spawn and then he leaves and you can hear a door opened.
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#2
RE: How do you make a monster spawn and then he leaves and you can hear a door opened.

Spawn monster
SetEntityActive("MONSTERNAME", true);

Disable monster
SetEntityActive("MONSTERNAME", false);

Door open sound
PlaySoundAtEntity("", "open_door.snt", "DOOR NAME", 0.1f, false);


[Image: 44917299.jpg]Dubstep <3
(This post was last modified: 08-22-2011, 01:55 PM by xtron.)
08-22-2011, 01:55 PM
Find


Messages In This Thread
RE: How do you make a monster spawn and then he leaves and you can hear a door opened. - by xtron - 08-22-2011, 01:55 PM



Users browsing this thread: 1 Guest(s)