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
Hps...
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#5
RE: Hps...

(02-26-2012, 04:43 PM)jessehmusic Wrote:
(02-26-2012, 04:39 PM)Obliviator27 Wrote: Evidently your Cellarbase.hps has an error in it.

oid OnStart()

{
AddUseItemCallback("", "The Lost Key", "Lockeddoor_1", "KeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Lockeddoor_1", false, true);
PlaySoundAtEntity("", "unlock_door", "Lockeddoor_1", 0, false);
RemoveItem("The Lost Key");
}

void OnEnter()

{

}

void OnLeave()

{

}

cant find any errors
you have oid on start it should be void OnStart()
XD

02-26-2012, 05:02 PM
Find


Messages In This Thread
Hps... - by jessehmusic - 02-26-2012, 03:45 PM
RE: Hps... - by Obliviator27 - 02-26-2012, 04:39 PM
RE: Hps... - by jessehmusic - 02-26-2012, 04:43 PM
RE: Hps... - by Datguy5 - 02-26-2012, 05:02 PM
RE: Hps... - by jessehmusic - 02-26-2012, 05:33 PM
RE: Hps... - by Datguy5 - 02-26-2012, 05:35 PM
RE: Hps... - by Obliviator27 - 02-26-2012, 05:02 PM



Users browsing this thread: 2 Guest(s)