triggers:aprog
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
triggers:aprog [2014/12/24 04:04] – 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. | ||
- | ^Argument ^Type ^Note | | + | ^Script |
- | |area |[[: | + | |ch1|[[: |
- | |ch1 |[[: | + | |trigger|string|see table| |
- | |trigger |string |see table | | + | |trigtype|string|see table| |
- | |trigtype |string |see table | | + | |
- | ^trigtype | + | The actual area to which the script is attached can be referenced in the script through ' |
- | |enter | + | |
- | |< | + | ^trigtype^ch1^trigger^Phrase type^Description| |
- | |renter | + | |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. \\ See [[: |
- | |boot |area |none |none |number(%chance) |Fires after mud boots or finishes copyover | | + | |< |
- | |shutdown | + | |< |
- | |quit |area |quitter |none |number(%chance) |Fires when player quits in the area | | + | |boot|none|none|number(%chance)|Fires after mud boots or finishes copyover| |
- | |void |area |voider |none |number(%chance) |Fires when player voids in the area | | + | |shutdown|none|none|number(%chance)|Fires before mud shutdown/ |
- | |unvoid | + | |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| |
- | |(< | + | |void|voider|none|number(%chance)|Fires when player voids in the area| |
+ | |unvoid|unvoider|none|number(%chance)|Fires immediately after player is returned to area from the void| | ||
+ | |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.1419393883.txt.gz · Last modified: 2014/12/24 04:04 by vodur