AIDef:Action/FromCDungeonToMainField: Difference between revisions
Jump to navigation
Jump to search
AIDef:Action/FromCDungeonToMainField (view source)
Revision as of 18:52, 14 October 2018
, 6 years agono edit summary
imported>Leoetlino No edit summary |
imported>Leoetlino No edit summary |
||
Line 3: | Line 3: | ||
|type=Action | |type=Action | ||
}} | }} | ||
The dungeon map name is determined from the player’s coordinates and location markers | Special purpose variant of [[AIDef:Action/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. | |||
== DynamicInstParams == | == DynamicInstParams == | ||
{|class="wikitable" | {|class="wikitable" |