RSS

[Tutorial] 姫Hime’s Choice Options: $game_actor supported conditional statements

17 Sep

This article serves as an extension to Hime’s Choice Options script and deals solely with $game_troop conditions


$game_actor supported conditional statements

This argument perform a more detailed check on individual actors. We can use this to check specific actor’s level, hp, and mp before disabling certain option(?) when the level requirement is not met.

The argument states that Option 1 will be hidden if the actor number 1 has exactly 800 HP, Option 2 will be disabled if the actor number 1 is at level 1, and Option 3 will show up as “?????” if actor number 1 has exactly 50 MP.

This is what is available to me when I am at level 1 with 800 HP and 50 MP.

This is what is available to me at level 30 with 2600 HP and 350 MP.

We can perform the same checks on the other actors, just replace the x in “$game_actors[x]” with the actor ID that you want to perform the check on.

Advertisements
 
1 Comment

Posted by on September 17, 2015 in Scripts

 

Tags:

One response to “[Tutorial] 姫Hime’s Choice Options: $game_actor supported conditional statements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: