Cursor action
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
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
None | No available action. | ACTION_NONE | 0 |
Move | Move to the cell under the cursor. | ACTION_MOVE | 1 |
NoMove | Movement to the cell under the cursor is not allowed. | ACTION_NOMOVE | 2 |
Enter | Enter the transport, facility, or building under the cursor. | ACTION_ENTER | 3 |
Self | Act on the selected object itself. | ACTION_SELF | 4 |
Attack | Attack the target under the cursor. | ACTION_ATTACK | 5 |
Harvest | Harvest the resource cell under the cursor. | ACTION_HARVEST | 6 |
Select | Replace the current selection. | ACTION_SELECT | 7 |
ToggleSelect | Toggle the target's selection state. | ACTION_TOGGLE_SELECT | 8 |
Capture | Capture the building or vehicle under the cursor. | ACTION_CAPTURE | 9 |
Repair | Repair the object under the cursor. | ACTION_REPAIR | 10 |
Sell | Sell the structure or wall under the cursor. | ACTION_SELL | 11 |
SellUnit | Sell the vehicle or aircraft under the cursor. | ACTION_SELL_UNIT | 12 |
NoSell | Indicate that selling is unavailable. | ACTION_NO_SELL | 13 |
NoRepair | Indicate that repair is unavailable. | ACTION_NO_REPAIR | 14 |
Sabotage | Enter and sabotage the object under the cursor. | ACTION_SABOTAGE | 15 |
Tote | Send an empty carryall to pick up the allied vehicle under the cursor. | ACTION_TOTE | 16 |
DontUse2 | Legacy parachute-infantry action.No ordinary order produces this action; only a superweapon can use it. | ACTION_PARA_INFANTRY | 17 |
DontUse3 | Legacy parachute-saboteur action.No ordinary order produces this action; only a superweapon can use it. | ACTION_PARA_SABOTEUR | 18 |
Nuke | Target a nuclear or multi-missile strike. | ACTION_NUKE_BOMB | 19 |
DontUse4 | Legacy air-strike action.No ordinary order produces this action; only a superweapon can use it. | ACTION_AIR_STRIKE | 20 |
DontUse5 | Legacy chronosphere source action.No ordinary order produces this action; only a superweapon can use it. | ACTION_CHRONOSPHERE | 21 |
DontUse6 | Legacy chronosphere destination action.No ordinary order produces this action; only a superweapon can use it. | ACTION_CHRONO2 | 22 |
DontUse7 | Legacy invulnerability action.No ordinary order produces this action; only a superweapon can use it. | ACTION_IRON_CURTAIN | 23 |
DontUse8 | Legacy reconnaissance action.No ordinary order produces this action; only a superweapon can use it. | ACTION_SPY_MISSION | 24 |
GuardArea | Guard the location or object under the cursor. | ACTION_GUARD_AREA | 25 |
Heal | Heal the damaged allied infantry under the cursor. | ACTION_HEAL | 26 |
Damage | Enter and damage the building under the cursor. | ACTION_DAMAGE | 27 |
GRepair | Repair the damaged ally under the cursor, or repair a bridge through its repair hut. | ACTION_GREPAIR | 28 |
NoDeploy | Indicate that deployment is unavailable. | ACTION_NO_DEPLOY | 29 |
NoEnter | Indicate that entry is unavailable. | ACTION_NO_ENTER | 30 |
NoGRepair | Indicate that the allied building under the cursor needs no repair, or that a repair hut's bridge cannot be repaired. | ACTION_NO_GREPAIR | 31 |
TogglePower | Toggle a building's power state. | ACTION_TOGGLE_POWER | 32 |
NoTogglePower | Indicate that power toggling is unavailable. | ACTION_NO_TOGGLE_POWER | 33 |
EnterTunnel | Enter a tunnel. | ACTION_ENTER_TUNNEL | 34 |
NoEnterTunnel | Indicate that tunnel entry is unavailable. | ACTION_NO_ENTER_TUNNEL | 35 |
EMPulse | Target an EMPulse superweapon. | ACTION_EMPULSE | 36 |
IonCannon | Target an ion-cannon strike. | ACTION_ION_CANNON | 37 |
EMPulseRange | Refuse the target: the player has no powered EM pulse cannon, or the nearest one cannot reach the target. | ACTION_EMPULSE_RANGE | 38 |
ChemBomb | Target a chemical missile strike. | ACTION_CHEM_BOMB | 39 |
PlaceWaypoint | Place a waypoint. | ACTION_PLACE_WAYPOINT | 40 |
NoPlaceWaypoint | Indicate that a waypoint cannot be placed. | ACTION_NO_PLACE_WAYPOINT | 41 |
EnterWaypointMode | Enter waypoint planning mode. | ACTION_ENTER_WAYPOINT_MODE | 42 |
FollowWaypoint | Cursor for a move order given over one of the player's waypoints. | ACTION_FOLLOW_WAYPOINT | 43 |
SelectWaypoint | Select the path of the waypoint under the cursor and pick that waypoint up to drag it. | ACTION_SELECT_WAYPOINT | 44 |
LoopWaypointPath | Loop the selected path back to the waypoint under the cursor. | ACTION_LOOP_WAYPOINT_PATH | 45 |
DragWaypoint | Drag an existing waypoint. | ACTION_DRAG_WAYPOINT | 46 |
AttackWaypoint | Cursor for an attack or harvest order given over one of the player's waypoints. | ACTION_ATTACK_WAYPOINT | 47 |
EnterWaypoint | Cursor for an enter or capture order given over one of the player's waypoints. | ACTION_ENTER_WAYPOINT | 48 |
PatrolWaypoint | Patrol a waypoint path. | ACTION_PATROL_WAYPOINT | 49 |
DropPod | Target a drop-pod delivery. | ACTION_DROP_POD | 50 |
Rally To Point | Set a rally point. | ACTION_RALLY_TO_POINT | 51 |
Attack Support | Put an object whose first weapon slot has negative damage on Guard Area, and any other object on Guard. | ACTION_ATTACK_SUPPORT | 52 |
No enum values match this filter.
Used by
ActionINI key
Source files
Linked at revision 51b52aa38392.