Zippy-Egoboo Home EgoWiki > Documentation > MakingZippyObjects > ZippyGlobals EgoWiki webs:
Main | TWiki | Know | Sandbox
Documentation . { Changes | Index | Search | Go }

Predefined Globals

Zippy defines a number of global variables for scripts to use. Some of these are functions; the rest are "constants". Note that constants may be modified, but this can only have undesirable consequences. Functions, similarly, may be redefined, but you shouldn't do that either unless you know the engine backwards and forwards. YOU HAVE BEEN WARNED.

Also note that this is not a complete listing; other constants of limited use are mentioned in conjunction with the functions they are used with.

Global Functions

get_latch_name(latch)

See ZippyLatches for valid "latch" values. Returns a string containing the name of the latch.

message(string)

Displays a message on the screen for all players. The message will stay on the screen for a short period of time.

Global "Constants"

GRIP_LEFT and GRIP_RIGHT

These represent the left grip and right grip for functions that require that ask for a grip. See HowToMakeGrips for details.

ACTION??

Where "??" is a two-letter animation code, this constant represents that animation. See ModelS#FrameNames for details.

-- ElminI - 07 Oct 2004

Topic ZippyGlobals . { Edit | Attach | Ref-By | Printable | Diffs | r1.2 | > | r1.1 | More }
Revision r1.2 - 07 Oct 2004 - 21:45 GMT - ElminI
Parents: WebHome > MakingZippyObjects
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.