Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error!
Steve Offline
Member

Posts: 178
Threads: 17
Joined: Jun 2012
Reputation: 7
#6
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.)
08-02-2012, 10:00 AM
Find


Messages In This Thread
Error! - by Rassagai - 08-01-2012, 08:48 PM
RE: Error! - by Kazakarumariou - 08-01-2012, 10:17 PM
RE: Error! - by Rassagai - 08-01-2012, 11:47 PM
RE: Error! - by Kazakarumariou - 08-02-2012, 02:11 AM
RE: Error! - by Rassagai - 08-02-2012, 08:16 AM
RE: Error! - by Steve - 08-02-2012, 10:00 AM



Users browsing this thread: 1 Guest(s)