Zippy-Egoboo Home EgoWiki > Documentation > MakingZippyObjects > ZippyCharacters > ZippyLatches EgoWiki webs:
Main | TWiki | Know | Sandbox
Documentation . { Changes | Index | Search | Go }
Latches are virtual buttons for characters. When a player pushes a physical button or key, or moves the mouse, his character has the corresponding latch set. In the same way, scripts for non-player characters may manipulate latches with the set_latch method (see ZippyCharacters). The following latches are defined as global constants:

LATCH_LEFT
The left-hand attack/use latch.
LATCH_RIGHT
The right-hand attack/use latch.
LATCH_ALTLEFT
The left-hand drop/pickup latch.
LATCH_ALTRIGHT
The right-hand drop/pickup latch.
LATCH_PACKLEFT
The left-hand inventory latch.
LATCH_PACKRIGHT
The right-hand inventory latch.
LATCH_RESPAWN
The "restart" latch (causes a dead character to be respawned at its starting point).
LATCH_MOTION
The "virtual joystick" of the character, specifying its heading (but not necessarily its direction).

-- ElminI - 16 Mar 2004

Topic ZippyLatches . { Edit | Attach | Ref-By | Printable | Diffs | r1.1 | More }
Revision r1.1 - 16 Mar 2004 - 05:44 GMT - ElminI
Parents: WebHome > MakingZippyObjects > ZippyCharacters
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding EgoWiki? Send feedback.