Site Announcements

  • Account registration restricted. Email lord.ixzion AT gmail.com and I will get you set up. Thanks.
  • RPGMM Discord Channel - https://discord.gg/YJnAfVr

  • New to the site? Let us know!! - Check here.
  • RPGM Magazine Mission Statement. - Check here.
  • We now have a forum up specifically for the races, check it out. - Check here.


[Continue]

It is currently March 4th, 2025, 1:36 pm
View unanswered posts | View active topics


All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: November 9th, 2006, 11:10 pm 
Rank 10: Cute Lil White Mage Rank 10: Cute Lil White Mage
At the Scumm Bar
Offline

  Level 50
 

Joined: January 25th, 2006, 2:27 pm

Posts: 5613

Location: CA
where are the switches in this game??

how do events work now in this game if you use variables?

how do you make events appear ect...........


Top
Profile  
 
PostPosted: November 9th, 2006, 11:57 pm 
Rank 11: Sexy Black Mage Rank 11: Sexy Black Mage
Spotted Skunk/Dragon
Offline
User avatar

  Level 158
 

Joined: May 18th, 2005, 4:18 pm

Posts: 7289

Location: <- That Way ->
What switches?

Welcome to the world of Variables. They're a very useful feature in programming, though they're unforunately quite restricted in potential in RPGM3.

Variables are pretty much numbers. Where a switch is either on or off, variables can be 1, 2, 3, etc. and in some cases -1, -2, -3, etc.. So not only could you have an event that does different things based on whether the variable is 0 or 1 (basically the numbers switches would represent), you could have events that do stuff if a variable is 2, 24, 19, 56, hike! Er, anyway... That's really the best I can explain it. If you want more in-depth explanation, please hold while we transfer you to a proper representative.

*beep*
*...through, yeah I'm through, with YOU!*

_________________
Image Image
"What if like...there was an exact copy of you somewhere, except they're the opposite gender, like you guys could literally have a freaky friday moment and nothing would change. Imagine the best friendship that could be found there."


Top
Profile  
 
PostPosted: November 10th, 2006, 1:34 am 
Rank 0: Magonian Apprentice
Offline
User avatar

  Level 0
 

Joined: February 9th, 2006, 6:42 pm

Posts: 84

Location: By the wayside
Duelpro wrote:
how do events work now in this game if you use variables?


Variables are nothing, without events to alter them, and
other events to respond to those alterations.

To change a variable with an event - Use the event
command (Property Control>Increase Shared Variable).
In this, set the variable in question, and the amount
that it will change. It REALLY helps to keep track of your
variables (what each is associated with) on a seperate
sheet of paper, because there's no way to 'label' them
in the editor.

To set another event to respond to an altered
variable
- Use the event commands (Control>Val-
Conditional Branch), and set it to have 2-4 options. Now,
you can set each branch to respond, if a different criteria
is met.

Let's say this event ^ is 'event B'. Event A changed the
value of variable 01 (or whichever) from '0' to '1'. Now,
'event B' has a val-conditional branch which checks for
the value of that variable, and has three options.

option 1 - variable 01 = 0 (display msg. - 'TRY AGAIN')
option 2 - variable 01 = 1 ( " " - 'EUREKA!') etc.
option 3 - variable 01 > 1 ( " " - 'Nothing else...')

Duelpro wrote:
how do you make events appear ect...........


you'll need to use the event code Display>Display 'OFF/ON' on the event that you want to turn off/on. You can 'change' an item's display by having 2 or more invisible events stacked into the same space, and then changing those event's models to other things. One event starts out as 'ON', and the other 'OFF'...but after an event occurs, they switch. The effect is that one event turns into another, but really one is being turned on, and the other is turned off...they just happen to occupy the same space. It's a way around the inability to change an event's display, by using 2 seperate events.

_________________
Image


Top
Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group