Creation/Dev/Clientside: Difference between revisions
From Graal Bible
Pooper200000 (talk | contribs) No edit summary |
|||
Line 1: | Line 1: | ||
[[Category:Scripting Reference]] | |||
'''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. | '''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 [[Creation/Dev/GScript|GScript]], the most commonly-used command for script interaction between the client and server is [[Creation/Dev/Old_GScript:triggeraction|triggeraction]]. | In [[Creation/Dev/GScript|GScript]], the most commonly-used command for script interaction between the client and server is [[Creation/Dev/Old_GScript:triggeraction|triggeraction]]. |
Revision as of 22:19, 11 September 2009
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.