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 script
Saren Offline
Member

Posts: 196
Threads: 20
Joined: Jan 2012
Reputation: 1
#11
RE: Key script

(02-03-2012, 10:30 AM)Your Computer Wrote: Re-examining the .lang file, you forgot to close the Note_note2_Text entry.
Haha true that... fixed ^^
But did that have anything to do with the key not working... or maybe the whole .lang file don't work if just 1 thing dose'nt?
02-03-2012, 10:39 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#12
RE: Key script

(02-03-2012, 10:39 AM)Saren Wrote:
(02-03-2012, 10:30 AM)Your Computer Wrote: Re-examining the .lang file, you forgot to close the Note_note2_Text entry.
Haha true that... fixed ^^
But did that have anything to do with the key not working... or maybe the whole .lang file don't work if just 1 thing dose'nt?
1 thing wrong = whole lang doesn't work.



02-03-2012, 10:43 AM
Find
Saren Offline
Member

Posts: 196
Threads: 20
Joined: Jan 2012
Reputation: 1
#13
RE: Key script

Alright, as I said, I fixed it but still nothing =(
Well, the key has a name now and stuff, but it can't open the door...
(This post was last modified: 02-03-2012, 10:59 AM by Saren.)
02-03-2012, 10:56 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#14
RE: Key script

(02-03-2012, 10:56 AM)Saren Wrote: Well, the key has a name now and stuff, but it can't open the door...

If the script doesn't cause the game to error out or at least display a script error, then i cannot say the script posted is for the map with the item in question. In the script you posted, you tried to make use of variables that have not been declared, which otherwise would have been strings instead of variables.

Tutorials: From Noob to Pro
02-03-2012, 11:16 AM
Website Find
Saren Offline
Member

Posts: 196
Threads: 20
Joined: Jan 2012
Reputation: 1
#15
RE: Key script

Sooooo..... that means I have to change that... any suggestions?
02-03-2012, 11:22 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#16
RE: Key script

(02-03-2012, 11:22 AM)Saren Wrote: Sooooo..... that means I have to change that... any suggestions?

First, make sure the hps file has the same name as the map file. Secondly, Masterbedroomkey and masterbedroomdoor need to be strings.

Tutorials: From Noob to Pro
02-03-2012, 11:30 AM
Website Find
Saren Offline
Member

Posts: 196
Threads: 20
Joined: Jan 2012
Reputation: 1
#17
RE: Key script

Aaaaand, I do that how? xD.. Sry, but it all seems the same to me, haha
02-03-2012, 12:09 PM
Find




Users browsing this thread: 3 Guest(s)