RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[Resamavolved] Variables

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 89
Koopa Troopa!
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?
« Last Edit: March 03, 2009, 07:40:34 PM by ShellShocked »

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I don't really know what you mean by that...

Code: [Select]
Conditional Branch: Variable >= 10
  Good
Else
  Conditional Branch: Variable <= -10
    Bad
  Else
    Neutral
  End
End

***
Rep:
Level 89
Koopa Troopa!
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.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
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.