[RESOLVED] [XP] How to open certain door ONLY when hero is lv90 or higher??

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 66
Blue Mage
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
« Last Edit: August 15, 2011, 09:34:01 PM by Cactuar »
"Right and wrong are not what separate us and our enemies. It's our different standpoints, our perspectives that separate us. Both sides blame one another. There's no good or bad side. Just two sides holding different views."

**
Rep:
Level 81
Use a conditional branch with a script condition:

Code: [Select]
$game_actors[1].level >= 90

**
Rep: +0/-0Level 66
Blue Mage
:D That was easier than I tought :P THANKS :)
"Right and wrong are not what separate us and our enemies. It's our different standpoints, our perspectives that separate us. Both sides blame one another. There's no good or bad side. Just two sides holding different views."

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Best RPG Maker User (Scripting)2010 Most Mature Member
You can also set a variable to an actor's level. It's under the Actor operand.