cursor_catcher

An effect which tracks the cursor's location on the screen
Vars | |
given_turf | The turf we send to the scope component. |
---|---|
given_x | Pixel x we send to the scope component. |
given_y | Pixel y we send to the scope component. |
mouse_params | Mouse parameters, for calculation. |
owner | The mob whose cursor we are tracking. |
view_list | Client view size of the scoping mob. |
Procs | |
assign_to_mob | Links this up with a mob |
on_move | Update when the mob we're assigned to has moved |
on_viewdata_update | Update when our screen size changes |
Var Details
given_turf

The turf we send to the scope component.
given_x

Pixel x we send to the scope component.
given_y

Pixel y we send to the scope component.
mouse_params

Mouse parameters, for calculation.
owner

The mob whose cursor we are tracking.
view_list

Client view size of the scoping mob.
Proc Details
assign_to_mob
Links this up with a mob
on_move
Update when the mob we're assigned to has moved
on_viewdata_update
Update when our screen size changes