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
2 keys
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#6
RE: 2 keys

I think what My Computer means is the following:

PHP Code: (Select All)
void OnStart()
 
 {
 
AddUseItemCallback("""doorway""mansion_4""useItemOnDoor"true);
 
AddUseItemCallback("""floortwokey""mansion_9""UsedKeyOnDoor"true);
 }
 
 
void useItemOnDoor(string &in asItemstring &in asEntity)//and for ffs, start using decent names. Doing otherwise is a bad programming technique.
 
{
 
SetSwingDoorLocked(asEntityfalsetrue);
 
PlaySoundAtEntity("""unlock_door"asEntity0false);
 
RemoveItem(asItem);
 } 

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
12-12-2011, 10:05 PM
Find


Messages In This Thread
2 keys - by aqfitz622 - 12-12-2011, 01:56 AM
RE: 2 keys - by Statyk - 12-12-2011, 02:11 AM
RE: 2 keys - by aqfitz622 - 12-12-2011, 05:29 AM
RE: 2 keys - by Your Computer - 12-12-2011, 05:33 AM
RE: 2 keys - by Statyk - 12-12-2011, 09:38 PM
RE: 2 keys - by nemesis567 - 12-12-2011, 10:05 PM
RE: 2 keys - by Your Computer - 12-13-2011, 01:35 AM
RE: 2 keys - by nemesis567 - 12-13-2011, 01:37 AM
RE: 2 keys - by irockpeople1 - 01-01-2012, 07:31 PM



Users browsing this thread: 2 Guest(s)