ALPHA version - expect chaos
List of all gear messages.
Updated Wed, 15 Nov 2017 17:08:55 -0500 by nemo

This is a list of gear messages. Gear messages are used to e.g. control hedgehogs.

List of gear messages

Identifier Meaning Parameter
gmLeft Walk left Not used.
gmRight Walk right Not used.
gmUp Aim up Not used.
gmDown Aim down Not used.
gmSwitch Switch hedgehog Not used.
gmLJump Long jump Not used.
gmHJump High jump Not used.
gmDestroy Request gear kill itself Not used.
gmSlot Weapons slot selected. Used.
gmWeapon Weapon seleced. Used.
gmTimer Timer set. Used.
gmAnimate Start animation Used.
gmPrecise Precise Not used.
gmRemoveFromList Remove from gear list Not used.
gmAddToList Insert in gear list Not used.
gmDelete Delete gear Not used.
gmAllStoppable Bitwise OR of gmLeft , gmRight , gmUp , gmDown gmAttack and gmPrecise Not used.

gmAddToList and gmRemoveFromList are intended for use by the engine when changing order of gears in the list. It is not recommended that lua change these, and at present they are used together when changing a gear's Z. For example, if lua set gmRemoveFromList, it would cause a leak of the gear, since lua would no longer be able to restore it. Setting both together would have no effect since lua cannot at present change Z.

See (search for "gear messages") for a current list.