Lua Game Objects/MissionTypes

From Civilization Modding Wiki
Jump to navigationJump to search

As listed in the Modbuddy's partial Lua API

Back to Lua Game Objects

Set Mission state with Lua <Unit> Class Unit:PushMission
Example

pUnit:PushMission(GameInfoTypes.MISSION_MOVE_TO, plotX, plotY);

Result

will move the selected unit, pUnit, to the plot defined by plotX, plotY coordinates
  • NO_MISSION
  • MISSION_MOVE_TO
  • MISSION_ROUTE_TO
  • MISSION_MOVE_TO_UNIT
  • MISSION_SWAP_UNITS
  • MISSION_SKIP
  • MISSION_SLEEP
  • MISSION_ALERT
  • MISSION_FORTIFY
  • MISSION_GARRISON
  • MISSION_SET_UP_FOR_RANGED_ATTACK
  • MISSION_EMBARK
  • MISSION_DISEMBARK
  • MISSION_AIRPATROL
  • MISSION_HEAL
  • MISSION_AIRLIFT
  • MISSION_NUKE
  • MISSION_PARADROP
  • MISSION_REBASE
  • MISSION_AIR_SWEEP
  • MISSION_RANGE_ATTACK
  • MISSION_PILLAGE
  • MISSION_FOUND
  • MISSION_JOIN
  • MISSION_CONSTRUCT
  • MISSION_DISCOVER
  • MISSION_HURRY
  • MISSION_TRADE
  • MISSION_SPREAD_RELIGION
  • MISSION_GOLDEN_AGE
  • MISSION_BUILD
  • MISSION_LEAD
  • MISSION_DIE_ANIMATION
  • MISSION_BEGIN_COMBAT
  • MISSION_END_COMBAT
  • MISSION_AIRSTRIKE
  • MISSION_SURRENDER
  • MISSION_CAPTURED
  • MISSION_IDLE
  • MISSION_DIE
  • MISSION_DAMAGE
  • MISSION_MULTI_SELECT
  • MISSION_MULTI_DESELECT
  • MISSION_WAIT_FOR
  • NUM_MISSION_TYPES