code/__HELPERS/visual_effects.dm 
SET_BASE_PIXEL | Use this to set the base and ACTUAL pixel offsets of an object at the same time You should always use this for pixel setting in typepaths, unless you want the map display to look different from in game |
---|---|
DO_FLOATING_ANIM | Causes the passed atom / image to appear floating, playing a simple animation where they move up and down by 2 pixels (looping) |
STOP_FLOATING_ANIM | Stops the passed atom / image from appearing floating (Living mobs also have a 'body_position_pixel_y_offset' variable that has to be taken into account here) |
UPDATE_TRANSFORM_ANIMATION_TIME | The duration of the animate call in mob/living/update_transform |
Define Details
DO_FLOATING_ANIM 
Causes the passed atom / image to appear floating, playing a simple animation where they move up and down by 2 pixels (looping)
In most cases you should NOT call this manually, instead use /datum/element/movetype_handler! This is just so you can apply the animation to things which can be animated but are not movables (like images)
SET_BASE_PIXEL 
Use this to set the base and ACTUAL pixel offsets of an object at the same time You should always use this for pixel setting in typepaths, unless you want the map display to look different from in game
STOP_FLOATING_ANIM 
Stops the passed atom / image from appearing floating (Living mobs also have a 'body_position_pixel_y_offset' variable that has to be taken into account here)
In most cases you should NOT call this manually, instead use /datum/element/movetype_handler! This is just so you can apply the animation to things which can be animated but are not movables (like images)
UPDATE_TRANSFORM_ANIMATION_TIME 
The duration of the animate call in mob/living/update_transform