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
what does this mean?
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#6
RE: what does this mean?

It needs to be like this:
PHP Code: (Select All)
void OnStart()
{
    
AddUseItemCallback("""Key_3""castle_1""UsedKeyOnDoor"true);
}

void UsedKeyOnDoor(string &in asItemstring &in asEntity)
{
    
SetSwingDoorLocked("castle_1"false);
    
PlaySoundAtEntity("""unlock_door""castle_1"0false);
    
RemoveItem("Key_3");
}

void OnEnter()
{

}

void OnLeave()
{



In Ruins [WIP]
03-16-2013, 07:37 PM
Find


Messages In This Thread
what does this mean? - by megsb927 - 03-16-2013, 04:51 AM
RE: what does this mean? - by PutraenusAlivius - 03-16-2013, 06:54 AM
RE: what does this mean? - by megsb927 - 03-16-2013, 05:17 PM
RE: what does this mean? - by NaxEla - 03-16-2013, 05:21 PM
RE: what does this mean? - by megsb927 - 03-16-2013, 07:33 PM
RE: what does this mean? - by NaxEla - 03-16-2013, 07:37 PM
RE: what does this mean? - by megsb927 - 03-16-2013, 07:52 PM
RE: what does this mean? - by NaxEla - 03-16-2013, 08:28 PM
RE: what does this mean? - by PutraenusAlivius - 03-17-2013, 02:14 AM



Users browsing this thread: 2 Guest(s)