The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: ShellShocked on March 03, 2009, 07:01:44 PM

Title: [Resamavolved] Variables
Post by: ShellShocked on March 03, 2009, 07:01:44 PM
Ehh, I've got an issue.

Say if I wanted to set up a variable system for a multi-ending 'thing' and I wanted 'Good', 'Bad' and 'Neutral'. I know how to set it up but...How can I set it so to be Neutral you need from say...-9 to +9?
Title: Re: Variables
Post by: modern algebra on March 03, 2009, 07:32:16 PM
I don't really know what you mean by that...

Conditional Branch: Variable >= 10
  Good
Else
  Conditional Branch: Variable <= -10
    Bad
  Else
    Neutral
  End
End
Title: Re: Variables
Post by: ShellShocked on March 03, 2009, 07:38:16 PM
So basically, that event'll be like;

If it's not above ten, or below -10, it's neutral?

If so...That's what I'm after. Thanks Al-ge-bra.
Title: Re: Variables
Post by: modern algebra on March 03, 2009, 07:39:53 PM
Yeah, well if it's not equal to or above 10 and not equal to or below -10, then the neutral branch will play out.