Sign in to follow this  
Followers 0
rannade3rd

Event Command Script For Checking If Equipment is Fixed

2 posts in this topic

Like the title said, what event command script i should use to check if a certain actor equipment slot is fixed or not?

 

Thank you in advance.

Share this post


Link to post
Share on other sites

Nevermind.

 

I already learn it from someone.

 

in case if someone looking for it:

 

$game_actors[actor_id].equip_type_fixed?($game_actors[actor_id].equip_slots[slot_id])
This script call to check if equip slot slot_id of actor actor_id is fixed.
Example:
$game_actors[1].equip_type_fixed?($game_actors[1].equip_slots[0])
If Sword slot (Slot_id = 0) of Erik is fixed then return true else return false.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.