Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Conditional branch?
« previous next »
  • Print
Pages: [1]

Author Topic: Conditional branch?  (Read 1822 times)

Offline aduine

  • Member
  • Initiate
  • *
  • Posts: 27
Conditional branch?
« on: August 19, 2007, 09:35:17 AM »
Hello, here's my problem : I maked a conditional branch event in the Common event, i made it parallel process and the condition is to start when the hero is lvl 10. but the problem is that my event is looping... i tried to end it with, delete event, end event, switch ... could find how to make it stop looping. so i'm asking from person with enough knowledge please help!

Here what my common event look like

                                           Trigger : parallel process
<> Branch if Zack is lvl 10
  <>
: se handler
  <>
: End
<>

 Thanks to help.
Logged

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
(No subject)
« Reply #1 on: August 19, 2007, 07:39:05 PM »
What is it supposed to do? Other than just starting.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline lilsniffs

  • "Newcomer" Sprite editer, I mean sprite artist.
  • Initiate
  • *
  • Posts: 73
(No subject)
« Reply #2 on: August 19, 2007, 07:59:02 PM »
at the begginning put a conditional branch if switch (nametheswitch) is OFF. after you cut and paste your code in, place a switch operation that turns the switch on.
Logged
http://img175.imageshack.us/img175/4272/aninaruto3qx0.gif

Offline aduine

  • Member
  • Initiate
  • *
  • Posts: 27
(No subject)
« Reply #3 on: August 21, 2007, 02:57:45 AM »
Yeah thanks alot!
Logged

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
(No subject)
« Reply #4 on: August 21, 2007, 11:17:19 AM »
Or, make the common event need a switch in order to turn on, and then at the end of the code turn the switch off.

Like I did here.  See how I made it so then it needs the switch"Change season ON" to activate?

Just turn the switch on during the beginning cut scene, and you'll be fine.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Conditional branch?
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum