Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I Need A Help Regarding The Lock Doors
Author Message
Jayvee17 Offline
Junior Member

Posts: 25
Joined: May 2011
Reputation: 0
Post: #11
RE: I Need A Help Regarding The Lock Doors
(05-30-2011 03:22 PM)Kyle Wrote:  
(05-30-2011 03:08 PM)Jayvee17 Wrote:  Ok Thanks For The Help... I Deleted My Custom Story XDD...

That wasn't a good idea... unless you plan to make a better one. Tongue

Perhaps you should keep getting good scripting methods and practice more and then make a new one.

You're Right.. I'm Making A New One And It Is Only Small But Scary Heheh...Title Of The Story : The House... After I Finish This One... I'll Gonna Make A New One Again... The House 2...Looks Familiar Tho...
05-30-2011 05:00 PM
Find all posts by this user Quote this message in a reply
iVicio Offline
Junior Member

Posts: 4
Joined: Sep 2010
Reputation: 0
Post: #12
RE: I Need A Help Regarding The Lock Doors
(05-30-2011 02:41 PM)DannieWest Wrote:  
(05-29-2011 06:14 PM)iVicio Wrote:  void UsedKeyOnDoor_01(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Door_1", false, true);
PlaySoundAtEntity("", "unlock_door", "Door_1", 0, false);
RemoveItem("Door_1_Key");

void UsedKeyOnDoor_02(string &in asItem, string &in asEntity)
}
SetSwingDoorLocked("Door_3", false, true);
PlaySoundAtEntity("", "unlock_door", "Door_3", 0, false);
RemoveItem("Door_3_Key");
}

The problem with this script here is 1. you forgot to put a } after RemoveItem("Door_1_Key); and 2. under UsedKeyOnDoor_02 there should be a {, instead of } Smile
If it dun work after that, then I don't know :o And I agree with Kyle, if you make it his way you see more clearly what belongs to which and so =)

Ops sorry Blush
05-30-2011 05:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)