movable

Vars | |
blocks_emissive | Either FALSE, [EMISSIVE_BLOCK_GENERIC], or EMISSIVE_BLOCK_UNIQUE |
---|---|
em_block | Internal holder for emissive blocker object, do not use directly use blocks_emissive |
face_while_pulling | Face towards the atom while pulling it |
orbiting_uid | UID for the atom which the current atom is orbiting |
Procs | |
admin_Freeze | Created here as a base proc. Override as needed for any type of object or mob you want able to be frozen. |
orbit | Set an atom to orbit around another one. This atom will follow the base atom's movement and rotate around it. |
stop_orbit | Stop this atom from orbiting whatever it's orbiting. |
Var Details
blocks_emissive

Either FALSE, [EMISSIVE_BLOCK_GENERIC], or EMISSIVE_BLOCK_UNIQUE
em_block

Internal holder for emissive blocker object, do not use directly use blocks_emissive
face_while_pulling

Face towards the atom while pulling it
orbiting_uid

UID for the atom which the current atom is orbiting
Proc Details
admin_Freeze
Created here as a base proc. Override as needed for any type of object or mob you want able to be frozen.
orbit
Set an atom to orbit around another one. This atom will follow the base atom's movement and rotate around it.
orbiter: atom which will be doing the orbiting radius: range to orbit at, radius of the circle formed by orbiting clockwise: whether you orbit clockwise or anti clockwise rotation_speed: how fast to rotate rotation_segments: the resolution of the orbit circle, less = a more block circle, this can be used to produce hexagons (6 segments) triangles (3 segments), and so on, 36 is the best default. pre_rotation: Chooses to rotate src 90 degress towards the orbit dir (clockwise/anticlockwise), useful for things to go "head first" like ghosts lock_in_orbit: Forces src to always be on A's turf, otherwise the orbit cancels when src gets too far away (eg: ghosts) force_move: If true, ghosts will be ForceMoved instead of having their .loc updated directly. orbit_layer: layer that the orbiter should be on. The original layer will be restored on orbit end.
stop_orbit
Stop this atom from orbiting whatever it's orbiting.