modding:xml:designtype
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
modding:xml:designtype [2013/03/21 17:02] – [<GetGlobalPlayerPriceAdj>] gpm | modding:xml:designtype [2014/12/27 04:40] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 195: | Line 195: | ||
* aDestroyReason | * aDestroyReason | ||
+ | This is called whenever an ship or a station are destroyed. | ||
+ | |||
+ | NOTE: This is //not// called for other kinds of objects, such as missiles. | ||
====< | ====< | ||
* aScreenUNID is the UNID of the screen being shown | * aScreenUNID is the UNID of the screen being shown | ||
Line 235: | Line 238: | ||
**Warning : multiple instances of this event can be created on multiple system types. They will ALL be called when ANY system is created, and their order can NOT be forecast.** | **Warning : multiple instances of this event can be created on multiple system types. They will ALL be called when ANY system is created, and their order can NOT be forecast.** | ||
+ | |||
+ | ====< | ||
+ | **[apiVersion 14]** This is called whenever a system starts running (i.e., is created or loaded from disk). This event happens //before// the player enters the system; you may use it to change the system to simulate things that might have happened while the player was away. | ||
+ | |||
+ | |||
+ | ====< | ||
+ | **[apiVersion 14]** This is called whenever a system stops running (i.e., is saved to disk). This event happens //after// the player leaves the system. | ||
====< | ====< | ||
Line 259: | Line 269: | ||
Called whenever the game is saved to disk, including going through stargates, exiting, dying, and initially starting the game. | Called whenever the game is saved to disk, including going through stargates, exiting, dying, and initially starting the game. | ||
+ | |||
+ | ====< | ||
+ | **[apiVersion 14]** Called once every 15 ticks. | ||
====< | ====< |
modding/xml/designtype.txt · Last modified: 2018/08/09 18:53 by nms