Announcement

Collapse
No announcement yet.

Variables -vs- Modes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Variables -vs- Modes

    In many instances, you can set your NPCs/party up with code that would respond the same way, whether you used variables or different modes.

    I'm wondering then, which is best to use? Is one better to use under certain conditions than another?

    I know having a second mode allows you to make someone say something different, etc...but I'm not sure of how to loop things ( if I have a vendor selling something, and the first "introduction" speech they say, I may want them to repeat that every time you go back, before going to the Item screen, etc. - and vice versa if I wanted it to never say the intro part of speech again.)

    I've only had the game a couple weeks, and just started messing with variables last week. I've decided I want to learn everything before messing with the rest of the game, so thanks for any input on variables and modes.

    #2
    Re: Variables -vs- Modes

    Changing mode will make it so the event simly does something else (or does nothing) depending on which mode you want. When you want a mode to activate depending on an amount of something (say if you wanted a king to give you a prize if you stamp a card 4 times), or if you wanted more than one event to change at the same time (say if you wanted everyone in town to thank you after defeating the cave boss), then you would use variables.
    "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."

    Comment


      #3
      Re: Variables -vs- Modes

      Thanks. A lot of what I'm learning is trial and error, but I'm getting the hang of it.

      Comment

      Working...
      X