AIDef:Action/ToCDungeon: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino (import AI definitions from 1.5.0) |
imported>Leoetlino (whoops, mixed this up with FromCDungeonToMainField...) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|type=Action | |type=Action | ||
}} | }} | ||
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 == | ||
Line 10: | Line 14: | ||
| StartType || Int || || | | StartType || Int || || | ||
|- | |- | ||
| EvflName || String || | | EvflName || String || || Name of the event flow to start after warp is complete | ||
Example: Demo008_2 | |||
|- | |- | ||
| EntryPointName || String || | | EntryPointName || String || || Name of the entry point in the event flow | ||
Example: Demo008_2 | |||
|- | |- | ||
|} | |} |
Latest revision as of 08:14, 25 October 2018
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_2 | |
EntryPointName | String | Name of the entry point in the event flow
Example: Demo008_2 |
Derived definitions
Demo_ToDungeon (DungeonEntranceElevator)
No overridden parameters.
Demo_ToCDungeon (EventSystemActor)
No overridden parameters.
Demo_ToCDungeon (EventTag)
No overridden parameters.