Scene: Difference between revisions

1,876 bytes removed ,  6 years ago
no edit summary
imported>Leoetlino
No edit summary
imported>Leoetlino
No edit summary
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 -&gt; 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 ==
Anonymous user