ActorParam/AISchedule: Difference between revisions
no edit summary
imported>Leoetlino No edit summary |
imported>Leoetlino No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>'''AISchedule''' configures actions based on time and other conditions for an actor, as well as the [[AI system|AI states]] or [[Event system|events]] that it can trigger.</onlyinclude> | |||
== Contents == | == Contents == | ||
<source lang="yaml"> | <source lang="yaml"> | ||
Line 25: | Line 24: | ||
</source> | </source> | ||
=== Node === | === Node === | ||
{{expand section}} | |||
Example: | Example: | ||
<source lang="yaml"> | <source lang="yaml"> | ||
Line 42: | Line 42: | ||
=== TriggerEvent === | === TriggerEvent === | ||
{{expand section}} | |||
An event that will be triggered when a condition is satisfied. | |||
{|class="wikitable" | {|class="wikitable" | ||
! Name !! Type !! Description | ! Name !! Type !! Description | ||
Line 50: | Line 53: | ||
|- | |- | ||
| Trigger || str || Event trigger | | Trigger || str || Event trigger | ||
|- | |||
| Parameters || dict || | |||
|} | |} | ||
=== Triggers === | |||
{{expand section}} | |||
{|class="wikitable" | |||
! Value !! Description | |||
|- | |||
| Talk || When the actor is talked to | |||
|- | |||
| EachFrame || Every frame | |||
|- | |||
| Near || When Link is close to the actor | |||
|- | |||
| StepStart || | |||
|} |