![]() commands arguments and effects can be either local or global:Ī local argument means an argument that is processed on the machine where the command is executedĪ global argument means any argument, even a remote oneĪ local effect means that the effect will only happen on the machine where the command is executedĪ global effect means that all the computers will receive it.to check if an argument is remote, simply use not local _myObject.All player-controlled soldiers are remote units to a dedicated server, for example. REMOTE means non local - on another machine.to check if an argument is local, use the local command.LOCAL is an attribute for the machine where the command/script/function is executed or the AI calculated.The other way around, some Singleplayer commands do not work in Multiplayer (e.g setAccTime). Some Multiplayer commands do not work in Singleplayer, such as netId! This page aims to explain notions and specificities of Multiplayer Scripting and its differences with Singleplayer Scripting. ![]() ![]() 1.2.3 General information about locality.1.2.2 Different machines and how to target them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |