Cursor action
Named cursor and click actions accepted by action-valued INI settings.
- Engine enum
ActionType- Input form
- Named token
These are the actions the engine picks between as the cursor crosses the map — what the mouse shape offers and what a left click will then do. They are not the trigger actions a map fires from its tags, which are a separate list.
One rules setting takes a name from here: a SuperWeaponType’s Action. While the map is in that weapon’s targeting mode the name becomes the action under the cursor, which is what picks the mouse shape, and it is also the key the click is matched on afterward: a click whose action is neither None nor Select is compared against every superweapon’s Action in turn, and the first weapon carrying that action has a firing order queued for the cell. Two weapons naming the same action therefore leave the later one unreachable, and a weapon left at None neither takes the cursor nor can be fired by a click at all — which is where an unrecognized name lands it, since the parser reads anything it does not know as None.
Seven entries carry historical DontUse tokens even though their engine constants still name older actions. Nothing assigns or tests those seven, so what survives of them is the spelling: they are distinct names a superweapon can claim, and nothing more.
Values
53 of 53
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
None | No available action. | ACTION_NONE | 0 |
Move | Move to the selected position. | ACTION_MOVE | 1 |
NoMove | Movement is not allowed at this position. | ACTION_NOMOVE | 2 |
Enter | Enter the selected transport, facility, or building. | ACTION_ENTER | 3 |
Self | Act on the selected object itself. | ACTION_SELF | 4 |
Attack | Attack the selected target. | ACTION_ATTACK | 5 |
Harvest | Harvest the selected resource cell. | 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 selected building. | ACTION_CAPTURE | 9 |
Repair | Repair the selected object. | ACTION_REPAIR | 10 |
Sell | Sell the selected building. | ACTION_SELL | 11 |
SellUnit | Sell the selected unit. | 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 selected object. | 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.The parser token intentionally marks this slot as not for normal use. | ACTION_PARA_INFANTRY | 17 |
DontUse3 | Legacy parachute-saboteur action.The parser token intentionally marks this slot as not for normal use. | ACTION_PARA_SABOTEUR | 18 |
Nuke | Target a nuclear or multi-missile strike. | ACTION_NUKE_BOMB | 19 |
DontUse4 | Legacy air-strike action.The parser token intentionally marks this slot as not for normal use. | ACTION_AIR_STRIKE | 20 |
DontUse5 | Legacy chronosphere source action.The parser token intentionally marks this slot as not for normal use. | ACTION_CHRONOSPHERE | 21 |
DontUse6 | Legacy chronosphere destination action.The parser token intentionally marks this slot as not for normal use. | ACTION_CHRONO2 | 22 |
DontUse7 | Legacy invulnerability action.The parser token intentionally marks this slot as not for normal use. | ACTION_IRON_CURTAIN | 23 |
DontUse8 | Legacy reconnaissance action.The parser token intentionally marks this slot as not for normal use. | ACTION_SPY_MISSION | 24 |
GuardArea | Guard the selected location or object. | ACTION_GUARD_AREA | 25 |
Heal | Heal the selected infantry. | ACTION_HEAL | 26 |
Damage | Enter and damage the selected building. | ACTION_DAMAGE | 27 |
GRepair | Enter and complete building repair. | 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 building entry repair is unavailable. | 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 whose weapon reaches it. | 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 | Follow the selected waypoint path. | ACTION_FOLLOW_WAYPOINT | 43 |
SelectWaypoint | Select a waypoint. | ACTION_SELECT_WAYPOINT | 44 |
LoopWaypointPath | Toggle looping for a waypoint path. | ACTION_LOOP_WAYPOINT_PATH | 45 |
DragWaypoint | Drag an existing waypoint. | ACTION_DRAG_WAYPOINT | 46 |
AttackWaypoint | Attack along a waypoint path. | ACTION_ATTACK_WAYPOINT | 47 |
EnterWaypoint | Append or enter a waypoint. | 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 a healer on Guard Area and any other unarmed object on Guard. | ACTION_ATTACK_SUPPORT | 52 |
No enum values match this filter.
Used by
ActionINI key
Source files
Linked at revision 59fae722af8c.