Code:
void OnStart()
{
AddDebugMessage("Start: intro",false);
SetEntityPlayerInteractCallBack("key_1","ActivateMonster", true);
AddDebugMessage("SetEntityPlayerInteractCallBack complete.");
}
void OnEnter()
{
AddDebugMessage("Enter: intro",false);
}
void OnLeave()
{
AddDebugMessage("Leave: intro",false);
}
void ActivateMonster(string &in item)
{
SetEntityActive("monster_1",true);
AddDebugMessage("monster_1 is now active");
}
If you want to see the error you need to download the map. It's to large for me to write down. xD
(PS. I'm new to this.)
(05-12-2012, 08:04 PM)TheBigNotch Wrote: [ -> ]Code:
void OnStart(){ AddDebugMessage("Start: intro",false); SetEntityPlayerInteractCallBack("key_1","ActivateMonster", true); AddDebugMessage("SetEntityPlayerInteractCallBack complete.");}
void OnEnter(){ AddDebugMessage("Enter: intro",false);}
void OnLeave(){ AddDebugMessage("Leave: intro",false);}
void ActivateMonster(string &in item){ SetEntityActive("monster_1",true); AddDebugMessage("monster_1 is now active");}
If you want to see the error you need to download the map. It's to large for me to write down. xD
(PS. I'm new to this.)
Make it so i can read it ?
The error tells you why. You tried to make a call to functions that don't exist.
FYI: You can reduce error messages by trying to load the map twice.