AIDef:Action/WaitForFrame: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
Nebroc (talk | contribs)
No edit summary
Nebroc (talk | contribs)
No edit summary
 
Line 1: Line 1:
Waits for a specific amount of frames or for the Player to press a specific button.{{AIDef
Waits for a specific amount of frames or for the Player to press a specific button.
 
[[AIDef:Action/EventWaitFrameAction|EventWaitFrameAction]] and [[AIDef:Action/WaitForKeyInput|WaitForKeyInput]] only wait for one of those 2 parameters.{{AIDef
|name=WaitForFrame
|name=WaitForFrame
|type=Action
|type=Action

Latest revision as of 15:12, 24 October 2026

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