hook_and_move

Lightweight datum that just handles moving a target for the hook. For the love of God, do not use this outside this file.
Vars | |
destination_ref | Weakref of the destination that the victim is heading towards. |
---|---|
firer_ref | Weakref to the firer of the hook |
firer_ref_string | String to the REF() of the dude that fired us so we can ensure we always cleanup our traits |
knockdown_time | How long we knockdown the victim for. |
last_movement | The last time our movement fired. |
prevent_movement_traits | List of traits that prevent the user from moving. More restrictive than attempting to fire the hook by design. |
return_chain | The chain beam we currently own. |
steps_per_tick | How many steps we force the victim to take per tick |
victim_ref | Weakref to the victim we are dragging |
Procs | |
attempt_movement | Attempts to move the victim towards the destination. Returns TRUE if we do a successful movement, FALSE otherwise. second_attempt is a boolean to prevent infinite recursion. If this whole series of events wasn't reliant on SSfastprocess firing as fast as it does, it would have been more useful to make this a move loop datum. But, we need the speed. |
begin_pulling | Uses fastprocessing to move our victim to the destination at a rather fast speed. |
end_movement | Cancels processing and removes the trait from the victim. |
Var Details
destination_ref

Weakref of the destination that the victim is heading towards.
firer_ref

Weakref to the firer of the hook
firer_ref_string

String to the REF() of the dude that fired us so we can ensure we always cleanup our traits
knockdown_time

How long we knockdown the victim for.
last_movement

The last time our movement fired.
prevent_movement_traits

List of traits that prevent the user from moving. More restrictive than attempting to fire the hook by design.
return_chain

The chain beam we currently own.
steps_per_tick

How many steps we force the victim to take per tick
victim_ref

Weakref to the victim we are dragging
Proc Details
attempt_movement
Attempts to move the victim towards the destination. Returns TRUE if we do a successful movement, FALSE otherwise. second_attempt is a boolean to prevent infinite recursion. If this whole series of events wasn't reliant on SSfastprocess firing as fast as it does, it would have been more useful to make this a move loop datum. But, we need the speed.
begin_pulling
Uses fastprocessing to move our victim to the destination at a rather fast speed.
end_movement
Cancels processing and removes the trait from the victim.