03-29-2014, 09:56 AM
Hello. I got a new script error. ExecuteString (1,1) ERR: No Matching signature of OnLeave()
main (9,35): ERR: Unexpected token
That's my 2 script:
void OnStart ()
{
AddEntityCollideCallback("Player","monster1","Monster",true,1);
}
void Monster(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("grunt1",true);
ShowEnemyPlayerPosition("grunt1");
main (9,35): ERR: Unexpected token
That's my 2 script:
void OnStart ()
{
AddEntityCollideCallback("Player","monster1","Monster",true,1);
}
void Monster(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("grunt1",true);
ShowEnemyPlayerPosition("grunt1");