Difference between revisions of "ActivateCommand"
Jump to navigation
Jump to search
(Created page with "'''Command:''' Activate '''Default Security Level:''' 0 '''Syntax:''' /activate ClientVersion The Activate command sends a player to the front lines to engage in combat. ...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
The Activate command sends a player to the front lines to engage in combat. | The Activate command sends a player to the front lines to engage in combat. | ||
− | Upon receiving an Activate command from a player, the server checks the player's client version to make sure it is compatible and the player isn't already active or fighting. If the client passes this test, the player's armies are checked for validity, and units are checked for ongoing repairs, damage that disqualifies them from front-line duty, or unmaintained status. Hangars are checked for negative bays, and armies are checked to ensure they qualify to launch attacks. If all these tests pass, the player's [[ | + | Upon receiving an Activate command from a player, the server checks the player's client version to make sure it is compatible and the player isn't already active or fighting. If the client passes this test, the player's armies are checked for validity, and units are checked for ongoing repairs, damage that disqualifies them from front-line duty, or unmaintained status. Hangars are checked for negative bays, and armies are checked to ensure they qualify to launch attacks. If all these tests pass, the player's [[Constants | status]] is set to STATUS_ACTIVE and the player heads to the front lines. |
+ | |||
<hr> | <hr> | ||
[[MW_Commands | Commands]] | [[MW_Commands | Commands]] |
Latest revision as of 06:49, 22 February 2017
Command: Activate
Default Security Level: 0
Syntax: /activate ClientVersion
The Activate command sends a player to the front lines to engage in combat.
Upon receiving an Activate command from a player, the server checks the player's client version to make sure it is compatible and the player isn't already active or fighting. If the client passes this test, the player's armies are checked for validity, and units are checked for ongoing repairs, damage that disqualifies them from front-line duty, or unmaintained status. Hangars are checked for negative bays, and armies are checked to ensure they qualify to launch attacks. If all these tests pass, the player's status is set to STATUS_ACTIVE and the player heads to the front lines.