imported>Leoetlino |
imported>Leoetlino |
Line 5: |
Line 5: |
| == Actions == | | == Actions == |
| === ChangeScene === | | === ChangeScene === |
| {|class="wikitable" | | {{link to article|link=AIDef:Action/ChangeScene}} |
| ! Key !! Type !! Example || Description
| |
| |-
| |
| | WarpDestMapName || str || MainFieldDungeon/RemainsFire
| |
| MainField/A-1
| |
| |
| |
| |-
| |
| | WarpDestPosName || str || StartR ||
| |
| |-
| |
| | FadeType || int || 0 ||
| |
| |-
| |
| | StartType || int || 0 ||
| |
| |-
| |
| | EvflName || str || Demo622_1 || Name of the event flow to start after warp is complete
| |
| |-
| |
| | EntryPointName || str || Demo622_1 || Name of the entry point in the event flow
| |
| |}
| |
| | |
| Exported by EventSystemActor as Demo_ChangeScene.
| |
|
| |
|
| === FromCDungeonToMainField === | | === FromCDungeonToMainField === |
| {|class="wikitable" | | {{link to article|link=AIDef:Action/FromCDungeonToMainField}} |
| ! Key !! Type !! Example || Description
| |
| |-
| |
| | StartType || int || 0 ||
| |
| |-
| |
| | EvflName || str || Demo008_4 || Name of the event flow to start after warp is complete
| |
| |-
| |
| | EntryPointName || str || Demo622_1 || Name of the entry point in the event flow
| |
| |}
| |
| Exported by EventSystemActor as Demo_FromCDunToMainField.
| |
| | |
| Special purpose variant of ChangeScene which automatically sets WarpDestMapName and WarpDestPosName to <code>CDungeon/%s</code> and <code>Entrance_1</code> respectively.
| |
| | |
| The dungeon map name is determined from the player’s coordinates and location markers in <code>Map/MainField/Static.mubin</code>. The coordinates of each <code>Dungeon</code> marker are compared with the player’s; if Link is within 100 distance units of (x,y,z) the dungeon name is extracted from the <code>SaveFlag</code> name (e.g. Location_Dungeon051 -> Dungeon051) and used as the warp destination map name.
| |
|
| |
|
| === ToCDungeon === | | === ToCDungeon === |
| {|class="wikitable" | | {{link to article|link=AIDef:Action/ToCDungeon}} |
| ! Key !! Type !! Example || Description
| |
| |-
| |
| | StartType || int || 0 ||
| |
| |-
| |
| | EvflName || str || Demo008_2 || Name of the event flow to start after warp is complete
| |
| |-
| |
| | EntryPointName || str || Demo622_1 || Name of the entry point in the event flow
| |
| |}
| |
| Exported by EventSystemActor as Demo_ToCDungeon.
| |
| | |
| Special purpose variant of ChangeScene which automatically sets WarpDestMapName and WarpDestPosName to <code>MainField/%s</code> [new map name, e.g. A-1] and <code>%s</code> [current map name, e.g. CDungeon100_1] respectively.
| |
| | |
| The new map name is determined using <code>Map/MainField/Static.mubin</code> and the current map name.
| |
|
| |
|
| == Warp cutscene == | | == Warp cutscene == |
Scene changes — which are essentially warps that trigger loading screens — can be explicitly triggered with three different actions: ChangeScene, FromCDungeonToMainField and ToCDungeon.
All three actions are very similar; in fact they share the same base class. However, the first one is the most flexible action since the other two can only be used for shrines.
Actions
ChangeScene
Full article: AIDef:Action/ChangeScene
FromCDungeonToMainField
Full article: AIDef:Action/FromCDungeonToMainField
ToCDungeon
Full article: AIDef:Action/ToCDungeon
Warp cutscene
Demo005_1 is used as the event flow for most warps, for example when fast travelling to shrines, towers, Travel Medallion and Divine Beasts.
Entry point ClearRemains
is used when completing a Divine Beast. The main difference between CommonFunc
and ClearRemains
is the warp effect (sound and visual).