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
Another Problem
jmayo Offline
Junior Member

Posts: 16
Threads: 6
Joined: Sep 2011
Reputation: 0
#5
RE: Another Problem


[Image: erroris.png]

Here Is The Whole Script:

////////////////////////////+
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "Prisonkey_1", "prison_1", "usedkeyondoor", true);
}
void usedkeyondoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("prison_1", false, true);
PlaySoundAtEntity("", "unlock_door", "prison_1", 0, false);
RemoveItem("Prisonkey_1");
}

{
AddEntityCollideCallback("Player", "monster", "MonsterStart", true, 1);
}

void MonsterStart(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_1", true);
AddEnemyPatrolNode("servant_grunt_1", "endNode", 9999.0f, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_5", 9999.0f, "");
}
////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}
10-07-2011, 12:16 AM
Find


Messages In This Thread
Another Problem - by jmayo - 10-05-2011, 11:46 PM
RE: Another Problem - by Tanshaydar - 10-06-2011, 12:05 AM
RE: Another Problem - by jmayo - 10-06-2011, 12:08 AM
RE: Another Problem - by Your Computer - 10-06-2011, 01:01 AM
RE: Another Problem - by jmayo - 10-07-2011, 12:16 AM
RE: Another Problem - by Gamemakingdude - 10-07-2011, 12:18 AM



Users browsing this thread: 2 Guest(s)