Modify the action of a unit or group of units
1 | modify_unit(game, .p, .u, .a, .l = NULL)
|
game |
The game to modify the unit(s) in |
.p |
The player who owns the unit(s) |
.u |
Either a character vector of unit names to modify, a vector of unit_id's , or a scalar of a map loc, in which case all units in that loc will be modified. |
.a |
Action to assign to units |
.l |
Location to move units to (if NULL, assumed to be same as where they are) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.