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


Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Noob needs help
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#7
RE: Noob needs help

Yep, i have same problem:


void OnStart()
{
SetPlayerLampOil(0);
//if(ScriptDebugOn())
//{
// GiveItemFromFile("lantern", "lantern.ent");
// for(int i=0;i<10;i++) GiveItemFromFile("tinderbox_"+i, "tinderbox.ent");
// SetPlayerLampOil(0);
//}
SetMessage("Journal", "start", 8.0f);;
SetEntityConnectionStateChangeCallback("lever_nice01_1", "StateChangeLever");
SetPlayerInteractCallback("Item", "Officekey", true);
AddUseItemCallback("", "crowbar_1", "prison_section_1", "UsedCrowbarOnDoor", true);
AddEntityCollideCallback("Player", "Brute_1", "Brute1", true, 1);
AddEntityCollideCallback("crowbar_joint_1", "ScriptArea_1", "CollideAreaBreakDoor", true, 1);
AddEntityCollideCallback("Player", "shake_1", "Earthquake", true, 1);
AddEntityCollideCallback("Player", "AreaKillLights", "KillLights", true, 1);
AddEntityCollideCallback("Player", "AreaKillLights2", "KillLights2", true, 1);
SetEntityPlayerInteractCallback("lantern_1", "Stuff", true);
}

void Officekey(string &in asEntity)
{
SetEntityActive("Brute2", true);
}

Says multiple errors!! Sad

“Life is a game, play it”
05-01-2011, 03:14 PM
Find


Messages In This Thread
Noob needs help - by X4anco - 04-30-2011, 12:48 PM
RE: Noob needs help - by Kyle - 04-30-2011, 12:56 PM
RE: Noob needs help - by Karai16 - 05-01-2011, 01:42 AM
RE: Noob needs help - by Kyle - 05-01-2011, 01:50 AM
RE: Noob needs help - by Karai16 - 05-01-2011, 12:09 PM
RE: Noob needs help - by HumiliatioN - 05-01-2011, 03:14 PM
RE: Noob needs help - by Kyle - 05-01-2011, 03:16 PM
RE: Noob needs help - by HumiliatioN - 05-01-2011, 03:20 PM
RE: Noob needs help - by Kyle - 05-01-2011, 03:29 PM
RE: Noob needs help - by X4anco - 04-30-2011, 01:00 PM
RE: Noob needs help - by HumiliatioN - 05-01-2011, 03:29 PM
RE: Noob needs help - by Kyle - 05-01-2011, 03:31 PM
RE: Noob needs help - by HumiliatioN - 05-01-2011, 03:34 PM
RE: Noob needs help - by MrBigzy - 05-01-2011, 03:41 PM
RE: Noob needs help - by Kyle - 05-01-2011, 04:24 PM



Users browsing this thread: 1 Guest(s)