Skip to content

punctual_state

Ryzom Core Wiki edited this page Jul 8, 2024 · 11 revisions

title: Punctual State description: published: true date: 2023-03-16T23:13:58.861Z tags: editor: markdown dateCreated: 2023-03-16T22:32:32.399Z

punctual_state

The punctual_state action suspends the current active state for a group and begins a punctual state, which is an AI state without positional behavior. This is useful for temporary special states, for example, to suppress normal wandering and route changing behaviours while a group is under attack.

Parameter Syntax

<state name>
[...]

Parameters

  • <state name>: Name of the punctual state to begin.
  • [...]: (Optional) You can specify multiple punctual state names, it'll pick one at random.

See also

  • Begin State: An action that switches the current state of an NPC group to another state.
  • Punctual State End: An action that deactivates the current punctual state and returns to the previously suspended positional state.
  • Set Punctual State Timeout: An action that sets a timer to trigger the punctual_state_timeout event unless the punctual state is ended or changed before the timer elapses. This action is commonly used with punctual_state to control the duration of a punctual state.
Clone this wiki locally