Skip to content

Cursor action

INI referenceEnumsActionType

Named cursor and click actions accepted by action-valued INI settings.

Engine enum
ActionType
Input form
Named token

These are the actions a left click on the map can carry. The action under the cursor picks the mouse shape and decides what a click does. The trigger actions that a map’s triggers run are a separate list.

A SuperWeaponType’s Action is the only rules setting that takes one of these names, matched without regard to case. It decides whether clicking the weapon’s charged cameo fires the weapon at once or starts targeting, and which action a click on the map must carry to fire it. The key page covers both, including what happens when two weapons name the same action.

A superweapon that names one of the DontUse actions shows the ordinary arrow as its targeting cursor, and a click on the map fires it.

Values

53 of 53

InputMeaningEngine constantStored value
NoneNo available action.ACTION_NONE0
MoveMove to the cell under the cursor.ACTION_MOVE1
NoMoveMovement to the cell under the cursor is not allowed.ACTION_NOMOVE2
EnterEnter the transport, facility, or building under the cursor.ACTION_ENTER3
SelfAct on the selected object itself.ACTION_SELF4
AttackAttack the target under the cursor.ACTION_ATTACK5
HarvestHarvest the resource cell under the cursor.ACTION_HARVEST6
SelectReplace the current selection.ACTION_SELECT7
ToggleSelectToggle the target's selection state.ACTION_TOGGLE_SELECT8
CaptureCapture the building or vehicle under the cursor.ACTION_CAPTURE9
RepairRepair the object under the cursor.ACTION_REPAIR10
SellSell the structure or wall under the cursor.ACTION_SELL11
SellUnitSell the vehicle or aircraft under the cursor.ACTION_SELL_UNIT12
NoSellIndicate that selling is unavailable.ACTION_NO_SELL13
NoRepairIndicate that repair is unavailable.ACTION_NO_REPAIR14
SabotageEnter and sabotage the object under the cursor.ACTION_SABOTAGE15
ToteSend an empty carryall to pick up the allied vehicle under the cursor.ACTION_TOTE16
DontUse2Legacy parachute-infantry action.No ordinary order produces this action; only a superweapon can use it.ACTION_PARA_INFANTRY17
DontUse3Legacy parachute-saboteur action.No ordinary order produces this action; only a superweapon can use it.ACTION_PARA_SABOTEUR18
NukeTarget a nuclear or multi-missile strike.ACTION_NUKE_BOMB19
DontUse4Legacy air-strike action.No ordinary order produces this action; only a superweapon can use it.ACTION_AIR_STRIKE20
DontUse5Legacy chronosphere source action.No ordinary order produces this action; only a superweapon can use it.ACTION_CHRONOSPHERE21
DontUse6Legacy chronosphere destination action.No ordinary order produces this action; only a superweapon can use it.ACTION_CHRONO222
DontUse7Legacy invulnerability action.No ordinary order produces this action; only a superweapon can use it.ACTION_IRON_CURTAIN23
DontUse8Legacy reconnaissance action.No ordinary order produces this action; only a superweapon can use it.ACTION_SPY_MISSION24
GuardAreaGuard the location or object under the cursor.ACTION_GUARD_AREA25
HealHeal the damaged allied infantry under the cursor.ACTION_HEAL26
DamageEnter and damage the building under the cursor.ACTION_DAMAGE27
GRepairRepair the damaged ally under the cursor, or repair a bridge through its repair hut.ACTION_GREPAIR28
NoDeployIndicate that deployment is unavailable.ACTION_NO_DEPLOY29
NoEnterIndicate that entry is unavailable.ACTION_NO_ENTER30
NoGRepairIndicate that the allied building under the cursor needs no repair, or that a repair hut's bridge cannot be repaired.ACTION_NO_GREPAIR31
TogglePowerToggle a building's power state.ACTION_TOGGLE_POWER32
NoTogglePowerIndicate that power toggling is unavailable.ACTION_NO_TOGGLE_POWER33
EnterTunnelEnter a tunnel.ACTION_ENTER_TUNNEL34
NoEnterTunnelIndicate that tunnel entry is unavailable.ACTION_NO_ENTER_TUNNEL35
EMPulseTarget an EMPulse superweapon.ACTION_EMPULSE36
IonCannonTarget an ion-cannon strike.ACTION_ION_CANNON37
EMPulseRangeRefuse the target: the player has no powered EM pulse cannon, or the nearest one cannot reach the target.ACTION_EMPULSE_RANGE38
ChemBombTarget a chemical missile strike.ACTION_CHEM_BOMB39
PlaceWaypointPlace a waypoint.ACTION_PLACE_WAYPOINT40
NoPlaceWaypointIndicate that a waypoint cannot be placed.ACTION_NO_PLACE_WAYPOINT41
EnterWaypointModeEnter waypoint planning mode.ACTION_ENTER_WAYPOINT_MODE42
FollowWaypointCursor for a move order given over one of the player's waypoints.ACTION_FOLLOW_WAYPOINT43
SelectWaypointSelect the path of the waypoint under the cursor and pick that waypoint up to drag it.ACTION_SELECT_WAYPOINT44
LoopWaypointPathLoop the selected path back to the waypoint under the cursor.ACTION_LOOP_WAYPOINT_PATH45
DragWaypointDrag an existing waypoint.ACTION_DRAG_WAYPOINT46
AttackWaypointCursor for an attack or harvest order given over one of the player's waypoints.ACTION_ATTACK_WAYPOINT47
EnterWaypointCursor for an enter or capture order given over one of the player's waypoints.ACTION_ENTER_WAYPOINT48
PatrolWaypointPatrol a waypoint path.ACTION_PATROL_WAYPOINT49
DropPodTarget a drop-pod delivery.ACTION_DROP_POD50
Rally To PointSet a rally point.ACTION_RALLY_TO_POINT51
Attack SupportPut an object whose first weapon slot has negative damage on Guard Area, and any other object on Guard.ACTION_ATTACK_SUPPORT52

Used by

Source files

Linked at revision 51b52aa38392.