The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => Topic started by: Cactuar on August 15, 2011, 09:27:30 PM

Title: [RESOLVED] [XP] How to open certain door ONLY when hero is lv90 or higher??
Post by: Cactuar on August 15, 2011, 09:27:30 PM
So I have this place and there is a door, and I want that it can be opened only when my hero is lv 90 or higher, but I dont know how to do it... Can anybody help me with this problem? Thanks :P
Title: Re: [XP] How to open certain door ONLY when hero is lv90 or higher??
Post by: ForeverZero on August 15, 2011, 09:30:11 PM
Use a conditional branch with a script condition:

Code: [Select]
$game_actors[1].level >= 90
Title: Re: [XP] How to open certain door ONLY when hero is lv90 or higher??
Post by: Cactuar on August 15, 2011, 09:33:33 PM
:D That was easier than I tought :P THANKS :)
Title: Re: [RESOLVED] [XP] How to open certain door ONLY when hero is lv90 or higher??
Post by: modern algebra on August 15, 2011, 09:58:21 PM
You can also set a variable to an actor's level. It's under the Actor operand.