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
doors problem scirpts
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: doors problem scirpts

Your script currently makes both doors unlocked when only one of the keys is used. A simple way you can avoid this is to use an if statement or two to check which door is being unlocked or which key is being used, then run the appropriate lines.

If statements look like this:

PHP Code: (Select All)
if(Condition)
{
//--- do stuff ---//


So check which key/door is being used by doing if(asItem == "Door key") { //etc etc} or if(asEntity == "mansion_1") { // blah blah }

12-26-2011, 05:25 PM
Find


Messages In This Thread
doors problem scirpts - by jessehmusic - 12-25-2011, 10:25 PM
RE: doors problem scirpts - by palistov - 12-26-2011, 05:25 PM



Users browsing this thread: 1 Guest(s)