Waystone Set State
Description
Low-level mechanic that sets the target player's state for a waystone to any of the three states. Use waystoneDiscover or waystoneForget for the common cases.
Fires the ~onWaystoneStateChange trigger on transition, plus the state's OnEnter: skills.
Unlike waystoneDiscover, this does not fire ~onWaystoneDiscover even when transitioning UNDISCOVERED → DISCOVERED. Use the discover mechanic if you want that.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| waystone | w, id | The id of the waystone | required |
| state | s | One of UNDISCOVERED, DISCOVERED, ACTIVE |
DISCOVERED |
Examples
Mark a waystone as ACTIVE (e.g. visual ramping when a player accepts the local quest hub):
ActivateLocalHub:
Skills:
- waystoneSetState{waystone=IRONFORGE;state=ACTIVE} @self