Action Scoping

On classes derived from Actor, states and methods can be scoped to a certain subset of uses. This is mainly to differentiate actions which take place in inventory items and weapons, and actions which take place in the actual game map, for disambiguating the self pointer usage. The available scopes are:

NameDescription
actorActions are called from an actual map object.
itemActions are called from an inventory item.
overlayActions are called from a weapon overlay.
weaponActions are called from a weapon.

These can be defined either in the states block header as-is, Internal — Do not use or with Actor's DefaultStateUsage property.