AIDef:Action/ExitGame: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(import AI definitions from 1.5.0)
 
imported>Leoetlino
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
|type=Action
|type=Action
}}
}}
Changes the active stage to the TitleStage (see [[GameScene]]).
If in demo mode, <code>quick_exit()</code> is called to exit the entire app immediately. Otherwise:
* If ShowLogo is 1, createTitleStageBinder (0x71007B8BEC) is called with parameters (false, false).
* If ShowLogo is 0, <code>createTitleStageBinder(false, true)</code>
* In all other cases, the current event flow name is requested from EventMgr (for unused debug code) before calling <code>createTitleStageBinder(false, true)</code>
Used by Demo006_0 (Game Over demo) and Demo985_0 (E3 Thanks screen demo).


== DynamicInstParams ==
== DynamicInstParams ==
Line 8: Line 17:
! Name !! Type !! Default value !! Description
! Name !! Type !! Default value !! Description
|-
|-
| ShowLogo || Int ||  ||  
| ShowLogo || Int ||  || 0 or 1 (and other truthy values? {{check}})
|-
|-
|}
|}

Latest revision as of 18:11, 27 March 2019

ExitGame
AI definition
Type Action

Changes the active stage to the TitleStage (see GameScene).

If in demo mode, quick_exit() is called to exit the entire app immediately. Otherwise:

  • If ShowLogo is 1, createTitleStageBinder (0x71007B8BEC) is called with parameters (false, false).
  • If ShowLogo is 0, createTitleStageBinder(false, true)
  • In all other cases, the current event flow name is requested from EventMgr (for unused debug code) before calling createTitleStageBinder(false, true)

Used by Demo006_0 (Game Over demo) and Demo985_0 (E3 Thanks screen demo).

DynamicInstParams

Name Type Default value Description
ShowLogo Int 0 or 1 (and other truthy values? [check])


Derived definitions

Demo_ExitGame (EventSystemActor)

No overridden parameters.