AIDef:Action/WaitForFrame: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino import AI definitions from 1.5.0 |
No edit summary |
||
| Line 1: | Line 1: | ||
{{AIDef | Waits for a specific amount of frames or for the Player to press a specific button.{{AIDef | ||
|name=WaitForFrame | |name=WaitForFrame | ||
|type=Action | |type=Action | ||
| Line 8: | Line 8: | ||
! Name !! Type !! Default value !! Description | ! Name !! Type !! Default value !! Description | ||
|- | |- | ||
| ValidInput || Int || || | | 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 | |||
|- | |- | ||
|} | |} | ||
| Line 17: | Line 26: | ||
! Name !! Type !! Default value !! Description | ! Name !! Type !! Default value !! Description | ||
|- | |- | ||
| Frame || Int || || | | Frame || Int || || Amount of frames to wait for | ||
|- | |- | ||
|} | |} | ||
Revision as of 15:11, 24 October 2026
Waits for a specific amount of frames or for the Player to press a specific button.
| AI definition | |
|---|---|
| Type | Action |
StaticInstParams
| Name | Type | Default value | Description |
|---|---|---|---|
| ValidInput | Int | Button to wait for
5 possible values:
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 |