ActorParam/AISchedule: Difference between revisions
imported>Leoetlino No edit summary |
|||
| (6 intermediate revisions by 2 users not shown) | |||
| 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. | |||
== Contents == | </onlyinclude> | ||
==Contents== | |||
<source lang="yaml"> | <source lang="yaml"> | ||
ConditionalTimelines: | ConditionalTimelines: | ||
| Line 24: | Line 26: | ||
DisplayDistanceMode: None | DisplayDistanceMode: None | ||
</source> | </source> | ||
=== Node === | ===Node=== | ||
{{expand section}} | |||
Example: | Example: | ||
<source lang="yaml"> | <source lang="yaml"> | ||
| Line 41: | Line 44: | ||
</source> | </source> | ||
=== TriggerEvent === | ===TriggerEvent=== | ||
{|class="wikitable" | {{expand section}} | ||
! Name !! Type !! Description | An event that will be triggered when a condition is satisfied. | ||
{| class="wikitable" | |||
!Name!!Type!!Description | |||
|- | |||
|EvflEntry||str||Name of the entry point that will be executed. The event flowchart name is the same as the name of the associated actor or quest (for AISchedule blocks defined in [[QuestProduct]]). | |||
|- | |||
|IsPauseOtherActors||bool||Whether other actors should be paused when the event is triggered | |||
|- | |||
|Trigger||str||Event trigger | |||
|- | |||
|Parameters||dict|| | |||
|} | |||
====Triggers==== | |||
{{expand section}} | |||
{| class="wikitable" | |||
!Value!!Description | |||
|- | |||
|Talk||When the actor is talked to | |||
|- | |- | ||
| | |EachFrame||On every frame | ||
|- | |- | ||
| | |Near||When Link is close to the actor | ||
|- | |- | ||
| | |StepStart||When the quest step starts (only for [[QuestProduct]]) | ||
|} | |} | ||
==Files== | |||
AISchedule information is stored in baischedule files as an [[ActorParam]] resource or as a part of the Actors array in quest steps in [[QuestProduct.bquestpack]]. | |||