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
Why doesn't this simple script work?
Patacorow Offline
Member

Posts: 135
Threads: 11
Joined: Jul 2011
Reputation: 3
#1
Question  Why doesn't this simple script work?

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


void GruntEvent(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("enemy_grunt",true);
}
This doesn't work. Help?

EDIT: Nevermind! I just had to recompile the script file. You can delete this. :S
(This post was last modified: 10-26-2011, 06:17 PM by Patacorow.)
10-26-2011, 06:12 PM
Find




Users browsing this thread: 3 Guest(s)