On crane - EDukeWiki

# On crane

From EDukeWiki

on_crane is a member of the player struct.

This value is -1 if player hasn't been grabbed by a crane and is otherwise a value greater than or equal to 0, corresponding to the sprite ID of the crane. Setting on_crane to anything greater than or equal to 0 will lock the player's movement as if a crane had picked them up.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=On_crane&oldid=8339"
Category:

- Player structure members