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
Need help with scripting
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#4
RE: Need help with scripting

When you execute that function, EVERYTHING in it will be executed. Meaning both doors will be unlocked. And you call that function when you use either key, so it will always unlock the 2 doors.
You will have to use a separate function per door in order for it to work.

(or 1 function that checks which key you have equipped and then unlocks that door.. but never mind about this, make 2 functions.)
01-11-2011, 07:02 PM
Find


Messages In This Thread
Need help with scripting - by Cakefirst - 01-11-2011, 06:17 PM
RE: Need help with scripting - by Frontcannon - 01-11-2011, 06:33 PM
RE: Need help with scripting - by Cakefirst - 01-11-2011, 06:47 PM
RE: Need help with scripting - by Tottel - 01-11-2011, 07:02 PM
RE: Need help with scripting - by Cakefirst - 01-11-2011, 07:36 PM
RE: Need help with scripting - by Cakefirst - 01-12-2011, 03:24 PM
RE: Need help with scripting - by Seragath - 01-12-2011, 03:34 PM
RE: Need help with scripting - by Cakefirst - 01-12-2011, 03:45 PM
RE: Need help with scripting - by Seragath - 01-12-2011, 04:10 PM
RE: Need help with scripting - by Frontcannon - 01-12-2011, 05:20 PM
RE: Need help with scripting - by Cakefirst - 01-12-2011, 06:11 PM
RE: Need help with scripting - by Cakefirst - 01-13-2011, 09:46 PM
RE: Need help with scripting - by Seragath - 01-14-2011, 08:38 PM
RE: Need help with scripting - by Frontcannon - 01-13-2011, 10:16 PM
RE: Need help with scripting - by Tottel - 01-13-2011, 10:33 PM
RE: Need help with scripting - by Cakefirst - 01-14-2011, 10:05 PM



Users browsing this thread: 6 Guest(s)