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 Key Unlock Door script won't work :(
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Key Unlock Door script won't work :(

(10-08-2012, 10:55 PM)4WalledKid Wrote: You didn't specify the door you want to unlock with the key in
SetSwingDoorLocked(asEntity, false, true);

That would be how you specify it, given the parameters. craven7 pointed out one of the errors in the script, but also committed another (i.e. placing asEntity within quotation marks for PlaySoundAtEntity). However, the fact that the user is still able to load the map implies that the script is named differently than the map. The user would have received an undeclared variable error, unless the operating system is giving the game the wrong file.

Tutorials: From Noob to Pro
10-09-2012, 06:39 AM
Website Find


Messages In This Thread
Key Unlock Door script won't work :( - by Rowzter - 10-08-2012, 10:00 PM
RE: Key Unlock Door script won't work :( - by Your Computer - 10-09-2012, 06:39 AM



Users browsing this thread: 1 Guest(s)