STARTUP_EVENT (a child element of AREA) defines the startup event that occurs right after the parent area finishes loading.
Notice the difference between this STARTUP_EVENT and the STARTUP_EVENT used in EVENTS. This STARTUP_EVENT occurs right after the area finishes loading, while the other STARTUP_EVENT occurs after this one, and after the area is initialized (map image loaded, characters placed on the map).
STARTUP_EVENT supports the use of its own child elements as values. For a list of supported child elements please refer to the tree menu on the left.
In this example STARTUP_EVENT defines an event that firstly place a NPC onto the map, and then the player characters enter the map.
- <STARTUP_EVENT>
- <CHARACTER>
- <NAME>Rei Ayanami</NAME>
- <PLACE>
- <X>3</X>
- <Y>4</Y>
- </PLACE>
- </CHARACTER>
- <ENTER_MAP/>
- </STARTUP_EVENT>