AIDef:Action/WaitForFrame

From ZeldaMods (Breath of the Wild)
Revision as of 15:12, 24 October 2026 by Nebroc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Waits for a specific amount of frames or for the Player to press a specific button.

EventWaitFrameAction and WaitForKeyInput only wait for one of those 2 parameters.

WaitForFrame
AI definition
Type Action

StaticInstParams

Name Type Default value Description
ValidInput Int Button to wait for

5 possible values:

  • 0: A, B, X, Y, L, R, or ZR
  • 1: B
  • 2: A
  • 3: B or A
  • 4: Any button or stick except Plus, Minus, or D-Pad Up/Left/Right

Any other value will default to 4


DynamicInstParams

Name Type Default value Description
Frame Int Amount of frames to wait for


Derived definitions

Demo_WaitForFrameOrKeyInput (EventSystemActor)

Name Value
ValidInput 1