ActorParam/AISchedule: Difference between revisions

no edit summary
imported>Leoetlino
No edit summary
imported>Leoetlino
No edit summary
Line 1: Line 1:
{{stub|what=Needs a description for AISchedule and a complete list of properties. The current lists are extremely incomplete.}}
<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>
<onlyinclude></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 ||
|}
|}


Example:
=== Triggers ===
<source lang="yaml">
{{expand section}}
{ EvflEntry: Talk, IsPauseOtherActors: true, Trigger: Talk }
{|class="wikitable"
</source>
! Value !! Description
|-
| Talk || When the actor is talked to
|-
| EachFrame || Every frame
|-
| Near || When Link is close to the actor
|-
| StepStart ||
|}
Anonymous user