Difference between revisions of "Sync let"
From Unofficial QEdit Wiki Guide
Japanaman2 (Talk | contribs) |
Japanaman2 (Talk | contribs) |
||
Line 7: | Line 7: | ||
==Use== | ==Use== | ||
Used to copy registers 2's value to register 1. | Used to copy registers 2's value to register 1. | ||
+ | |||
Then synchronize the value of register 1 to all clients. | Then synchronize the value of register 1 to all clients. | ||
+ | |||
(To synchronize a register's value between all clients using Integers see [[sync_leti]].) | (To synchronize a register's value between all clients using Integers see [[sync_leti]].) | ||
+ | |||
+ | (For versions other then dreamcast use [[sync_register]].) | ||
==Example== | ==Example== |
Latest revision as of 23:27, 17 February 2013
Contents
Syntax
Syntax: sync_let register 1, register 2
- register1 = Register to use.
- register2 = Register to copy to register 1.
Use
Used to copy registers 2's value to register 1.
Then synchronize the value of register 1 to all clients.
(To synchronize a register's value between all clients using Integers see sync_leti.)
(For versions other then dreamcast use sync_register.)
Example
100: leti R1, 00000000 //R1=0
leti R2, 00000001 //R2=1
sync_let R1, R2 //Tells all clients that R1 now equals register R2's value (R1=1)
ret
Also see
let, leti, sync_leti, sync_register, ret