Jump to content


Photo

Event Command Script For Checking If Equipment is Fixed

script call event command fixed equipment

  • Please log in to reply
1 reply to this topic

#1 rannade3rd

rannade3rd

    Newbie

  • Ace Member
  • 7 posts

Posted 20 March 2017 - 01:49 AM

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.



#2 rannade3rd

rannade3rd

    Newbie

  • Ace Member
  • 7 posts

Posted 20 March 2017 - 03:24 AM

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.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users