modify_unit: Modify the action of a unit or group of units

Description Usage Arguments

View source: R/modify-unit.R

Description

Modify the action of a unit or group of units

Usage

1
modify_unit(game, .p, .u, .a, .l = NULL)

Arguments

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)


seth127/MundusCentrum documentation built on Dec. 23, 2021, 12:20 a.m.