New Script Problem
I have a new script problem, something about no matching signatures in all of the path nodes?
Here is my script:
////////////////////////////
// Run when starting map
void OnStart()
{
AddEntityCollideCallback("Player", "Storage_Scare", "Storage_Scare", true, 0);
}
void Storage_Scare(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("Storage_Enemy", true);
AddEnemyPatrolNode("Storage_Enemy", "PathNodeArea_1", "0.1", "");
AddEnemyPatrolNode("Storage_Enemy", "PathNodeArea_2", "0.1", "");
AddEnemyPatrolNode("Storage_Enemy", "PathNodeArea_3", "0.1", "");
AddEnemyPatrolNode("Storage_Enemy", "PathNodeArea_4", "0.1", "");
AddEnemyPatrolNode("Storage_Enemy", "PathNodeArea_5", "0.1", "");
AddEnemyPatrolNode("Storage_Enemy", "PathNodeArea_6", "0.1", "");
AddEnemyPatrolNode("Storage_Enemy", "PathNodeArea_7", "0.1", "");
AddEnemyPatrolNode("Storage_Enemy", "PathNodeArea_8", "0.1", "");
AddEnemyPatrolNode("Storage_Enemy", "PathNodeArea_9", "0.1", "");
}
void FirstDiary(string &in item, int index)
{
ReturnOpenJournal(true);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
PlayMusic("04_amb.ogg", true, 0.7, 0.1, 0, true);
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
StopMusic(0.4, 0);
}
:Work In Progress:
Insanity
(This post was last modified: 07-20-2011, 08:05 PM by JoeBradleyUK.)
|