-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Augment event system to allow firing events
- Loading branch information
1 parent
d434e54
commit 5156881
Showing
11 changed files
with
311 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!-- markdownlint-disable MD041 --> | ||
## Events | ||
|
||
- `Evac:BeaconDead` | ||
- `details` - the beacon details table used internally | ||
- Fired when a beacon dies and gets removed from the map | ||
|
||
- `Evac:BeaconSpawn` | ||
- `details` - the beacon details table used internally | ||
- `zone` - The zone the beacon was spawned into | ||
- Fired when a beacon spawns and gets added to the map | ||
|
||
- `Evac:Loss` | ||
- `side` - The numeric ID of the coalition that lost | ||
- Fired when any side loses too many evacuees | ||
|
||
- `Evac:Spawned` | ||
- `units` - The number of evacuees spawned | ||
- `zone` - The zone in which evacuees were spawned | ||
- Fired when evacuees spawn into the map | ||
|
||
- `Evac:UnitLoaded` | ||
- `number` - The number of evacuees loaded | ||
- `unit` - The unit that did the loading | ||
- `zone` - The zone the evacuees were picked up from | ||
- Fired when evacuees are finished loading onto an evacuation unit | ||
|
||
- `Evac:UnitUnloaded` | ||
- `number` - The number of evacuees unloaded | ||
- `unit` - The unit that did the unloading | ||
- `zone` - The zone the evacuees were dropped off | ||
- Fired when evacuees are finished unloading from an evacuation unit | ||
|
||
- `Evac:Win` | ||
- `side` - The numeric ID of the coalition that won | ||
- Fired when any side rescues enough evacuees | ||
|
||
- `Evac:ZoneActive` | ||
- `mode` - The Evac.modes integer dictating how evacuees should be handled in the zone | ||
- `zone` - The affected zone | ||
- Fired when a zone goes active | ||
|
||
- `Evac:ZoneAdd` | ||
- `mode` - The Evac.modes integer dictating how evacuees should be handled in the zone | ||
- `zone` - The affected zone | ||
- Fired when a zone is added to Evac | ||
|
||
- `Evac:ZoneInactive` | ||
- `mode` - The Evac.modes integer dictating how evacuees should be handled in the zone | ||
- `zone` - The affected zone | ||
- Fired when a zone goes inactive | ||
|
||
- `Evac:ZoneRemove` | ||
- `mode` - The Evac.modes integer dictating how evacuees should be handled in the zone | ||
- `zone` - The affected zone | ||
- Fired when a zone is removed from Evac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- markdownlint-disable MD041 --> | ||
## Events | ||
|
||
- `Urgency:CountdownEnd` | ||
- `name` - The name of the countdown that just ended | ||
- Fired when a countdown ends | ||
|
||
- `Urgency:CountdownStart` | ||
- `name` - The name of the countdown that just started | ||
- Fired when a countdown begins | ||
|
||
- `Urgency:CountdownsReset` | ||
- Fired when an admin pilot resets all active countdowns to pending | ||
|
||
- `Urgency:CountdownsRestored` | ||
- Fired when an admin pilot restores all countdowns so they will start over |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- markdownlint-disable MD041 --> | ||
## Events | ||
|
||
- `Waves:GroupSpawn` | ||
- `wave` - The name of the wave that is spawning groups | ||
- `group` - The name of the group that spawned in this wave | ||
- Fired when a group is spawned as part of a wave | ||
|
||
- `Waves:Paused` | ||
- Fired when an admin pilot pauses all pending waves | ||
|
||
- `Waves:Resumed` | ||
- Fired when an admin pilot resumes all pending waves | ||
|
||
- `Waves:WaveSpawn` | ||
- `wave` - The name of the wave that spawned | ||
- Fired when a wave is fully spawned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.