triggers:aprog
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
triggers:aprog [2015/02/09 20:25] – vodur | triggers:aprog [2017/06/28 02:59] (current) – vodur | ||
---|---|---|---|
Line 5: | Line 5: | ||
Area progs are always lua scripts. | Area progs are always lua scripts. | ||
- | ^Script Argument ^Type ^Note | | + | ^Script Argument^Type^Note| |
- | |ch1 |[[: | + | |ch1|[[: |
- | |trigger |string |see table | | + | |trigger|string|see table| |
- | |trigtype |string |see table | | + | |trigtype|string|see table| |
The actual area to which the script is attached can be referenced in the script through ' | The actual area to which the script is attached can be referenced in the script through ' | ||
- | ^trigtype ^ch1 ^trigger ^Phrase type ^Description | | + | ^trigtype^ch1^trigger^Phrase type^Description| |
- | |enter |enterer |none |number(%chance) |Fires when player enters the area | | + | |enter|enterer|none|number(%chance)|Fires when player enters the area. \\ See [[: |
- | |< | + | |< |
- | |renter |enterer |none |number(%chance) |Fires when player enters any room in the area | | + | |renter|enterer|none|number(%chance)|Fires when player enters any room in the area. \\ See [[: |
- | |< | + | |< |
- | |< | + | |< |
- | |boot |none |none |number(%chance) |Fires after mud boots or finishes copyover | | + | |boot|none|none|number(%chance)|Fires after mud boots or finishes copyover| |
- | |shutdown |none |none |number(%chance) |Fires before mud shutdown/ | + | |shutdown|none|none|number(%chance)|Fires before mud shutdown/ |
- | |connect |connecter |none |number(%chance) |Fires when player connects in the area. Does not fire on reconnect. | | + | |connect|connecter|none|number(%chance)|Fires when player connects in the area. Does not fire on reconnect.| |
- | |quit |quitter |none |number(%chance) |Fires when player quits in the area | | + | |quit|quitter|none|number(%chance)|Fires when player quits in the area| |
- | |void |voider |none |number(%chance) |Fires when player voids in the area | | + | |void|voider|none|number(%chance)|Fires when player voids in the area| |
- | |unvoid |unvoider |none |number(%chance) |Fires immediately after player | + | |unvoid|unvoider|none|number(%chance)|Fires immediately after player |
- | |death |dier |none |number(%chance) |Fires when player dies in the area. | | + | |death|dier|none|number(%chance)|Fires when player dies in the area. Fires before players location changes.| |
- | |[[: | + | |< |
+ | |postreset|none|none|number(%chance)|Fires directly after the area resets.| | ||
+ | |[[: | ||
- | |(< | + | |(< |
When recalling, order of trigger processing is: rexit then exit then recall | When recalling, order of trigger processing is: rexit then exit then recall | ||
\\ | \\ | ||
+ | |||
triggers/aprog.1423513506.txt.gz · Last modified: 2015/02/09 20:25 by vodur