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
Problem with scripting monsters
EXAWOLT Offline
Member

Posts: 113
Threads: 14
Joined: Apr 2012
Reputation: 3
#3
RE: Problem with scripting monsters

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "ActivateMonster", true, 1);
}

void ActivateMonster(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_2", true);
}
i dont think you want the monster to appear when leaving the map?Wink

simply nuff said




07-01-2012, 10:44 PM
Find


Messages In This Thread
Problem with scripting monsters - by The chaser - 07-01-2012, 10:31 PM
RE: Problem with scripting monsters - by Cruzore - 07-01-2012, 10:41 PM
RE: Problem with scripting monsters - by EXAWOLT - 07-01-2012, 10:44 PM
RE: Problem with scripting monsters - by EXAWOLT - 07-02-2012, 06:53 PM
RE: Problem with scripting monsters - by Cruzore - 07-02-2012, 07:21 PM



Users browsing this thread: 1 Guest(s)