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?
ammislol Offline
Junior Member

Posts: 24
Threads: 6
Joined: Feb 2012
Reputation: 0
#3
RE: Can anyone tell me whats wrong?

(02-21-2012, 09:28 PM)Your Computer Wrote: It looks like you forgot to put "void" before OnLeave, and it also seems that you forgot to close or end something. However, i can't say for sure until you post your code.

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_15", "ActivateMonster1", false, 0);
}



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




void OnLeave()
{
}
02-21-2012, 09:31 PM
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 ammislol - 02-21-2012, 09:37 PM



Users browsing this thread: 1 Guest(s)