06-28-2011, 03:47 PM
I try not to bother anyone but I decided to make an account and ask for help with this script that wont work. I probably made a simple and dumb mistake but here is the script:
Thanks.
Code:
////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger" , "MonsterWalk1" , true , 1);
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger" , "AddEnemyPatrolNode" , true , 1);
}
void AddEnemyPatrolNode(Monster1, PathNodeArea_35, 3, string& asAnimation);
void AddEnemyPatrolNode(Monster1, PathNodeArea_35, 3, string& asAnimation);
void MonsterWalk1(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("Monster1" , true);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
Thanks.