setCaptive – Talk
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Where do you need to execute this command in multiplayer? Where the unit is local or on all machines (or something else)? | Where do you need to execute this command in multiplayer? Where the unit is local or on all machines (or something else)? | ||
:Command should be executed where the unit is local. --[[User:Master85|Master85]] 00:06, 11 April 2010 (CEST) | :Command should be executed where the unit is local. --[[User:Master85|Master85]] 00:06, 11 April 2010 (CEST) | ||
Simple test: In the player unit's init line type '''if (!isServer) then {this setCaptive true;};''' and enemies will still shoot at you on a dedicated server even though you are the unit and thus it should be local to you when the command is run on your machine. So either my test is messed up or the above is incorrect. |
Revision as of 17:32, 24 August 2010
Where do you need to execute this command in multiplayer? Where the unit is local or on all machines (or something else)?
- Command should be executed where the unit is local. --Master85 00:06, 11 April 2010 (CEST)
Simple test: In the player unit's init line type if (!isServer) then {this setCaptive true;}; and enemies will still shoot at you on a dedicated server even though you are the unit and thus it should be local to you when the command is run on your machine. So either my test is messed up or the above is incorrect.