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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help With a Monster
Rownbear Offline
Member

Posts: 157
Threads: 13
Joined: Apr 2011
Reputation: 2
#15
RE: Help With a Monster

void Monsterspawn(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_1", true);
AddTimer("Timer", 20.0, "MonsterGone");
}

void MonsterGone(string&in asTimer)
{
SetEntityActive("servant_grunt_1", false);
}

All of this OnStart, and this is the simplest way of doing it. by adding more sounds and maybe reactions from daniel will make it better Smile

EDIT: Make the monster harmless and then take the time for how long he uses to come inside the room and then leave. and there you go. also the 20.0 is the amount of seconds in the script. I just randomly put 20 seconds.

(This post was last modified: 08-20-2011, 11:48 PM by Rownbear.)
08-20-2011, 11:46 PM
Find


Messages In This Thread
Help With a Monster - by Marche100 - 08-20-2011, 09:20 PM
RE: Help With a Monster - by Your Computer - 08-20-2011, 09:56 PM
RE: Help With a Monster - by Marche100 - 08-20-2011, 10:19 PM
RE: Help With a Monster - by Elven - 08-20-2011, 10:15 PM
RE: Help With a Monster - by Elven - 08-20-2011, 10:39 PM
RE: Help With a Monster - by Marche100 - 08-20-2011, 10:53 PM
RE: Help With a Monster - by Elven - 08-20-2011, 10:57 PM
RE: Help With a Monster - by Marche100 - 08-20-2011, 11:12 PM
RE: Help With a Monster - by Rownbear - 08-20-2011, 11:26 PM
RE: Help With a Monster - by Elven - 08-20-2011, 11:31 PM
RE: Help With a Monster - by Marche100 - 08-20-2011, 11:37 PM
RE: Help With a Monster - by Your Computer - 08-20-2011, 11:41 PM
RE: Help With a Monster - by Elven - 08-20-2011, 11:43 PM
RE: Help With a Monster - by Marche100 - 08-20-2011, 11:44 PM
RE: Help With a Monster - by Rownbear - 08-20-2011, 11:46 PM
RE: Help With a Monster - by Marche100 - 08-20-2011, 11:50 PM
RE: Help With a Monster - by Elven - 08-21-2011, 01:07 AM



Users browsing this thread: 1 Guest(s)