Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: aduine on March 17, 2006, 11:25:26 PM

Title: propably noob question again..
Post by: aduine 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 .
Title:
Post by: DragonBlaze 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.
Title:
Post by: aduine 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
Title:
Post by: Shadowless1 on March 19, 2006, 07:54:30 PM
thats easy, do an event, conditional branch, if hero level xx turn switch on

xx = number