augury
Vars | |
follow_target | The atom being followed |
---|---|
followers | The atoms following it |
next_targets | Queue of next atoms to follow |
thing_followed | Title for the thing that will be followed. |
time_between_switches | After a followed item is qdeleted, wait this long before switching to the next target, allowing you to see aftermath. |
Procs | |
Initialize | Create a new augury alert. |
change_targets | Change the atom that everyone is currently following, moving everyone to the new object. |
on_following_qdel | Executed when the parent is deleted. Don't immediately kill ourselves, since it's possible that we might want to move somewhere else (for example, after a meteor strike) |
remove_follower_on_stop_orbit | Called when someone stops orbiting our followed object, so they can actually get out of the loop. |
Var Details
follow_target
The atom being followed
followers
The atoms following it
next_targets
Queue of next atoms to follow
thing_followed
Title for the thing that will be followed.
time_between_switches
After a followed item is qdeleted, wait this long before switching to the next target, allowing you to see aftermath.
Proc Details
Initialize
Create a new augury alert.
Arguments:
- follow_target: The atom to start out following. Can be null, in which case change_targets() should be used at some point.
- alert_overlay_override: If follow_target is provided (or not), use this for the alert image.
change_targets
Change the atom that everyone is currently following, moving everyone to the new object.
Arguments:
- next_to - The next atom to follow.
on_following_qdel
Executed when the parent is deleted. Don't immediately kill ourselves, since it's possible that we might want to move somewhere else (for example, after a meteor strike)
remove_follower_on_stop_orbit
Called when someone stops orbiting our followed object, so they can actually get out of the loop.