advanced
Movable and easily code-modified fields! Allows for custom AOE effects that affect movement and anything inside of them, and can do custom turf effects! Supports automatic recalculation/reset on movement.
"What do I gain from using advanced over standard prox monitors?"
- You can set different effects on edge vs field entrance
- You can set effects when the proximity monitor starts and stops tracking a turf
Vars | |
edge_is_a_field | If TRUE, edge turfs will be included as "in the field" for effects Can be used in certain situations where you may have effects that trigger only at the edge, while also wanting the field effect to trigger at edge turfs as well |
---|---|
edge_turfs | All turfs on the very last tile of the proximity monitor's radius |
field_turfs | All turfs on the inside of the proximity monitor - range - 1 turfs |
Procs | |
cleanup_edge_turf | Called when a turf in the edge of the monitor is unlinked Do NOT call this manually, requires management of the edge_turfs list |
cleanup_field_turf | Called when a turf in the field of the monitor is unlinked Do NOT call this manually, requires management of the field_turfs list |
setup_edge_turf | Called when a turf in the edge of the monitor is linked |
setup_field_turf | Called when a turf in the field of the monitor is linked |
Var Details
edge_is_a_field
If TRUE, edge turfs will be included as "in the field" for effects Can be used in certain situations where you may have effects that trigger only at the edge, while also wanting the field effect to trigger at edge turfs as well
edge_turfs
All turfs on the very last tile of the proximity monitor's radius
field_turfs
All turfs on the inside of the proximity monitor - range - 1 turfs
Proc Details
cleanup_edge_turf
Called when a turf in the edge of the monitor is unlinked Do NOT call this manually, requires management of the edge_turfs list
cleanup_field_turf
Called when a turf in the field of the monitor is unlinked Do NOT call this manually, requires management of the field_turfs list
setup_edge_turf
Called when a turf in the edge of the monitor is linked
setup_field_turf
Called when a turf in the field of the monitor is linked