RE: Error!
no more like this:
////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player", "Area", "Aparecemonstruo", true, 0);
AddUseItemCallback("abrirpuerta", "Llave", "Puerta", "Abrirpuerta", true);
AddEntityCollideCallback("Player", "Dani", "Aparecemonstruoagua", true, 0);
}
void Aparecemonstruo(string &in asParent, string &in asChild, int alState)
{
PUT STUFF YOU WANT TO HAPPEN IN HERE
}
void Aparecemonstruoagua(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("enemigo", true);
SetEntityActive("enemigoagua", true);
ShowEnemyPlayerPosition("enemigo");
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
void Abrirpuerta(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Puerta", false, true);
}
CURRENTLY WORKING ON:
Final Light = 40%
Need of voice actors.
(This post was last modified: 08-02-2012, 10:01 AM by Steve.)
|