Skip to content

RunLocalEventAction ​

Inherits: EventAction < Resource

Works on a local event of the world the party is in: runs it, switches it on or off, or puts it back as it was. A global event can use it to start the small rules of a place ("reset the puzzle room"), and a local event can chain to another ("the lever sets off the alarm rule"). See docs: Events > Local events.

Properties ​

intlocal_event_id0
OperationoperationOperation.RUN
boolcheck_conditionstrue

Methods ​

Stringget_display_name()
Stringget_function_description()

Enumerations ​

enum Operation ​

What the action does to the local event

  • RUN = 0
  • ENABLE = 1
  • DISABLE = 2
  • RESET = 3

Property descriptions ​

int local_event_id = 0 ​

The number of the local event (the Local Events tab shows it)

Operation operation = Operation.RUN ​

Run it, switch it on, switch it off, or put it back as it was at the start

bool check_conditions = true ​

For Run: run it only if its own conditions hold

Method descriptions ​

String get_display_name() ​

Return the display name of this Action (from EventAction)

String get_function_description() ​

Return a description of this action with parameter placeholders (from EventAction)