DanyR07
Junior Member
Posts: 1
Threads: 1
Joined: Aug 2012
Reputation:
0
|
FATAL ERROR Token ´{´
OK guys, im using the scripting guide: "From Noob to Pro", but i have a problem, when i get to the part when he teach us how to make the grunt get activate when u pick de key, i cant do that because i have a problem with (17/1) token. Here is the scripting
void OnStart()
{
SetEntityPlayerInteractCallback("key_study_1", "ActivateMonster", true);
}
void OnEnter()
{
AddDebugMessage("OnEnter!", false);
}
void OnLeave()
{
AddDebugMessage("OnLeave!", false);
}
void ActivateMonster(string &in item);
{ <-----(17/1) token whit amnesia say have a problem
SetEntityActive("servant_grunt_1", true)
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0, "Idle");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_2", 0, "Idle");
}
I really appreciate ur help guys!!!!!!!! HEERP
|
|
08-02-2012, 01:35 AM |
|