YANFLY ENGINE ACE - EVENT SELECT SKILL

RPG Maker VX Ace

Select a skill and bind its ID to a variable.

  • YF
  • 12/15/2011 08:58 PM
  • 1480 views


Download Link

This script produces a window similar to that of the Select Item Window, but instead, it returns the skill’s ID to a designated variable. It functions off of a script call so read the instructions carefully.



event_select_skill(variable_id, actor_id)
event_select_skill(variable_id, actor_id, stype_id)

This calls forth the skill select window. The variable_id is the variable that will receive the skill’s ID. The actor_id is where the skill list will pull the skills from. If you use the call with the stype_id, it will only pull skills from that skill type. Skills are only selectable based on whether or not the actor is able to use them.

event_select_skill_enable_all(variable_id, actor_id)
event_select_skill_enable_all(variable_id, actor_id, stype_id)

This will call forth the same skill select window with the same settings. However, this time, all of the skills are selectable regardless of whether or not the actor can use them.

---

Original Blog Page