The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: tSwitch on April 11, 2007, 06:34:56 PM

Title: The Call Script Command.[RESOLVED]
Post by: tSwitch on April 11, 2007, 06:34:56 PM
...is freezing my game
what am I doing wrong ???

I just put in @blah = blah and the game freezes
Title: Re: The Call Script Command...
Post by: modern algebra on April 11, 2007, 06:37:56 PM
show the event please. Do you have a loop? What is in the call script command? @ represents a local variable by the way. Just show the event.
Title: Re: The Call Script Command...
Post by: tSwitch on April 11, 2007, 06:42:31 PM
@letter_by_letter = false
variable
message
battle
@letter_by_letter = true
turn off switch

(event is on hero touch switch turns it off)
Title: Re: The Call Script Command...
Post by: Season In The Abyss on April 11, 2007, 10:50:17 PM
The last value of the command can't be "false" or "nil", use this instead:
@letter_by_letter = false
return true
Title: Re: The Call Script Command...
Post by: Kokowam on April 11, 2007, 10:59:37 PM
What's wrong with "false" or "nil" being the last value of the command? If you do "return true," does it affect the script in anyway?

Sidenote: OMG MODERN ALGEBRA. Nice one in your siggy XD
Title: Re: The Call Script Command...
Post by: tSwitch on April 11, 2007, 11:01:42 PM
Quote from: Season In The Abyss on April 11, 2007, 10:50:17 PM
The last value of the command can't be "false" or "nil", use this instead:
@letter_by_letter = false
return true

thanks I'll try that.
Title: Re: The Call Script Command...
Post by: Rune on April 13, 2007, 11:29:26 AM
Hey! That helped me! :D Thanks a million :D