Lua Game Objects/ActivityTypes

From Civilization Modding Wiki
Revision as of 16:32, 24 October 2011 by Human machine (talk | contribs) (→‎As listed in the Modbuddy's partial Lua API)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

ACTIVITY_INTERCEPT

ACTIVITY_MISSION