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
#7
RE: Hps...

(02-26-2012, 05:33 PM)jessehmusic Wrote:
(02-26-2012, 05:02 PM)Datguy5 Wrote:
(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
still dosnt work :/

oh : ( try replacing the void keyondoor with this void KeyOnDoor(string &in asItem, string &in asEntity);



02-26-2012, 05:35 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: 1 Guest(s)