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 »
  • propably noob question again..
« previous next »
  • Print
Pages: [1]

Author Topic: propably noob question again..  (Read 1952 times)

Offline aduine

  • Member
  • Initiate
  • *
  • Posts: 27
propably noob question again..
« on: March 17, 2006, 11:25:26 PM »
ok i want to know how is possible to make a switch that activated by level ? something like after 10 level you can get something special .
Logged

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #1 on: March 17, 2006, 11:41:47 PM »
Yeah, its pretty easy, though a switch probably wouldn't be the best thing to use. You'll want to use a variable, it works the same as a switch, but instead of forking if the switch is on/off, it switches if the variable is a certain value, above that value or below that value.

So you would make a variable, call it level. In the variable options, set level 'equal to' click on the hero tab, and select level. Then in your preconditions or whereever you were planning on making the switch, select the variable level instead of a switch. Select is 'is greater than or equal to' and enter a value of 10. The only problem with this is that you would have to set the variable equal to the level prior to the event, and if the level would change, you would have to set the variable again.

A better way to do it would be using a conditional branch instead of an event trigger, select the conditional branch, go to the second page of conditions, select hero, click on the pull down box that says "is in party" then select the 'level is at least' option and enter the level.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline aduine

  • Member
  • Initiate
  • *
  • Posts: 27
(No subject)
« Reply #2 on: March 19, 2006, 06:35:10 PM »
humm ... you know there was i time in my life i was doing some rpg maker everyday but finaly love show and i stopped for a while now i wish to conitnue so can you please make a screen shot of what that should look like and at far as a can remember i never learn how to make var . thanks
Logged

Offline Shadowless1

  • _
  • Acolyte
  • *
  • Posts: 495
(No subject)
« Reply #3 on: March 19, 2006, 07:54:30 PM »
thats easy, do an event, conditional branch, if hero level xx turn switch on

xx = number
Logged
<img src="http://i38.tinypic.com/1628lmr.gif">
<img src="http://i4.tinypic.com/25rctmo.gif"><img src="http://i2.tinypic.com/25rcu4y.png">
<img src="http://i5.tinypic.com/25rcuhx.jpg"><img src="http://i5.tinypic.com/25rcux3.gif">

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • propably noob question again..
 

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