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
Can anyone tell me whats wrong?
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#4
RE: Can anyone tell me whats wrong?

PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_15", "ActivateMonster1", false, 0);
}

void OnEnter()
{

}

void OnLeave()
{

}

void ActivateMonster1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("waterlurker_2", true);
} 

You need your function outside any other function as long as you don't make your own.

Creator of The Dark Treasure.
02-21-2012, 09:35 PM
Website Find


Messages In This Thread
Can anyone tell me whats wrong? - by ammislol - 02-21-2012, 09:26 PM
RE: Can anyone tell me whats wrong? - by ammislol - 02-21-2012, 09:31 PM
RE: Can anyone tell me whats wrong? - by Linus Ågren - 02-21-2012, 09:35 PM
RE: Can anyone tell me whats wrong? - by ammislol - 02-21-2012, 09:37 PM



Users browsing this thread: 1 Guest(s)