AIDef:Action/FromCDungeonToMainField

Revision as of 20:54, 15 October 2018 by imported>Leoetlino (Undo revision 5557 by Leoetlino (talk))
FromCDungeonToMainField
AI definition
Type Action

Special purpose variant of AIDef:Action/ChangeScene which automatically sets WarpDestMapName and WarpDestPosName to CDungeon/%s and Entrance_1 respectively.

The dungeon map name is determined from the player’s coordinates and location markers in Map/MainField/Static.mubin. The coordinates of each Dungeon 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 SaveFlag name (e.g. Location_Dungeon051 -> Dungeon051) and used as the warp destination 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.