Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To use this power, simply set the item TAG equal to the name of the script to call. For example if you have an item called Hat01 that applies a special hat appearance, then you might want to make a script named "ITit_HAT01"hat01" and set the tag on the hat to the same.

On-Use Unique Item Properties

As another option, you can give the host item the property "Cast Spell > Unique Power Self Only". When cast, this item power will call the event X2_ITEM_EVENT_ACTIVATE which can also be handled in your tag-based script.

...

The toolset already comes with an example script showing all the events that will run to the tag-based item script. You can open "X2_IT_EXAMPLE" in the toolset script editor.

...