Creation/Dev/Clientside

From Graal Bible
Revision as of 23:19, 11 September 2009 by Pooper200000 (talk | contribs)

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.