AIDef:Action/FromCDungeonToMainField: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
No edit summary
imported>Leoetlino
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
}}
}}


Special purpose variant of [[AIDef:Action/ChangeScene]] which automatically sets WarpDestMapName and WarpDestPosName to <code>CDungeon/%s</code> and <code>Entrance_1</code> respectively.
Special purpose variant of [[AIDef:Action/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 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.
The new map name is determined using <code>Map/MainField/Static.mubin</code> and the current map name.


== DynamicInstParams ==
== DynamicInstParams ==

Latest revision as of 08:14, 25 October 2018

FromCDungeonToMainField
AI definition
Type Action

Special purpose variant of AIDef:Action/ChangeScene which automatically sets WarpDestMapName and WarpDestPosName to MainField/%s [new map name, e.g. A-1] and %s [current map name, e.g. CDungeon100_1] respectively.

The new map name is determined using Map/MainField/Static.mubin and the current map name.

DynamicInstParams

Name Type Default value Description
StartType Int
EvflName String   Name of the event flow to start after warp is complete

Example: Demo008_4

EntryPointName String   Name of the entry point in the event flow

Example: Demo622_1


Derived definitions

Demo_FromCDunToMainField (EventSystemActor)

No overridden parameters.