Creation/Dev/Clientside: Difference between revisions
From Graal Bible
mNo edit summary |
m (oops) |
||
Line 1: | Line 1: | ||
'''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 02:49, 20 January 2006
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.