Creation/Dev/Clientside

From Graal Bible
Revision as of 06:36, 1 July 2007 by Stefan (talk | contribs) (Reverted edits by Anti-up (Talk); changed back to last version by Rick)

Clientside scripts are sent by the server to individual players' clients to be executed. Clientside scripts typically handle simple, insecure tasks, such as drawing visuals and playing sounds. They are easily manipulated by cheating tools, so critical tasks are usually reserved for serverside scripts. However, they are faster and generally produce less lag than their serverside counterparts, as clientside data is (with a few exceptions) not sent to other players.

In GScript, the most commonly-used command for script interaction between the client and server is triggeraction.