Lua Game Objects/ActivityTypes
From Civilization Modding Wiki
Jump to navigationJump to search
As listed in the Modbuddy's partial Lua API
Back to Lua Game Objects
Retreive activity state with Lua <Unit> Class Unit:GetActivityType
- returns: ActivityTypes.X
NO_ACTIVITY
ACTIVITY_AWAKE
ACTIVITY_HOLD
ACTIVITY_SLEEP
ACTIVITY_HEAL
ACTIVITY_SENTRY
true if unit is set to Sentry