Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   RPGMaker (http://zelaron.com/forum/forumdisplay.php?f=188)
-   -   Switches? What the heck? (http://zelaron.com/forum/showthread.php?t=41936)

unlikealldarest 2007-03-12 10:12 PM

Switches? What the heck?
 
I'll admit that I am totally new and a newbie to rpgmaker...so here's my ?, for rpg2003 I have figured out most of the details except one...what are switches and how do you use them? Okay so here's an example...say I want this guy to say something give my character something then say something totally different the next time. how do I do that? I was trying to figure it out but alas...I am hopeless...er...help?

Atnas 2007-03-14 08:15 PM

Name a switch guyspeak. Now on the event which possesses the graphic of the guy, make a conditional branch...
===============================
:If:
:Switch guyspeak=OFF
:Show text = "LOLZ"
:Turn Switch guyspeak ON
:Else:

:If:
:Switch guyspeak=ON
:Show text = "Kicking puppies is fun."
:Turn Switch guyspeak OFF
:Else:

===============================

So try that out. Pardon my Pseudocode. Switches aren't really very hard, after an hour or so.


All times are GMT -6. The time now is 11:34 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.