scope
Vars | |
range_modifier | How far we can extend, with modifier of 1, up to our vision edge, higher numbers multiply. |
---|---|
tracker | Fullscreen object we use for tracking the shots. |
tracker_owner_ckey | The owner of the tracker's ckey. For comparing with the current owner mob, in case the client has left it (e.g. ghosted). |
zooming | Are we zooming currently? |
Procs | |
get_target | We find and return the best target to hit on a given turf. |
start_zooming | Wrapper for zoom(), so in case we runtime we do not get stuck in a bad state |
stop_zooming | We stop zooming, canceling processing, resetting stuff back to normal and deleting our tracker. |
zoom | We start zooming by hiding the mouse pointer, adding our tracker overlay and starting our processing. |
Var Details
range_modifier
How far we can extend, with modifier of 1, up to our vision edge, higher numbers multiply.
tracker
Fullscreen object we use for tracking the shots.
tracker_owner_ckey
The owner of the tracker's ckey. For comparing with the current owner mob, in case the client has left it (e.g. ghosted).
zooming
Are we zooming currently?
Proc Details
get_target
We find and return the best target to hit on a given turf.
Arguments:
- target_turf: The turf we are looking for targets on.
start_zooming
Wrapper for zoom(), so in case we runtime we do not get stuck in a bad state
Arguments:
- user: The mob we are starting zooming on.
stop_zooming
We stop zooming, canceling processing, resetting stuff back to normal and deleting our tracker.
Arguments:
- user: The mob we are canceling zooming on.
zoom
We start zooming by hiding the mouse pointer, adding our tracker overlay and starting our processing.
Arguments:
- user: The mob we are starting zooming on.