(03-12-2012, 01:55 AM)Your Computer Wrote: Strings aren't integers or floats.
Meaning it should be like this:
void OnStart()
{
SetEntityPlayerInteractCallback("key_study_1", "ActivateMonster", true);
}
void OnEnter()
{
}
void OnLeave()
{
}
void ActivateMonster(string &in item)
{
SetEntityActive("servant_grunt_1", true);
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0, "idle");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_2", 0, "idle");
}
Or- You had AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1",
"0", "idle");
Should be: AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1",
0, "idle");