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
Script Help Open Door On Key Pickup
Steve Offline
Member

Posts: 178
Threads: 17
Joined: Jun 2012
Reputation: 7
#2
RE: Open Door On Key Pickup

void OnStart()
{
SetEntityPlayerInteractCallback("NAME_OF_KEY", "OnKeyPickUp", true);
}
void OnKeyPickUp(string &in asEntity)
{
SetSwingDoorLocked("NAME_OF_DOOR", false, true);
}
This should work if you have any problem ask me.

CURRENTLY WORKING ON:
Final Light = 40%
Need of voice actors.
07-10-2012, 09:12 AM
Find


Messages In This Thread
Open Door On Key Pickup - by Atilla280 - 07-10-2012, 12:55 AM
RE: Open Door On Key Pickup - by Steve - 07-10-2012, 09:12 AM
RE: Open Door On Key Pickup - by zaggnut - 07-10-2012, 09:33 AM
RE: Open Door On Key Pickup - by Atilla280 - 07-10-2012, 02:59 PM
RE: Open Door On Key Pickup - by Your Computer - 07-10-2012, 04:35 PM
RE: Open Door On Key Pickup - by Atilla280 - 07-10-2012, 07:30 PM



Users browsing this thread: 3 Guest(s)