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
well..I'm stuck again on doors
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#11
RE: well..I'm stuck again on doors

(04-07-2013, 07:33 AM)megsb927 Wrote:
(04-07-2013, 06:11 AM)JustAnotherPlayer Wrote: void OnStart()
{
SetEntityCallbackFunc("KEYNAME", "FUNCTION");
}

void FUNCTION(string &in asEntity, string &in Type)
{
SetSwingDoorLocked("DOORNAME", false, false);
}

(NOTE: This is the script that you've mentioned -- which is making the door to unlock BEFORE you can use it. Although it's unlocked when you pick the key up.)

I'm still confused what do I change?:/
KEYNAME to your key's name.
FUNCTION to whatever is your function.
DOORNAME to your door's name.

"Veni, vidi, vici."
"I came, I saw, I conquered."
04-07-2013, 10:13 AM
Find


Messages In This Thread
well..I'm stuck again on doors - by megsb927 - 04-07-2013, 05:20 AM
RE: well..I'm stuck again on doors - by megsb927 - 04-07-2013, 07:33 AM
RE: well..I'm stuck again on doors - by PutraenusAlivius - 04-07-2013, 10:13 AM
RE: well..I'm stuck again on doors - by noovra - 04-07-2013, 08:02 AM
RE: well..I'm stuck again on doors - by megsb927 - 04-07-2013, 08:58 AM
RE: well..I'm stuck again on doors - by noovra - 04-07-2013, 09:33 AM
RE: well..I'm stuck again on doors - by noovra - 04-07-2013, 10:08 AM
RE: well..I'm stuck again on doors - by megsb927 - 04-07-2013, 01:19 PM
RE: well..I'm stuck again on doors - by colin56 - 04-17-2013, 08:34 AM



Users browsing this thread: 1 Guest(s)