RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[Resamavolved] Variables

Started by ShellShocked, March 03, 2009, 07:01:44 PM

0 Members and 1 Guest are viewing this topic.

ShellShocked

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?

modern algebra

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

ShellShocked

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.

modern algebra

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.