User |
User. |
_c_CreateCursor |
_c_CreateCursor(luaobj,spec) |
|
|
|
User |
User. |
_c_CreateDecal |
Create a decal in the user layer |
|
|
|
User |
User. |
_c_CreatePathDebugger |
_c_CreatePathDebugger(luaobj,spec) |
|
|
|
User |
User. |
AddBlinkyBox |
AddBlinkyBox(entityId, onTime, offTime, totalTime) |
|
|
|
User |
User. |
AddCommandFeedbackBlip |
AddCommandFeedbackBlip(meshInfoTable, duration) |
|
|
|
User |
User. |
AddConsoleOutputReciever |
handler AddConsoleOutputReciever(func(text)) |
|
|
|
User |
User. |
AddInputCapture |
AddInputCapture(control) - set a control as the current capture |
|
|
|
User |
User. |
AddSelectUnits |
Add these units to the currently Selected lists |
|
|
|
User |
User. |
AddToSessionExtraSelectList |
Add unit to the session extra select list |
|
|
|
User |
User. |
AnyInputCapture |
bool AnyInputCapture() - returns true if there is anything currently on the capture stack |
|
|
|
User |
User. |
AudioSetLanguage |
AudioSetLanguage(name() |
|
|
|
User |
User. |
ClearBuildTemplates |
clear and disable the build templates. |
|
|
|
User |
User. |
ClearCurrentFactoryForQueueDisplay |
ClearCurrentFactoryForQueueDisplay() |
|
|
|
User |
User. |
ClearFrame |
ClearFrame(int head) - destroy all controls in frame, nil head will clear all frames |
|
|
|
User |
User. |
ClearSessionExtraSelectList |
Clear the session extra select list |
|
|
|
User |
User. |
ConExecute |
ConExecute('command string') -- Perform a console command |
|
|
|
User |
User. |
ConExecuteSave |
ConExecuteSave('command string') -- Perform a console command, saved to stack |
|
|
|
User |
User. |
ConTextMatches |
strings ContextMatches(string) |
|
|
|
User |
User. |
CopyCurrentReplay |
CopyCurrentReplay(string profile, string newFilename) - copy the current replay to another file |
|
|
|
User |
User. |
CreateUnitAtMouse |
CreateUnitAtMouse |
|
|
|
User |
User. |
CurrentTime |
Get the current time in seconds, counting from 0 at application start. This is wall-clock time and is unaffected by gameplay. |
|
|
|
User |
User. |
DebugFacilitiesEnabled |
bool DebugFacilitiesEnabled() - returns true if debug facilities are enabled. |
|
|
|
User |
User. |
DecreaseBuildCountInQueue |
DecreaseBuildCountInQueue(queueIndex, count) |
|
|
|
User |
User. |
DeleteCommand |
DeleteCommand(id) |
|
|
|
User |
User. |
DisableWorldSounds |
DisableWorldSounds |
|
|
|
User |
User. |
EjectSessionClient |
EjectSessionClient(int clientIndex) -- eject another client from your session |
|
|
|
User |
User. |
EnableWorldSounds |
EnableWorldSounds |
|
|
|
User |
User. |
EngineStartFrontEndUI |
EngineStartFrontEndUI() - kill current UI and start main menu from top |
|
|
|
User |
User. |
EngineStartSplashScreens |
EngineStartSplashScreens() - kill current UI and start splash screens |
|
|
|
User |
User. |
EntityCategoryContains |
See if a unit category contains this unit |
|
|
|
User |
User. |
EntityCategoryFilterDown |
Filter a list of units to only those found in the category |
|
|
|
User |
User. |
EntityCategoryFilterOut |
Filter a list of units to exclude those found in the category |
|
|
|
User |
User. |
ExecLuaInSim |
Execute some lua code in the sim |
|
|
|
User |
User. |
ExitApplication |
ExitApplication - request that the application shut down |
|
|
|
User |
User. |
ExitGame |
ExitGame() - Quits the sim, but not the app |
|
|
|
User |
User. |
FlushEvents |
FlushEvents() -- flush mouse/keyboard events |
|
|
|
User |
User. |
FormatTime |
string FormatTime(seconds) - format a string displaying the time specified in seconds |
|
|
|
User |
User. |
GameTick |
Get the current game time in ticks. The game time is the simulation time, that stops when the game is paused. |
|
|
|
User |
User. |
GameTime |
Get the current game time in seconds. The game time is the simulation time, that stops when the game is paused. |
|
|
|
User |
User. |
GenerateBuildTemplateFromSelection |
generate and enable build templates from the current selection. |
|
|
|
User |
User. |
GetActiveBuildTemplate |
get active build template back to lua. |
|
|
|
User |
User. |
GetAntiAliasingOptions |
obj GetAntiAliasingOptions() |
|
|
|
User |
User. |
GetArmiesTable |
armyInfo GetArmiesTable() |
|
|
|
User |
User. |
GetArmyAvatars |
table GetArmyAvatars() - return a table of avatar units for the army |
|
|
|
User |
User. |
GetArmyScore |
int GetArmyScore(armyIndex) |
|
|
|
User |
User. |
GetAssistingUnitsList |
Get a list of units assisting me |
|
|
|
User |
User. |
GetAttachedUnitsList |
Get a list of units blueprint attached to transports |
|
|
|
User |
User. |
GetBlueprint |
blueprint = GetBlueprint() |
|
|
|
User |
User. |
GetCamera |
GetCamera(name) |
|
|
|
User |
User. |
GetCommandLineArg |
CommandArgTable GetCommandLineArg(option, number) |
|
|
|
User |
User. |
GetCurrentUIState |
state GetCurrentUIState() - returns 'splash', 'frontend' or 'game' depending on the current state of the ui |
|
|
|
User |
User. |
GetCursor |
GetCursor() |
|
|
|
User |
User. |
GetEconomyTotals |
table GetEconomyTotals() |
|
|
|
User |
User. |
GetFireState |
Get the right fire state for the units passed in |
|
|
|
User |
User. |
GetFocusArmy |
GetFocusArmy() |
|
|
|
User |
User. |
GetFrame |
frame GetFrame(int head) - return the root UI frame for a given head |
|
|
|
User |
User. |
GetFrontEndData |
table GetFrontEndData(key) |
|
|
|
User |
User. |
GetGameSpeed |
Return the current game speed |
|
|
|
User |
User. |
GetGameTime |
string GetGameTime() - returns a formatted string displaying the time the game has been played |
|
|
|
User |
User. |
GetGameTimeSeconds |
float GetGameTimeSeconds() - returns game time in seconds |
|
|
|
User |
User. |
GetIdleEngineers |
table GetIdleEngineers() - return a table of idle engineer units for the army |
|
|
|
User |
User. |
GetIdleFactories |
table GetIdleFactories() - return a table of idle factory units for the army |
|
|
|
User |
User. |
GetInputCapture |
control GetInputCapture() - returns the current capture control, or nil if none |
|
|
|
User |
User. |
GetIsAutoMode |
See if anyone in the list is auto building |
|
|
|
User |
User. |
GetIsAutoSurfaceMode |
See if anyone in the list is auto surfacing |
|
|
|
User |
User. |
GetIsPaused |
Is anyone ins this list builder paused? |
|
|
|
User |
User. |
GetIsSubmerged |
Determine if units are submerged (-1), not submerged(1) or unable to tell (0) |
|
|
|
User |
User. |
GetMouseScreenPos |
vector GetMouseScreenPos() |
|
|
|
User |
User. |
GetMouseWorldPos |
vector GetMouseWorldPos() |
|
|
|
User |
User. |
GetMovieVolume |
GetMovieVolume() |
|
|
|
User |
User. |
GetNumRootFrames |
int GetNumRootFrames() - returns the current number of root frames (typically one per head |
|
|
|
User |
User. |
GetOptions |
obj GetOptions() |
|
|
|
User |
User. |
GetPreference |
obj GetPreference(string, [default]) |
|
|
|
User |
User. |
GetResourceSharing |
bool GetResourceSharing() |
|
|
|
User |
User. |
GetRolloverInfo |
rolloverInfo GetRolloverInfo() |
|
|
|
User |
User. |
GetScriptBit |
Get the state for the script big |
|
|
|
User |
User. |
GetSelectedUnits |
table GetSelectedUnits() - return a table of the currently selected units |
|
|
|
User |
User. |
GetSessionClients |
GetSessionClients() -- return a table of the various clients in the current session. |
|
|
|
User |
User. |
GetSimRate |
number GetSimRate() |
|
|
|
User |
User. |
GetSimTicksPerSecond |
int GetSimTicksPerSecond() |
|
|
|
User |
User. |
GetSpecialFileInfo |
table GetSpecialFileInfo(string profileName, string basename, string type) - get information on a profile based file, nil if unable to find |
|
|
|
User |
User. |
GetSpecialFilePath |
string GetSpecialFilePath(string profilename, string filename, string type) - Given the base name of a special file, retuns the complete path |
|
|
|
User |
User. |
GetSpecialFiles |
table GetSpecialFiles(string type)- returns a table of strings which are the names of files in special locations (currently SaveFile, Replay) |
|
|
|
User |
User. |
GetSpecialFolder |
string GetSpecialFolder(string type) |
|
|
|
User |
User. |
GetSystemTime |
string GetSystemTime() - returns a formatted string displaying the System time |
|
|
|
User |
User. |
GetSystemTimeSeconds |
float GetSystemTimeSeconds() - returns System time in seconds |
|
|
|
User |
User. |
GetTextureDimensions |
width, height GetTextureDimensions(filename, border = 1) |
|
|
|
User |
User. |
GetUIControlsAlpha |
float GetUIControlsAlpha() -- get the alpha multiplier for 2d UI controls |
|
|
|
User |
User. |
GetUnitById |
GetUnitById(id) |
|
|
|
User |
User. |
GetUnitCommandData |
orders, buildableCategories, GetUnitCommandData(unitSet) -- given a set of units, gets the union of orders and unit categories (for determining builds) |
|
|
|
User |
User. |
GetUnitCommandFromCommandCap |
string GetUnitCommandFromCommandCap(string) - given a RULEUCC type command, return the equivalent UNITCOMMAND command |
|
|
|
User |
User. |
GetValidAttackingUnits |
table GetValidAttackingUnits() - return a table of the currently selected units |
|
|
|
User |
User. |
GetVolume |
float GetVolume(category) |
|
|
|
User |
User. |
GpgNetActive |
bool GpgNetActive() |
|
|
|
User |
User. |
GpgNetSend |
GpgNetSend(cmd,args...) |
|
|
|
User |
User. |
HasCommandLineArg |
HasCommandLineArg(option) |
|
|
|
User |
User. |
HasLocalizedVO |
HasLocalizedVO(languageCode) |
|
|
|
User |
User. |
IN_AddKeyMapTable |
IN_AddKeyMapTable(keyMapTable) - add a set of key mappings |
|
|
|
User |
User. |
IN_ClearKeyMap |
IN_ClearKeyMap() - clears all key mappings |
|
|
|
User |
User. |
IN_RemoveKeyMapTable |
IN_RemoveKeyMapTable(keyMapTable) - removes the keys from the key map |
|
|
|
User |
User. |
IncreaseBuildCountInQueue |
DecreaseBuildCountInQueue(queueIndex, count) |
|
|
|
User |
User. |
InternalCreateBitmap |
InternalCreateBitmap(luaobj,parent) -- for internal use by CreateBitmap() |
|
|
|
User |
User. |
InternalCreateBorder |
InternalCreateBorder(luaobj,parent) -- for internal use by CreateBorder() |
|
|
|
User |
User. |
InternalCreateDiscoveryService |
InternalCreateDiscoveryService(class) |
|
|
|
User |
User. |
InternalCreateDragger |
InternalCreateDragger(luaobj) -- for internal use by CreateDragger() |
|
|
|
User |
User. |
InternalCreateEdit |
InternalCreateEdit(luaobj,parent) |
|
|
|
User |
User. |
InternalCreateFrame |
InternalCreateFrame(luaobj) -- For internal use by CreateFrame() |
|
|
|
User |
User. |
InternalCreateGroup |
InternalCreateGroup(luaobj,parent) -- For internal use by CreateGroup() |
|
|
|
User |
User. |
InternalCreateHistogram |
InternalCreateHistogram(luaobj,parent) -- For internal use by CreateHistogram() |
|
|
|
User |
User. |
InternalCreateItemList |
InternalCreateItemList(luaobj,parent) -- for internal use by CreateItemList() |
|
|
|
User |
User. |
InternalCreateLobby |
InternalCreateLobby(class, string protocol, int localPort, int maxConnections, string playerName, string playerUID, Boxed > natTraversalProvider) |
|
|
|
User |
User. |
InternalCreateMapPreview |
InternalCreateMapPreview(luaobj,parent) |
|
|
|
User |
User. |
InternalCreateMesh |
InternalCreateMesh(luaobj,parent) -- for internal use by CreateMesh() |
|
|
|
User |
User. |
InternalCreateMovie |
InternalCreateMovie(luaobj,parent) -- for internal use by CreateMovie() |
|
|
|
User |
User. |
InternalCreateScrollbar |
InternalCreateScrollbar(luaobj,parent,axis) -- for internal use by CreateScrollBar() |
|
|
|
User |
User. |
InternalCreateText |
InternalCreateText(luaobj,parent) |
|
|
|
User |
User. |
InternalCreateWldUIProvider |
InternalCreateWldUIProvider(luaobj) - create the C++ script object |
|
|
|
User |
User. |
InternalCreateWorldMesh |
InternalCreateWorldMesh(luaobj) -- for internal use by WorldMesh() |
|
|
|
User |
User. |
InternalSaveGame |
InternalSaveGame(filename, friendlyname, oncompletion) -- save the current session. |
|
|
|
User |
User. |
IsAlly |
IsAlly(army1,army2) |
|
|
|
User |
User. |
IsEnemy |
IsEnemy(army1,army2) |
|
|
|
User |
User. |
IsKeyDown |
IsKeyDown(keyCode) |
|
|
|
User |
User. |
IsNeutral |
IsNeutral(army1,army2) |
|
|
|
User |
User. |
IsObserver |
IsObserver() |
|
|
|
User |
User. |
IssueBlueprintCommand |
IssueBlueprintCommand(command, blueprintid, count, clear = false) |
|
|
|
User |
User. |
IssueCommand |
IssueCommand(command,[string],[clear]) |
|
|
|
User |
User. |
IssueDockCommand |
IssueDockCommand(clear) |
|
|
|
User |
User. |
IssueUnitCommand |
IssueUnitCommand(unitList,command,[string],[clear]) |
|
|
|
User |
User. |
KeycodeMauiToMSW |
int KeycodeMauiToMSW(int) - given a char code from a key event, returns the MS Windows char code |
|
|
|
User |
User. |
KeycodeMSWToMaui |
int KeycodeMSWToMaui(int) - given a MS Windows char code, returns the Maui char code |
|
|
|
User |
User. |
LaunchGPGNet |
LaunchGPGNet() |
|
|
|
User |
User. |
LaunchReplaySession |
bool LaunchReplaySession(filename) - starts a replay of a given file, returns false if unable to launch |
|
|
|
User |
User. |
LaunchSinglePlayerSession |
LaunchSinglePlayerSession(sessionInfo) -- launch a new single player session. |
|
|
|
User |
User. |
LoadSavedGame |
bool LoadSavedGame(filename) |
|
|
|
User |
User. |
MapBorderAdd |
MapBorderAdd(blueprintid) |
|
|
|
User |
User. |
MapBorderClear |
MapBorderClear() |
|
|
|
User |
User. |
OpenURL |
OpenURL(string) - open the default browser window to the specified URL |
|
|
|
User |
User. |
ParseEntityCategory |
parse a string to generate a new entity category |
|
|
|
User |
User. |
PauseSound |
PauseSound(categoryString,bPause) |
|
|
|
User |
User. |
PauseVoice |
PauseVoice(categoryString,bPause) |
|
|
|
User |
User. |
PlaySound |
handle = PlaySound(sndParams,prepareOnly) |
|
|
|
User |
User. |
PlayTutorialVO |
PlayTutorialVO(params) |
|
|
|
User |
User. |
PlayVoice |
PlayVoice(params,duck) |
|
|
|
User |
User. |
PostDragger |
PostDragger(originFrame, keycode, dragger) |
Make 'dragger' the active dragger from a particular frame. You can pass nil to cancel the current dragger. |
|
|
User |
User. |
PrefetchSession |
PrefetchSession(mapname, mods, hipri) -- start a background load with the given map and mods. If hipri is true, this will interrupt any previous loads in progress. |
|
|
|
User |
User. |
print |
Print a log message |
|
|
|
User |
User. |
Random |
Random([[min,] max]) |
|
|
|
User |
User. |
RemoveConsoleOutputReciever |
RemoveConsoleOutputReciever(handler) |
|
|
|
User |
User. |
RemoveFromSessionExtraSelectList |
Remove unit from the session extra select list |
|
|
|
User |
User. |
RemoveInputCapture |
RemoveInputCapture(control) - remove the control from the capture array (always first from back) |
|
|
|
User |
User. |
RemoveProfileDirectories |
RemoveProfileDirectories(string profile) - Removes the profile directory and all special files |
|
|
|
User |
User. |
RemoveSpecialFile |
RemoveSpecialFile(string profilename, string basename, string type) - remove a profile based file from the disc |
|
|
|
User |
User. |
RenderOverlayEconomy |
RenderOverlayEconomy(bool) |
|
|
|
User |
User. |
RenderOverlayIntel |
RenderOverlayIntel(bool) |
|
|
|
User |
User. |
RenderOverlayMilitary |
RenderOverlayMilitary(bool) |
|
|
|
User |
User. |
RestartSession |
RestartSession() - Restart the current mission/skirmish/etc |
|
|
|
User |
User. |
SavePreferences |
SavePreferences() |
|
|
|
User |
User. |
SelectUnits |
Select the specified units |
|
|
|
User |
User. |
SessionCanRestart |
Return true iff the active session can be restarted. |
|
|
|
User |
User. |
SessionEndGame |
End the current game session. The session says active, we just disconnect from everyone else and freeze play. |
|
|
|
User |
User. |
SessionGetCommandSourceNames |
Return a table of command sources. |
|
|
|
User |
User. |
SessionGetLocalCommandSource |
Return the local command source. Returns 0 if the local client can't issue commands. |
|
|
|
User |
User. |
SessionGetScenarioInfo |
Return the table of scenario info that was originally passed to the sim on launch. |
|
|
|
User |
User. |
SessionIsActive |
Return true iff there is a session currently running |
|
|
|
User |
User. |
SessionIsBeingRecorded |
Return true iff the active session is a being recorded. |
|
|
|
User |
User. |
SessionIsGameOver |
Return true iff the session has been won or lost yet. |
|
|
|
User |
User. |
SessionIsMultiplayer |
Return true iff the active session is a multiplayer session. |
|
|
|
User |
User. |
SessionIsObservingAllowed |
Return true iff observing is allowed in the active session. |
|
|
|
User |
User. |
SessionIsPaused |
Return true iff the session is paused. |
|
|
|
User |
User. |
SessionIsReplay |
Return true iff the active session is a replay session. |
|
|
|
User |
User. |
SessionRequestPause |
Pause the world simulation. |
|
|
|
User |
User. |
SessionResume |
Resume the world simulation. |
|
|
|
User |
User. |
SessionSendChatMessage |
SessionSendChatMessage([client-or-clients,] message) |
|
|
|
User |
User. |
SetActiveBuildTemplate |
set this as an active build template. |
|
|
|
User |
User. |
SetAutoMode |
See if anyone in the list is auto building |
|
|
|
User |
User. |
SetAutoSurfaceMode |
See if anyone in the list is auto surfacing |
|
|
|
User |
User. |
SetCurrentFactoryForQueueDisplay |
currentQueueTable SetCurrentFactoryForQueueDisplay(unit) |
|
|
|
User |
User. |
SetCursor |
SetCursor(cursor) |
|
|
|
User |
User. |
SetFireState |
Set the specific fire state for the units passed in |
|
|
|
User |
User. |
SetFocusArmy |
SetFocusArmy(armyIndex or -1) |
|
|
|
User |
User. |
SetFrontEndData |
SetFrontEndData(key, data) |
|
|
|
User |
User. |
SetGameSpeed |
Set the desired game speed |
|
|
|
User |
User. |
SetMovieVolume |
SetMovieVolume(volume): 0.0 - 2.0 |
|
|
|
User |
User. |
SetOverlayFilter |
SetOverlayFilter() |
|
|
|
User |
User. |
SetOverlayFilters |
SetOverlayFilters(list) |
|
|
|
User |
User. |
SetPaused |
Pause builders in this list |
|
|
|
User |
User. |
SetPreference |
SetPreference(string, obj) |
|
|
|
User |
User. |
SetUIControlsAlpha |
SetUIControlsAlpha(float alpha) -- set the alpha multiplier for 2d UI controls |
|
|
|
User |
User. |
SetVolume |
SetVolume(category, volume) |
|
|
|
User |
User. |
SimCallback |
SimCallback(callback[,bool]): Execute a lua function in sim |
callback = { Func = function name (in the SimCallbacks.lua module) to call Args = Arguments as a lua object } If bool is specified and true, sends the current selection with the command |
|
|
User |
User. |
SoundIsPrepared |
bool = SoundIsPrepared(handle) |
|
|
|
User |
User. |
StartSound |
StartSound(handle) |
|
|
|
User |
User. |
StopAllSounds |
StopAllSounds |
|
|
|
User |
User. |
StopSound |
StopSound(handle,[immediate=false]) |
|
|
|
User |
User. |
SyncPlayableRect |
SyncPlayableRect(region) |
|
|
|
User |
User. |
TeamColorMode |
TeamColorMode(bool) |
|
|
|
User |
User. |
ToggleFireState |
Set the right fire state for the units passed in |
|
|
|
User |
User. |
ToggleScriptBit |
Set the right fire state for the units passed in |
|
|
|
User |
User. |
UISelectAndZoomTo |
UISelectAndZoomTo(userunit,[seconds]) |
|
|
|
User |
User. |
UISelectionByCategory |
UISelectionByCategory(expression, addToCurSel, inViewFrustum, nearestToMouse, mustBeIdle) - selects units based on a category expression |
|
|
|
User |
User. |
UIZoomTo |
UIZoomTo(units,[seconds]) |
|
|
|
User |
User. |
UnProject |
VECTOR3 UnProject(self,VECTOR2) |
|
|
|
User |
User. |
ValidateIPAddress |
str = ValidateIPAddress(ipaddr) |
|
|
|
User |
User. |
ValidateUnitsList |
Validate a list of units |
|
|
|
User |
User. |
WorldIsLoading |
bool = WorldIsLoading() |
|
|
|
User |
User. |
WorldIsPlaying |
bool = WorldIsPlaying() |
|
|
|
User |
User.CameraImpl |
EnableEaseInOut |
Camera:EnableEaseInOut() |
|
|
|
User |
User.CameraImpl |
GetFocusPosition |
Camera:GetFocusPosition() |
|
|
|
User |
User.CameraImpl |
GetMaxZoom |
Camera:GetMaxZoom() |
|
|
|
User |
User.CameraImpl |
GetMinZoom |
Camera:GetMinZoom() |
|
|
|
User |
User.CameraImpl |
GetTargetZoom |
Camera:GetTargetZoom() |
|
|
|
User |
User.CameraImpl |
GetZoom |
Camera:GetZoom() |
|
|
|
User |
User.CameraImpl |
HoldRotation |
Camera:HoldRotation() |
|
|
|
User |
User.CameraImpl |
MoveTo |
Camera:MoveTo(position, orientationHPR, zoom, seconds) |
|
|
|
User |
User.CameraImpl |
MoveToRegion |
Camera:MoveTo(region[,seconds]) |
|
|
|
User |
User.CameraImpl |
NoseCam |
Camera:NoseCam(ent,pitchAdjust,zoom,seconds,transition) |
|
|
|
User |
User.CameraImpl |
Reset |
Camera:Reset() |
|
|
|
User |
User.CameraImpl |
RestoreSettings |
Camera:RestoreSettings(settings) |
|
|
|
User |
User.CameraImpl |
RevertRotation |
Camera:RevertRotation() |
|
|
|
User |
User.CameraImpl |
SaveSettings |
Camera:SaveSettings() |
|
|
|
User |
User.CameraImpl |
SetAccMode |
Camera:SetAccMode(accTypeName) |
|
|
|
User |
User.CameraImpl |
SetMaxZoomMult |
Camera:SetMaxZoomMult() - set zoom scale to allow zooming past or before the point where map fills control |
|
|
|
User |
User.CameraImpl |
SetTargetZoom |
Camera:SetTargetZoom(zoom) |
|
|
|
User |
User.CameraImpl |
SetZoom |
Camera:SetZoom(zoom,seconds) |
|
|
|
User |
User.CameraImpl |
SnapTo |
Camera:SnapTo(position, orientationHPR, zoom) |
|
|
|
User |
User.CameraImpl |
Spin |
Camera:Spin(headingRate[,zoomRate]) |
|
|
|
User |
User.CameraImpl |
TargetEntities |
Camera:TargetEntities(ents,zoom,seconds) |
|
|
|
User |
User.CameraImpl |
TrackEntities |
Camera:TrackEntities(ents,zoom,seconds) |
|
|
|
User |
User.CameraImpl |
UseGameClock |
Camera:UseGameClock() |
|
|
|
User |
User.CameraImpl |
UseSystemClock |
Camera:UseSystemClock() |
|
|
|
User |
User.CDiscoveryService |
GetGameCount |
CDiscoveryService.GetCount(self) |
|
|
|
User |
User.CDiscoveryService |
moho.discovery_service_methods |
|
|
|
|
User |
User.CDiscoveryService |
Reset |
CDiscoveryService.Reset(self) |
|
|
|
User |
User.CLobby |
ConnectToPeer |
void CLobby.ConnectToPeer(self,address,name,uid |
|
|
|
User |
User.CLobby |
DebugDump |
void CLobby.DebugDump() |
|
|
|
User |
User.CLobby |
Destroy |
CLobby.Destroy(self) |
|
|
|
User |
User.CLobby |
DisconnectFromPeer |
void CLobby.DisconnectFromPeer(self,uid |
|
|
|
User |
User.CLobby |
EjectPeer |
void CLobby.EjectPeer(self,targetID,reason) |
|
|
|
User |
User.CLobby |
GetLocalPlayerID |
int CLobby.GetLocalPlayerID(self) |
|
|
|
User |
User.CLobby |
GetLocalPlayerName |
string CLobby.GetLocalPlayerName(self) |
|
|
|
User |
User.CLobby |
GetLocalPort |
int-or-nil CLobby.GetLocalPort(self) |
|
|
|
User |
User.CLobby |
GetPeer |
table CLobby.GetPeer(self,uid) |
|
|
|
User |
User.CLobby |
GetPeers |
table CLobby.GetPeers(self) |
|
|
|
User |
User.CLobby |
HostGame |
void CLobby.HostGame(self) |
|
|
|
User |
User.CLobby |
IsHost |
bool CLobby.IsHost(self) |
|
|
|
User |
User.CLobby |
JoinGame |
void CLobby.JoinGame(self, string-or-boxedInt32 address, string-or-nil remotePlayerName, string remotePlayerUID) |
|
|
|
User |
User.CLobby |
LaunchGame |
void CLobby.LaunchGame(self,gameConfig) |
|
|
|
User |
User.CLobby |
MakeValidGameName |
string CLobby.MakeValidGameName(self,origName) |
|
|
|
User |
User.CLobby |
MakeValidPlayerName |
string CLobby.MakeValidPlayerName(self,uid,origName) |
|
|
|
User |
User.CLobby |
moho.lobby_methods |
|
|
|
|
User |
User.CLobby |
SendData |
void CLobby.SendData(self,targetID,table) |
|
|
|
User |
User.CLuaWldUIProvider |
moho.WldUIProvider_methods |
|
|
|
|
User |
User.CMauiBitmap |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiBitmap |
GetNumFrames |
GetNumFrames() |
|
|
|
User |
User.CMauiBitmap |
InternalSetSolidColor |
Bitmap:InternalSetSolidColor(color) |
|
|
|
User |
User.CMauiBitmap |
Loop |
Loop(bool) |
|
|
|
User |
User.CMauiBitmap |
moho.bitmap_methods |
|
|
|
|
User |
User.CMauiBitmap |
Play |
Play() |
|
|
|
User |
User.CMauiBitmap |
SetBackwardPattern |
SetBackwardPattern() |
|
|
|
User |
User.CMauiBitmap |
SetForwardPattern |
SetForwardPattern() |
|
|
|
User |
User.CMauiBitmap |
SetFrame |
SetFrame(int) |
|
|
|
User |
User.CMauiBitmap |
SetFramePattern |
SetFramePattern(pattern) |
|
|
|
User |
User.CMauiBitmap |
SetFrameRate |
SetFrameRate(float) |
|
|
|
User |
User.CMauiBitmap |
SetLoopPingPongPattern |
SetLoopPingPongPattern() |
|
|
|
User |
User.CMauiBitmap |
SetNewTexture |
Bitmap:SetNewTexture(filename(s), border=1) |
|
|
|
User |
User.CMauiBitmap |
SetPingPongPattern |
SetPingPongPattern() |
|
|
|
User |
User.CMauiBitmap |
SetTiled |
SetTiled(bool) |
|
|
|
User |
User.CMauiBitmap |
SetUV |
Bitmap:SetUV(float u0, float v0, float u1, float v1) |
|
|
|
User |
User.CMauiBitmap |
ShareTextures |
ShareTextures(bitmap) - allows two bitmaps to use the same textures |
|
|
|
User |
User.CMauiBitmap |
Stop |
Stop() |
|
|
|
User |
User.CMauiBitmap |
UseAlphaHitTest |
UseAlphaHitTest(bool) |
|
|
|
User |
User.CMauiBorder |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiBorder |
moho.border_methods |
|
|
|
|
User |
User.CMauiBorder |
SetSolidColor |
SetSolidColor(color) |
|
|
|
User |
User.CMauiControl |
AcquireKeyboardFocus |
AcquireKeyboardFocus(bool blocksKeyDown) |
|
|
|
User |
User.CMauiControl |
ApplyFunction |
ApplyFunction(func) - applys a function to this control and all children, function will recieve the control object as the only parameter |
|
|
|
User |
User.CMauiControl |
ClearChildren |
ClearChildren() |
|
|
|
User |
User.CMauiControl |
Destroy |
Control:Destroy() -- destroy a control. |
|
|
|
User |
User.CMauiControl |
DisableHitTest |
Control:DisableHitTest([recursive]) -- hit testing will be skipped for this control |
|
|
|
User |
User.CMauiControl |
Dump |
Dump |
|
|
|
User |
User.CMauiControl |
EnableHitTest |
Control:EnableHitTest([recursive]) -- hit testing will be checked for this control |
|
|
|
User |
User.CMauiControl |
GetAlpha |
float GetAlpha() |
|
|
|
User |
User.CMauiControl |
GetCurrentFocusControl |
GetCurrentFocusControl() |
|
|
|
User |
User.CMauiControl |
GetName |
string GetName() |
|
|
|
User |
User.CMauiControl |
GetParent |
Control:GetParent() -- return the parent of this control, or nil if it doesn't have one. |
|
|
|
User |
User.CMauiControl |
GetRenderPass |
int GetRenderPass() |
|
|
|
User |
User.CMauiControl |
GetRootFrame |
Frame GetRootFrame() |
|
|
|
User |
User.CMauiControl |
Hide |
Control:Hide() -- stop rendering and hit testing the control |
|
|
|
User |
User.CMauiControl |
HitTest |
bool HitTest(x, y) - given x,y coordinates, tells you if the control is under the coordinates |
|
|
|
User |
User.CMauiControl |
IsHidden |
Control:IsHidden() -- determine if the control is hidden |
|
|
|
User |
User.CMauiControl |
IsHitTestDisabled |
Control:IsHitTestDisabled() -- determine if hit testing is disabled |
|
|
|
User |
User.CMauiControl |
moho.control_methods |
|
|
|
|
User |
User.CMauiControl |
NeedsFrameUpdate |
bool NeedsFrameUpdate() |
|
|
|
User |
User.CMauiControl |
SetAlpha |
SetAlpha(float, children) - Set the alpha of a given control, if children is true, also sets childrens alpha |
|
|
|
User |
User.CMauiControl |
SetHidden |
Control:SetHidden() -- set the hidden state of the control |
|
|
|
User |
User.CMauiControl |
SetName |
SetName(string) |
|
|
|
User |
User.CMauiControl |
SetNeedsFrameUpdate |
SetNeedsFrameUpdate(bool needsIt) |
|
|
|
User |
User.CMauiControl |
SetParent |
Control:SetParent(newParentControl) -- change the control's parent |
|
|
|
User |
User.CMauiControl |
SetRenderPass |
int SetRenderPass() |
|
|
|
User |
User.CMauiControl |
Show |
Control:Show() -- start rendering and hit testing the control |
|
|
|
User |
User.CMauiCursor |
moho.cursor_methods |
|
|
|
|
User |
User.CMauiCursor |
ResetToDefault |
Cursor:ResetToDefault() |
|
|
|
User |
User.CMauiCursor |
SetDefaultTexture |
Cursor:SetDefaultTexture(filename, hotspotX, hotspotY) |
|
|
|
User |
User.CMauiCursor |
SetNewTexture |
Cursor:SetTexture(filename, hotspotX, hotspotY) |
|
|
|
User |
User.CMauiCursor |
Show |
Cursor:Show() |
|
|
|
User |
User.CMauiEdit |
AcquireFocus |
AcquireFocus() |
|
|
|
User |
User.CMauiEdit |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiEdit |
ClearText |
Edit:ClearText() |
|
|
|
User |
User.CMauiEdit |
DisableInput |
Edit:Disable() |
|
|
|
User |
User.CMauiEdit |
EnableInput |
Edit:EnableInput() |
|
|
|
User |
User.CMauiEdit |
GetBackgroundColor |
color Edit:GetBackgroundColor() |
|
|
|
User |
User.CMauiEdit |
GetCaretColor |
color Edit:GetCaretColor() |
|
|
|
User |
User.CMauiEdit |
GetCaretPosition |
int GetCaretPosition |
|
|
|
User |
User.CMauiEdit |
GetFontHeight |
int GetFontHeight() |
|
|
|
User |
User.CMauiEdit |
GetForegroundColor |
color Edit:GetForegroundColor() |
|
|
|
User |
User.CMauiEdit |
GetHighlightBackgroundColor |
color GetHighlightBackgroundColor() |
|
|
|
User |
User.CMauiEdit |
GetHighlightForegroundColor |
color GetHighlightForegroundColor() |
|
|
|
User |
User.CMauiEdit |
GetMaxChars |
int Edit:GetMaxChars() |
|
|
|
User |
User.CMauiEdit |
GetStringAdvance |
number Edit:GetAdvance(string) - get the advance of a string using the same font as the control |
|
|
|
User |
User.CMauiEdit |
GetText |
string Edit:GetText() |
|
|
|
User |
User.CMauiEdit |
IsBackgroundVisible |
bool Edit:IsBackgroundVisible() |
|
|
|
User |
User.CMauiEdit |
IsCaretVisible |
bool Edit:IsCaretVisible() |
|
|
|
User |
User.CMauiEdit |
IsEnabled |
bool Edit:IsEnabled() |
|
|
|
User |
User.CMauiEdit |
moho.edit_methods |
|
|
|
|
User |
User.CMauiEdit |
SetCaretCycle |
edit:SetCaretCycle(float seconds, uint32 minAlpha, uint32 maxAlpha) |
|
|
|
User |
User.CMauiEdit |
SetCaretPosition |
SetCaretPosition(int) |
|
|
|
User |
User.CMauiEdit |
SetDropShadow |
SetDropShadow(bool) |
|
|
|
User |
User.CMauiEdit |
SetMaxChars |
Edit:SetMaxChars(int size) |
|
|
|
User |
User.CMauiEdit |
SetNewBackgroundColor |
Edit:SetNewBackgroundColor(color) |
|
|
|
User |
User.CMauiEdit |
SetNewCaretColor |
Edit:SetNewCaretColor(color) |
|
|
|
User |
User.CMauiEdit |
SetNewFont |
Edit:SetNewFont(family, pointsize) |
|
|
|
User |
User.CMauiEdit |
SetNewForegroundColor |
Edit:SetNewForegroundColor(color) |
|
|
|
User |
User.CMauiEdit |
SetNewHighlightBackgroundColor |
SetNewHighlightBackgroundColor(color) |
|
|
|
User |
User.CMauiEdit |
SetNewHighlightForegroundColor |
SetNewHightlightForegroundColor(color) |
|
|
|
User |
User.CMauiEdit |
SetText |
Edit:SetText(string text) |
|
|
|
User |
User.CMauiEdit |
ShowBackground |
Edit:ShowBackground(bool) |
|
|
|
User |
User.CMauiEdit |
ShowCaret |
Edit:ShowCaret(bool) |
|
|
|
User |
User.CMauiFrame |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiFrame |
GetTopmostDepth |
float GetTopmostDepth() |
|
|
|
User |
User.CMauiFrame |
moho.frame_methods |
|
|
|
|
User |
User.CMauiFrame |
SetTargetHead |
SetTargetHead(int) |
|
|
|
User |
User.CMauiGroup |
moho.group_methods |
|
|
|
|
User |
User.CMauiHistogram |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiHistogram |
moho.histogram_methods |
|
|
|
|
User |
User.CMauiHistogram |
SetXIncrement |
SetXIncrement(int) |
|
|
|
User |
User.CMauiHistogram |
SetYIncrement |
SetYIncrement(int) |
|
|
|
User |
User.CMauiItemList |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiItemList |
DeleteAllItems |
itemlist = ItemList:DeleteAllItems() |
|
|
|
User |
User.CMauiItemList |
DeleteItem |
itemlist = ItemList:DeleteItem(index) |
|
|
|
User |
User.CMauiItemList |
Empty |
bool ItemList:Empty() |
|
|
|
User |
User.CMauiItemList |
GetItem |
item = ItemList:GetItem(index) |
|
|
|
User |
User.CMauiItemList |
GetItemCount |
int ItemList:GetItemCount() |
|
|
|
User |
User.CMauiItemList |
GetRowHeight |
float ItemList:GetRowHeight() |
|
|
|
User |
User.CMauiItemList |
GetSelection |
index = ItemList:GetSelection() |
|
|
|
User |
User.CMauiItemList |
GetStringAdvance |
number ItemList:GetAdvance(string) - get the advance of a string using the same font as the control |
|
|
|
User |
User.CMauiItemList |
ModifyItem |
itemlist = ItemList:ModifyItem(index, string) |
|
|
|
User |
User.CMauiItemList |
moho.item_list_methods |
|
|
|
|
User |
User.CMauiItemList |
NeedsScrollBar |
bool NeedsScrollBar() - returns true if a scrollbar is needed, else false |
|
|
|
User |
User.CMauiItemList |
ScrollToBottom |
ItemList:ScrollToBottom() |
|
|
|
User |
User.CMauiItemList |
ScrollToTop |
ItemList:ScrollToTop() |
|
|
|
User |
User.CMauiItemList |
SetNewColors |
ItemList:SetNewColors(foreground, background, selected_foreground, selected_background) |
|
|
|
User |
User.CMauiItemList |
SetNewFont |
ItemList:SetNewFont(family, pointsize) -- set the font to use in this ItemList control |
|
|
|
User |
User.CMauiItemList |
SetSelection |
ItemList:SetSelection(index) |
|
|
|
User |
User.CMauiItemList |
ShowItem |
ItemList:ShowItem(index) |
|
|
|
User |
User.CMauiItemList |
ShowMouseoverItem |
ShowMouseoverItem(bool) - enable or disable the showing of the mouseover item |
|
|
|
User |
User.CMauiItemList |
ShowSelection |
ShowSelection(bool) - enable or disable the highlighting of the selected item |
|
|
|
User |
User.CMauiLuaDragger |
moho.dragger_methods |
|
|
|
|
User |
User.CMauiMesh |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiMesh |
moho.mesh_methods |
|
|
|
|
User |
User.CMauiMesh |
SetOrientation |
SetOrientation(quaternion) |
|
|
|
User |
User.CMauiMovie |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiMovie |
GetNumFrames |
int GetNumFrames() - returns the number of frames in the movie |
|
|
|
User |
User.CMauiMovie |
InternalSet |
bool Movie:InternalSet(filename) |
|
|
|
User |
User.CMauiMovie |
IsLoaded |
IsLoaded() |
|
|
|
User |
User.CMauiMovie |
Loop |
Loop(bool) |
|
|
|
User |
User.CMauiMovie |
moho.movie_methods |
|
|
|
|
User |
User.CMauiMovie |
Play |
Play() |
|
|
|
User |
User.CMauiMovie |
Stop |
Stop() |
|
|
|
User |
User.CMauiScrollbar |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiScrollbar |
DoScrollPages |
DoScrollPages(float) |
|
|
|
User |
User.CMauiScrollbar |
moho.scrollbar_methods |
|
|
|
|
User |
User.CMauiScrollbar |
SetNewTextures |
Scrollbar:SetTextures(background, thumbMiddle, thumbTop, thumbBottom) |
|
|
|
User |
User.CMauiScrollbar |
SetScrollable |
Scrollbar:SetScrollable(scrollable) -- set the scrollable object connected to this scrollbar |
|
|
|
User |
User.CMauiText |
base |
derived from CMauiControl |
|
|
|
User |
User.CMauiText |
GetText |
string Text:GetText() |
|
|
|
User |
User.CMauiText |
moho.text_methods |
|
|
|
|
User |
User.CMauiText |
SetCenteredHorizontally |
Text:SetCenteredHorizontally(bool) |
|
|
|
User |
User.CMauiText |
SetCenteredVertically |
Text:SetCenteredVertically(bool) |
|
|
|
User |
User.CMauiText |
SetDropShadow |
Text:SetDropShadow(bool) |
|
|
|
User |
User.CMauiText |
SetNewClipToWidth |
SetNewClipToWidth(bool) - will cause the control to only render as many charachters as fit in its width |
|
|
|
User |
User.CMauiText |
SetNewColor |
Text:SetNewColor(color) |
|
|
|
User |
User.CMauiText |
SetNewFont |
Text:SetNewFont(family, pointsize) |
|
|
|
User |
User.CMauiText |
SetText |
Text:SetText(text) |
|
|
|
User |
User.CPathDebugger |
moho.PathDebugger_methods |
|
|
|
|
User |
User.CUIMapPreview |
base |
derived from CMauiControl |
|
|
|
User |
User.CUIMapPreview |
moho.ui_map_preview_methods |
|
|
|
|
User |
User.CUIMapPreview |
SetTexture |
CUIMapPreview:SetTexture(texture_name) |
|
|
|
User |
User.CUIMapPreview |
SetTextureFromMap |
CUIMapPreview:SetTextureFromMap(map_name) |
|
|
|
User |
User.CUIWorldMesh |
GetInterpolatedAlignedBox |
Vector WorldMesh:GetInterpolatedAlignedBox() |
|
|
|
User |
User.CUIWorldMesh |
GetInterpolatedOrientedBox |
Vector WorldMesh:GetInterpolatedOrientedBox() |
|
|
|
User |
User.CUIWorldMesh |
GetInterpolatedPosition |
Vector WorldMesh:GetInterpolatedPosition() |
|
|
|
User |
User.CUIWorldMesh |
GetInterpolatedScroll |
Vector WorldMesh:GetInterpolatedScroll() |
|
|
|
User |
User.CUIWorldMesh |
GetInterpolatedSphere |
Vector WorldMesh:GetInterpolatedSphere() |
|
|
|
User |
User.CUIWorldMesh |
IsHidden |
bool WorldMesh:IsHidden() |
|
|
|
User |
User.CUIWorldMesh |
moho.world_mesh_methods |
|
|
|
|
User |
User.CUIWorldMesh |
SetAuxiliaryParameter |
WorldMesh:SetAuxiliaryParameter(float param) |
|
|
|
User |
User.CUIWorldMesh |
SetColor |
WorldMesh:SetColor(bool hidden) |
|
|
|
User |
User.CUIWorldMesh |
SetFractionCompleteParameter |
WorldMesh:SetFractionCompleteParameter(float param) |
|
|
|
User |
User.CUIWorldMesh |
SetFractionHealthParameter |
WorldMesh:SetFractionHealthParameter(float param) |
|
|
|
User |
User.CUIWorldMesh |
SetHidden |
WorldMesh:SetHidden(bool hidden) |
|
|
|
User |
User.CUIWorldMesh |
SetLifetimeParameter |
WorldMesh:SetLifetimeParameter(float param) |
|
|
|
User |
User.CUIWorldMesh |
SetMesh |
WorldMesh:SetMesh(meshDesc) |
|
|
|
User |
User.CUIWorldMesh |
SetScale |
WorldMesh:SetScale(vector scale) |
|
|
|
User |
User.CUIWorldMesh |
SetStance |
WorldMesh:SetStance(vector position, [quaternion orientation]) |
|
|
|
User |
User.CUIWorldView |
__init |
moho.UIWorldView:__init(parent_control, cameraName, depth, isMiniMap, trackCamera) |
|
|
|
User |
User.CUIWorldView |
base |
derived from CMauiControl |
|
|
|
User |
User.CUIWorldView |
EnableResourceRendering |
EnableResourceRendering(bool) |
|
|
|
User |
User.CUIWorldView |
GetRightMouseButtonOrder |
string moho.UIWorldView:GetRightMouseButtonOrder() |
|
|
|
User |
User.CUIWorldView |
GetScreenPos |
(vector2f |
nil) = GetScreenPos(unit) |
|
|
User |
User.CUIWorldView |
GetsGlobalCameraCommands |
moho.UIWorldView:GetsGlobalCameraCommands(bool getsCommands) |
|
|
|
User |
User.CUIWorldView |
HasHighlightCommand |
bool moho.UIWorldView:HasHighlightCommand() |
|
|
|
User |
User.CUIWorldView |
IsCartographic |
bool IsCartographic() |
|
|
|
User |
User.CUIWorldView |
IsInputLocked |
IsInputLocked(camera) |
|
|
|
User |
User.CUIWorldView |
IsResourceRenderingEnabled |
bool IsResourceRenderingEnabled() |
|
|
|
User |
User.CUIWorldView |
LockInput |
LockInput(camera) |
|
|
|
User |
User.CUIWorldView |
moho.UIWorldView |
|
|
|
|
User |
User.CUIWorldView |
Project |
VECTOR2 Project(self,VECTOR3) - given a point in world space, projects the point to control space |
|
|
|
User |
User.CUIWorldView |
SetCartographic |
SetCartographic(bool) |
|
|
|
User |
User.CUIWorldView |
SetHighlightEnabled |
SetHighlightEnabled(bool) |
|
|
|
User |
User.CUIWorldView |
ShowConvertToPatrolCursor |
bool moho.UIWorldView:ShowConvertToPatrolCursor() |
|
|
|
User |
User.CUIWorldView |
UnlockInput |
UnlockInput(camera) |
|
|
|
User |
User.CUIWorldView |
ZoomScale |
ZoomScale(x, y, wheelRot, wheelDelta) - cause the world to zoom based on wheel rotation event |
|
|
|
User |
User.ScriptedDecal |
moho.userDecal_methods |
|
|
|
|
User |
User.ScriptedDecal |
SetPosition |
Set the position based on wolrd coords |
|
|
|
User |
User.ScriptedDecal |
SetPositionByScreen |
Set the position based on screen space mouse coords |
|
|
|
User |
User.ScriptedDecal |
SetScale |
Scale the text |
|
|
|
User |
User.ScriptedDecal |
SetTexture |
Set the texture and add it to the decal manager |
|
|
|
User |
User.UserUnit |
CanAttackTarget |
UserUnit:CanAttackTarget(target, rangeCheck) |
|
|
|
User |
User.UserUnit |
GetArmy |
GetArmy() -- returns the army index |
|
|
|
User |
User.UserUnit |
GetBlueprint |
blueprint = UserUnit:GetBlueprint() |
|
|
|
User |
User.UserUnit |
GetBuildRate |
GetBuildRate() -- return current unit build rate |
|
|
|
User |
User.UserUnit |
GetCommandQueue |
table GetCommandQueue() - returns table of commands |
|
|
|
User |
User.UserUnit |
GetCreator |
GetCreator() -- returns the units creator, or nil |
|
|
|
User |
User.UserUnit |
GetCustomName |
string GetCustomName() -- get the current custom name, nil if none |
|
|
|
User |
User.UserUnit |
GetEconData |
GetEconData() - returns a table of economy data |
|
|
|
User |
User.UserUnit |
GetEntityId |
Entity:GetEntityId() |
|
|
|
User |
User.UserUnit |
GetFocus |
GetFocus() -- returns the unit this unit is currently focused on, or nil |
|
|
|
User |
User.UserUnit |
GetFootPrintSize |
UserUnit:GetFootPrintSize() |
|
|
|
User |
User.UserUnit |
GetFuelRatio |
GetFuelRatio() |
|
|
|
User |
User.UserUnit |
GetGuardedEntity |
GetGuardedEntity() -- returns the units guard target, or nil |
|
|
|
User |
User.UserUnit |
GetHealth |
GetHealth() -- return current health |
|
|
|
User |
User.UserUnit |
GetMaxHealth |
GetMaxHealth() -- return max health |
|
|
|
User |
User.UserUnit |
GetMissileInfo |
table GetMissileInfo() - returns a table of the missile info for this unit |
|
|
|
User |
User.UserUnit |
GetPosition |
VECTOR3 GetPosition() - returns the current world posititon of the unit |
|
|
|
User |
User.UserUnit |
GetSelectionSets |
table GetSelectionSets() -- get table of all selection sets unit belongs to |
|
|
|
User |
User.UserUnit |
GetShieldRatio |
GetShieldRatio() |
|
|
|
User |
User.UserUnit |
GetStat |
GetStat(Name[,defaultVal]) |
|
|
|
User |
User.UserUnit |
GetUnitId |
UserUnit:GetUnitId() |
|
|
|
User |
User.UserUnit |
GetWorkProgress |
GetWorkProgress() |
|
|
|
User |
User.UserUnit |
HasSelectionSet |
bool HasSelectionSet(string) -- see if a unit belongs to a given selection set |
|
|
|
User |
User.UserUnit |
HasUnloadCommandQueuedUp |
See if this unit already has an unload from transport queued up |
|
|
|
User |
User.UserUnit |
IsAutoMode |
bool = UserUnit:IsAutoMode() |
|
|
|
User |
User.UserUnit |
IsAutoSurfaceMode |
bool = UserUnit:IsAutoSurfaceMode() |
|
|
|
User |
User.UserUnit |
IsDead |
IsDead() -- return true if the unit has been destroyed |
|
|
|
User |
User.UserUnit |
IsIdle |
IsIdle() -- return true if the unit is idle |
|
|
|
User |
User.UserUnit |
IsInCategory |
bool = UserUnit:IsInCategory(category) |
|
|
|
User |
User.UserUnit |
IsOverchargePaused |
IsOverchargePaused() -- return current overcharge paused status |
|
|
|
User |
User.UserUnit |
IsRepeatQueue |
bool = UserUnit:IsRepeatQueue() |
|
|
|
User |
User.UserUnit |
IsStunned |
flag = UserUnit:IsStunned() |
|
|
|
User |
User.UserUnit |
ProcessInfo |
UserUnit:ProcessInfoPair() |
|
|
|
User |
User.UserUnit |
RemoveSelectionSet |
RemoveSelectionSet(string) -- remove a selection set name from a unit |
|
|
|
User |
User.UserUnit |
SetCustomName |
SetCustomName(string) -- Set a custom name for the unit |
|
|
|
Unsafe |
Unsafe. |
SHGetFolderPath |
(name, create?) -- Interface to Win32 SHGetFolderPath api |
|
|
|
Sim |
Sim. |
_c_CreateEntity |
_c_CreateEntity(spec) |
|
|
|
Sim |
Sim. |
_c_CreateShield |
_c_CreateShield(spec) |
|
|
|
Sim |
Sim. |
AddBuildRestriction |
AddBuildRestriction(army,category) - Add a category to the restricted list |
|
|
|
Sim |
Sim. |
ArmyGetHandicap |
army |
|
|
|
Sim |
Sim. |
ArmyInitializePrebuiltUnits |
army |
|
|
|
Sim |
Sim. |
ArmyIsCivilian |
ArmyIsCivilian(army) |
|
|
|
Sim |
Sim. |
ArmyIsOutOfGame |
ArmyIsOutOfGame(army) -- return true iff the indicated army has been defeated. |
|
|
|
Sim |
Sim. |
AttachBeamEntityToEntity |
AttachBeamEntityToEntity(self, bone, other, bone, army, blueprint) |
|
|
|
Sim |
Sim. |
AttachBeamToEntity |
AttachBeamToEntity(emitter, entity, tobone, army ) |
|
|
|
Sim |
Sim. |
AudioSetLanguage |
AudioSetLanguage(name) |
|
|
|
Sim |
Sim. |
ChangeUnitArmy |
ChangeUnitArmy(unit,armyIndex) Change a unit's army |
|
|
|
Sim |
Sim. |
CheatsEnabled |
Return true iff cheats are enabled. Logs the cheat attempt no matter what. |
|
|
|
Sim |
Sim. |
CoordinateAttacks |
CoordinateAttacks |
|
|
|
Sim |
Sim. |
CreateAimController |
CreateAimController(weapon, label, turretBone, [barrelBone], [muzzleBone]) |
|
|
|
Sim |
Sim. |
CreateAnimator |
CreateAnimator(unit) -- create a manipulator for playing animations |
|
|
|
Sim |
Sim. |
CreateAttachedBeam |
CreateAttachedBeam(entity, bone, army, length, thickness, texture_filename) |
|
|
|
Sim |
Sim. |
CreateAttachedEmitter |
CreateAttachedEmitter(entity, bone, army, emitter_blueprint) |
|
|
|
Sim |
Sim. |
CreateBeamEmitter |
emitter = CreateBeamEmitter(blueprint,army) |
|
|
|
Sim |
Sim. |
CreateBeamEmitterOnEntity |
emitter = CreateBeamEmitterOnEntity(entity, tobone, army, blueprint ) |
|
|
|
Sim |
Sim. |
CreateBeamEntityToEntity |
CreateBeamEntityToEntity(entity, bone, other, bone, army, blueprint) |
|
|
|
Sim |
Sim. |
CreateBeamToEntityBone |
CreateBeamToEntityBone(entity, bone, other, bone, army, thickness, texture_filename) |
|
|
|
Sim |
Sim. |
CreateBuilderArmController |
CreateBuilderArmController(unit,turretBone, [barrelBone], [aimBone]) |
|
|
|
Sim |
Sim. |
CreateCollisionDetector |
CreateCollisionDetector(unit) -- create a collision detection manipulator |
|
|
|
Sim |
Sim. |
CreateDecal |
handle = CreateDecal(position, heading, textureName1, textureName2, type, sizeX, sizeZ, lodParam, duration, army, fidelity) |
|
|
|
Sim |
Sim. |
CreateEconomyEvent |
event = CreateEconomyEvent(unit, energy, mass, timeInSeconds) |
|
|
|
Sim |
Sim. |
CreateEmitterAtBone |
CreateEmitterAtBone(entity, bone, army, emitter_blueprint) |
|
|
|
Sim |
Sim. |
CreateEmitterAtEntity |
CreateEmitterAtEntity(entity,army,emitter_bp_name) |
|
|
|
Sim |
Sim. |
CreateEmitterOnEntity |
CreateEmitterOnEntity(entity,army,emitter_bp_name) |
|
|
|
Sim |
Sim. |
CreateFootPlantController |
CreateFootPlantController(unit, footBone, kneeBone, hipBone, [straightLegs], [maxFootFall]) |
|
|
|
Sim |
Sim. |
CreateInitialArmyUnit |
CreateInitialArmyUnit(armyName, initialUnitName |
|
|
|
Sim |
Sim. |
CreateLightParticle |
CreateLightParticle(entity, bone, army, size, lifetime, textureName, rampName) |
|
|
|
Sim |
Sim. |
CreateLightParticleIntel |
CreateLightParticle(entity, bone, army, size, lifetime, textureName, rampName) |
|
|
|
Sim |
Sim. |
CreateProp |
CreateProp(location,prop_blueprint_id) |
|
|
|
Sim |
Sim. |
CreatePropHPR |
blueprint, x, y, z, heading, pitch, roll |
|
|
|
Sim |
Sim. |
CreateResourceDeposit |
type, x, y, z, size |
|
|
|
Sim |
Sim. |
CreateRotator |
manip = CreateRotator(unit, bone, axis, [goal], [speed], [accel], [goalspeed]) |
|
|
|
Sim |
Sim. |
CreateSlaver |
manip = CreateSlaver(unit, dest_bone, src_bone) |
Create a manipulator which copies the motion of src_bone onto dst_bone.Priority matters! Only manipulators which come before the slave manipulator will be copied. |
|
|
Sim |
Sim. |
CreateSlider |
CreateSlider(unit, bone, [goal_x, goal_y, goal_z, [speed, [world_space]]]) |
|
|
|
Sim |
Sim. |
CreateSplat |
CreateSplat(position, heading, textureName, sizeX, sizeZ, lodParam, duration, army, fidelity) |
|
|
|
Sim |
Sim. |
CreateSplatOnBone |
CreateSplatOnBone(boneName, offset, textureName, sizeX, sizeZ, lodParam, duration, army) |
Add a splat to the game at an entity bone position and heading. |
|
|
Sim |
Sim. |
CreateStorageManip |
CreateStorageManip(unit, bone, resouceName, minX, minY, minZ, maxX, maxY, maxZ) |
|
|
|
Sim |
Sim. |
CreateThrustController |
CreateThrustController(unit, label, thrustBone) |
|
|
|
Sim |
Sim. |
CreateTrail |
CreateTrail(entity, bone, army, trail_blueprint) |
|
|
|
Sim |
Sim. |
CreateUnit |
blueprint, army, tx, ty, tz, qx, qy, qz, qw, [layer] |
|
|
|
Sim |
Sim. |
CreateUnit2 |
blueprint, army, layer, x, z, heading |
|
|
|
Sim |
Sim. |
CreateUnitHPR |
blueprint, army, x, y, z, pitch, yaw, roll |
|
|
|
Sim |
Sim. |
Damage |
Damage(instigator, target, amount, damageType) |
|
|
|
Sim |
Sim. |
DamageArea |
DamageArea(instigator,location,radius,amount,damageType,damageFriendly,[damageSelf]) |
|
|
|
Sim |
Sim. |
DamageRing |
DamageRing(instigator,location,minRadius,maxRadius,amount,damageType,damageFriendly,[damageSelf]) |
|
|
|
Sim |
Sim. |
DebugGetSelection |
Get DEBUG info for UI selection |
|
|
|
Sim |
Sim. |
DrawCircle |
Draw a 3d circle at a with size s and color c |
|
|
|
Sim |
Sim. |
DrawLine |
Draw a 3d line from a to b with color c |
|
|
|
Sim |
Sim. |
DrawLinePop |
Draw a 3d line from a to b with color c with a circle at the end of the target line |
|
|
|
Sim |
Sim. |
EconomyEventIsDone |
bool = EconomyEventIsDone(event) |
|
|
|
Sim |
Sim. |
EndGame |
Signal the end of the game. Acts like a permanent pause. |
|
|
|
Sim |
Sim. |
EntityCategoryContains |
See if a unit category contains this unit |
|
|
|
Sim |
Sim. |
EntityCategoryCount |
Count how many units fit the specified category |
|
|
|
Sim |
Sim. |
EntityCategoryCountAroundPosition |
Count how many units fit the specified category around a position |
|
|
|
Sim |
Sim. |
EntityCategoryFilterDown |
Filter a list of units to only those found in the category |
|
|
|
Sim |
Sim. |
FlattenMapRect |
FlattenRect(x, z, sizex, sizez, elevation) |
|
|
|
Sim |
Sim. |
FlushIntelInRect |
FlushIntelInRect( minX, minZ, maxX, maxZ ) |
|
|
|
Sim |
Sim. |
GenerateArmyStart |
army |
|
|
|
Sim |
Sim. |
GenerateRandomOrientation |
rotation = GenerateRandomOrientation() |
|
|
|
Sim |
Sim. |
GetArmyBrain |
army |
|
|
|
Sim |
Sim. |
GetArmyUnitCap |
army |
|
|
|
Sim |
Sim. |
GetArmyUnitCostTotal |
army |
|
|
|
Sim |
Sim. |
GetBlueprint |
blueprint = GetBlueprint(entity) |
|
|
|
Sim |
Sim. |
GetCurrentCommandSource |
Return the (1 based) index of the current command source. |
|
|
|
Sim |
Sim. |
GetEntitiesInRect |
Return the enitities inside the given rectangle |
|
|
|
Sim |
Sim. |
GetEntityById |
Get entity by entity id |
|
|
|
Sim |
Sim. |
GetFocusArmy |
GetFocusArmy() |
|
|
|
Sim |
Sim. |
GetGameTick |
Get the current game time in ticks. The game time is the simulation time, that stops when the game is paused. |
|
|
|
Sim |
Sim. |
GetGameTimeSeconds |
Get the current game time in seconds. The game time is the simulation time, that stops when the game is paused. |
|
|
|
Sim |
Sim. |
GetMapSize |
sizeX, sizeZ = GetMapSize() |
|
|
|
Sim |
Sim. |
GetReclaimablesInRect |
Return the reclamable things inside the given rectangle |
|
|
|
Sim |
Sim. |
GetSurfaceHeight |
type = GetSurfaceHeight(x,z) |
|
|
|
Sim |
Sim. |
GetSystemTimeSecondsOnlyForProfileUse |
float GetSystemTimeSecondsOnlyForProfileUse() - returns System time in seconds |
|
|
|
Sim |
Sim. |
GetTerrainHeight |
type = GetTerrainHeight(x,z) |
|
|
|
Sim |
Sim. |
GetTerrainType |
type = GetTerrainType(x,z) |
|
|
|
Sim |
Sim. |
GetTerrainTypeOffset |
type = GetTerrainTypeOffset(x,z) |
|
|
|
Sim |
Sim. |
GetUnitBlueprintByName |
blueprint = GetUnitBlueprintByName(bpName) |
|
|
|
Sim |
Sim. |
GetUnitById |
Get entity by entity id |
|
|
|
Sim |
Sim. |
GetUnitsInRect |
Return the units inside the given rectangle |
|
|
|
Sim |
Sim. |
HasLocalizedVO |
HasLocalizedVO(language) |
|
|
|
Sim |
Sim. |
InitializeArmyAI |
army |
|
|
|
Sim |
Sim. |
IsAlly |
IsAlly(army1,army2) |
|
|
|
Sim |
Sim. |
IsBlip |
Blip = IsBlip(entity) |
|
|
|
Sim |
Sim. |
IsCollisionBeam |
CollisionBeam = IsCollisionBeam(entity) |
|
|
|
Sim |
Sim. |
IsCommandDone |
IsCommandDone |
|
|
|
Sim |
Sim. |
IsEnemy |
IsEnemy(army1,army2) |
|
|
|
Sim |
Sim. |
IsEntity |
bool = IsEntity(object) |
|
|
|
Sim |
Sim. |
IsGameOver |
Return true if the game is over (i.e. EndGame() has been called). |
|
|
|
Sim |
Sim. |
IsNeutral |
IsNeutral(army1,army2) |
|
|
|
Sim |
Sim. |
IsProjectile |
Projectile = IsProjectile(entity) |
|
|
|
Sim |
Sim. |
IsProp |
Prop = IsProp(entity) |
|
|
|
Sim |
Sim. |
IssueAggressiveMove |
IssueAggressiveMove |
|
|
|
Sim |
Sim. |
IssueAttack |
IssueAttack |
|
|
|
Sim |
Sim. |
IssueBuildFactory |
IssueBuildFactory |
|
|
|
Sim |
Sim. |
IssueBuildMobile |
IssueBuildMobile |
|
|
|
Sim |
Sim. |
IssueCapture |
IssueCapture |
|
|
|
Sim |
Sim. |
IssueClearCommands |
IssueClearCommands |
|
|
|
Sim |
Sim. |
IssueClearFactoryCommands |
IssueClearFactoryCommands |
|
|
|
Sim |
Sim. |
IssueDestroySelf |
IssueDestroySelf |
|
|
|
Sim |
Sim. |
IssueDive |
IssueDive |
|
|
|
Sim |
Sim. |
IssueFactoryAssist |
IssueFactoryAssist |
|
|
|
Sim |
Sim. |
IssueFactoryRallyPoint |
IssueFactoryRallyPoint |
|
|
|
Sim |
Sim. |
IssueFerry |
IssueFerry |
|
|
|
Sim |
Sim. |
IssueFormAggressiveMove |
IssueFormAggressiveMove |
|
|
|
Sim |
Sim. |
IssueFormAttack |
IssueFormAttack |
|
|
|
Sim |
Sim. |
IssueFormMove |
IssueFormMove |
|
|
|
Sim |
Sim. |
IssueFormPatrol |
IssueFormPatrol |
|
|
|
Sim |
Sim. |
IssueGuard |
IssueGuard |
|
|
|
Sim |
Sim. |
IssueKillSelf |
IssueKillSelf |
|
|
|
Sim |
Sim. |
IssueMove |
IssueMove |
|
|
|
Sim |
Sim. |
IssueMoveOffFactory |
IssueMoveOffFactory |
|
|
|
Sim |
Sim. |
IssueNuke |
IssueNuke |
|
|
|
Sim |
Sim. |
IssueOverCharge |
IssueOverCharge |
|
|
|
Sim |
Sim. |
IssuePatrol |
IssuePatrol |
|
|
|
Sim |
Sim. |
IssuePause |
IssuePause |
|
|
|
Sim |
Sim. |
IssueReclaim |
IssueReclaim |
|
|
|
Sim |
Sim. |
IssueRepair |
IssueRepair |
|
|
|
Sim |
Sim. |
IssueSacrifice |
IssueSacrifice |
|
|
|
Sim |
Sim. |
IssueScript |
IssueScript |
|
|
|
Sim |
Sim. |
IssueSiloBuildNuke |
IssueSiloBuildNuke |
|
|
|
Sim |
Sim. |
IssueSiloBuildTactical |
IssueSiloBuildTactical |
|
|
|
Sim |
Sim. |
IssueStop |
IssueStop |
|
|
|
Sim |
Sim. |
IssueTactical |
IssueTactical |
|
|
|
Sim |
Sim. |
IssueTeleport |
IssueTeleport |
|
|
|
Sim |
Sim. |
IssueTeleportToBeacon |
IssueTeleportToBeacon |
|
|
|
Sim |
Sim. |
IssueTransportLoad |
IssueTransportLoad |
|
|
|
Sim |
Sim. |
IssueTransportUnload |
IssueTransportUnload |
|
|
|
Sim |
Sim. |
IssueTransportUnloadSpecific |
IssueTransportUnloadSpecific |
|
|
|
Sim |
Sim. |
IssueUpgrade |
IssueUpgrade |
|
|
|
Sim |
Sim. |
IsUnit |
Unit = IsUnit(entity) |
|
|
|
Sim |
Sim. |
ListArmies |
|
|
|
|
Sim |
Sim. |
LUnitMove |
ScriptTask.LUnitMove(self,target) |
|
|
|
Sim |
Sim. |
LUnitMoveNear |
ScriptTask.LUnitMoveNear(self,target,range) |
|
|
|
Sim |
Sim. |
MetaImpact |
MetaImpact(instigator,location,fMaxRadius,iAmount,affectsCategory,[damageFriendly]) |
|
|
|
Sim |
Sim. |
NotifyUpgrade |
NotifyUpgrade(from,to) |
|
|
|
Sim |
Sim. |
OkayToMessWithArmy |
Return true if the current command source is authorized to mess with the given army. Or if cheats are enabled. |
|
|
|
Sim |
Sim. |
ParseEntityCategory |
parse a string to generate a new entity category |
|
|
|
Sim |
Sim. |
PlayLoop |
handle = PlayLoop(self,sndParams) |
|
|
|
Sim |
Sim. |
print |
Print a log message |
|
|
|
Sim |
Sim. |
Random |
Random([[min,] max]) |
|
|
|
Sim |
Sim. |
RemoveBuildRestriction |
RemoveBuildRestriction(army,category) - Remove a category from the restricted list |
|
|
|
Sim |
Sim. |
RemoveEconomyEvent |
RemoveEconomyEvent(unit, event) |
|
|
|
Sim |
Sim. |
SelectedUnit |
unit = SelectedUnit() -- Returns the currently selected unit. For use at the lua console, so you can call Lua methods on a unit. |
|
|
|
Sim |
Sim. |
SetAlliance |
SetAlliance(army1,army2, |
Enemy |
Ally> |
|
Sim |
Sim. |
SetAllianceOneWay |
SetAllianceOneWay(army1,army2, |
Enemy |
Ally> |
|
Sim |
Sim. |
SetAlliedVictory |
SetAlliedVictory(army,bool) |
|
|
|
Sim |
Sim. |
SetArmyAIPersonality |
SetArmyAIPersonality(army,personality) |
|
|
|
Sim |
Sim. |
SetArmyColor |
SetArmyColor(army,r,g,b) |
|
|
|
Sim |
Sim. |
SetArmyColorIndex |
SetArmyColorIndex(army,index) |
|
|
|
Sim |
Sim. |
SetArmyEconomy |
army, mass, energy |
|
|
|
Sim |
Sim. |
SetArmyFactionIndex |
SetArmyFactionIndex(army,index) |
|
|
|
Sim |
Sim. |
SetArmyOutOfGame |
SetArmyOutOfGame(army) -- indicate that the supplied army has been defeated. |
|
|
|
Sim |
Sim. |
SetArmyPlans |
army, plans |
|
|
|
Sim |
Sim. |
SetArmyShowScore |
SetArmyColor(army, bool) - determines if the user should be able to see the army score |
|
|
|
Sim |
Sim. |
SetArmyStart |
army, x, z |
|
|
|
Sim |
Sim. |
SetArmyStatsSyncArmy |
Set the army index for which to sync army stats (-1 for none) |
|
|
|
Sim |
Sim. |
SetArmyUnitCap |
army, unitCap |
|
|
|
Sim |
Sim. |
SetIgnoreArmyUnitCap |
army, flag |
|
|
|
Sim |
Sim. |
SetIgnorePlayableRect |
army, flag |
|
|
|
Sim |
Sim. |
SetPlayableRect |
SetPlayableRect( minX, minZ, maxX, maxZ ) |
|
|
|
Sim |
Sim. |
SetTerrainType |
SetTerrainType(x,z,type) |
|
|
|
Sim |
Sim. |
SetTerrainTypeRect |
SetTerrainType(rect,type) |
|
|
|
Sim |
Sim. |
ShouldCreateInitialArmyUnits |
|
|
|
|
Sim |
Sim. |
SimConExecute |
SimConExecute('command string') -- Perform a console command |
|
|
|
Sim |
Sim. |
SplitProp |
SplitProp(original, blueprint_name) -- split a prop into multiple child props, one per bone; returns all the created props |
|
|
|
Sim |
Sim. |
StopLoop |
StopLoop(self,handle) |
|
|
|
Sim |
Sim. |
SubmitXMLArmyStats |
Request that we submit xml army stats to gpg.net. |
|
|
|
Sim |
Sim. |
TryCopyPose |
TryCopyPose(unitFrom,entityTo,bCopyWorldTransform) |
|
|
|
Sim |
Sim. |
Warp |
Warp( unit, location, [orientation] ) |
|
|
|
Sim |
Sim.CAiAttackerImpl |
CanAttackTarget |
Loop through the weapons to see if the target can be attacked |
|
|
|
Sim |
Sim.CAiAttackerImpl |
FindBestEnemy |
Find the best enemy target for a weapon |
|
|
|
Sim |
Sim.CAiAttackerImpl |
ForceEngage |
Force to engage enemy target |
|
|
|
Sim |
Sim.CAiAttackerImpl |
GetDesiredTarget |
Get the desired target |
|
|
|
Sim |
Sim.CAiAttackerImpl |
GetMaxWeaponRange |
Loop through the weapons to find the weapon with the longest range that is not manual fire |
|
|
|
Sim |
Sim.CAiAttackerImpl |
GetPrimaryWeapon |
Loop through the weapons to find our primary weapon |
|
|
|
Sim |
Sim.CAiAttackerImpl |
GetTargetWeapon |
Loop through the weapons to find one that we can use to attack target |
|
|
|
Sim |
Sim.CAiAttackerImpl |
GetUnit |
Returns the unit this attacker is bound to. |
|
|
|
Sim |
Sim.CAiAttackerImpl |
GetWeaponCount |
Return the count of weapons |
|
|
|
Sim |
Sim.CAiAttackerImpl |
HasSlavedTarget |
Check if the attack has a slaved weapon that currently has a target |
|
|
|
Sim |
Sim.CAiAttackerImpl |
IsTargetExempt |
Check if the target is exempt from being attacked |
|
|
|
Sim |
Sim.CAiAttackerImpl |
IsTooClose |
Check if the target is too close to our weapons |
|
|
|
Sim |
Sim.CAiAttackerImpl |
IsWithinAttackRange |
Check if the target is within any weapon range |
|
|
|
Sim |
Sim.CAiAttackerImpl |
moho.CAiAttackerImpl_methods |
|
|
|
|
Sim |
Sim.CAiAttackerImpl |
ResetReportingState |
Reset reporting state |
|
|
|
Sim |
Sim.CAiAttackerImpl |
SetDesiredTarget |
Set the desired target |
|
|
|
Sim |
Sim.CAiAttackerImpl |
Stop |
Stop the attacker |
|
|
|
Sim |
Sim.CAiBrain |
AssignThreatAtPosition |
CAiBrain:AssignThreatAtPosition(position, threat, [decay], [threattype]) |
|
|
|
Sim |
Sim.CAiBrain |
AssignUnitsToPlatoon |
CAiBrain:AssignUnitsToPlatoon() |
|
|
|
Sim |
Sim.CAiBrain |
BuildPlatoon |
brain:BuildPlatoon() |
|
|
|
Sim |
Sim.CAiBrain |
BuildStructure |
brain:BuildStructure(builder, structureName, locationInfo) |
|
|
|
Sim |
Sim.CAiBrain |
BuildUnit |
brain:BuildUnit() |
|
|
|
Sim |
Sim.CAiBrain |
CanBuildPlatoon |
brain:CanBuildPlatoon() |
|
|
|
Sim |
Sim.CAiBrain |
CanBuildStructureAt |
brain:CanBuildStructureAt(blueprint, location) |
|
|
|
Sim |
Sim.CAiBrain |
CheckBlockingTerrain |
CAiBrain:CheckBlockingTerrain( startPos, endPos, arcType ) |
|
|
|
Sim |
Sim.CAiBrain |
CreateResourceBuildingNearest |
brain:CreateResourceBuildingNearest(structureName, posX, posY) |
|
|
|
Sim |
Sim.CAiBrain |
CreateUnitNearSpot |
brain:CreateUnitNearSpot(unitName, posX, posY) |
|
|
|
Sim |
Sim.CAiBrain |
DecideWhatToBuild |
brain:DecideWhatToBuild(builder, type, buildingTypes) |
|
|
|
Sim |
Sim.CAiBrain |
DisbandPlatoon |
CAiBrain:DisbandPlatoon() |
|
|
|
Sim |
Sim.CAiBrain |
DisbandPlatoonUniquelyNamed |
CAiBrain:DisbandPlatoonUniquelyNamed() |
|
|
|
Sim |
Sim.CAiBrain |
FindClosestArmyWithBase |
CAiBrain:FindClosestArmyWithBase() |
|
|
|
Sim |
Sim.CAiBrain |
FindPlaceToBuild |
brain:FindPlaceToBuild(type, structureName, buildingTypes, relative, builder, optIgnoreAlliance, optOverridePosX, optOverridePosZ, optIgnoreThreatOver) |
|
|
|
Sim |
Sim.CAiBrain |
FindUnit |
brain:FindUnit(unitCategory, needToBeIdle) -- Return an unit that matches the unit name (can specify idle or not) |
|
|
|
Sim |
Sim.CAiBrain |
FindUnitToUpgrade |
brain:FindUnitToUpgrade(upgradeList) -- Return a unit and it's upgrade blueprint |
|
|
|
Sim |
Sim.CAiBrain |
FindUpgradeBP |
brain:FindUpgradeBP(unitName, upgradeList) -- Return an upgrade blueprint for the unit passed in |
|
|
|
Sim |
Sim.CAiBrain |
GetArmyIndex |
Returns the ArmyIndex of the army represented by this brain |
|
|
|
Sim |
Sim.CAiBrain |
GetArmyStartPos |
brain:GetArmyStartPos() |
|
|
|
Sim |
Sim.CAiBrain |
GetArmyStat |
brain:GetArmyStat(StatName,defaultValue) |
|
|
|
Sim |
Sim.CAiBrain |
GetAttackVectors |
CAiBrain:GetAttackVectors() |
|
|
|
Sim |
Sim.CAiBrain |
GetAvailableFactories |
brain:GetAvailableFactories() |
|
|
|
Sim |
Sim.CAiBrain |
GetBlueprintStat |
Return a blueprint stat filtered by category |
|
|
|
Sim |
Sim.CAiBrain |
GetCurrentEnemy |
Return this brain's current enemy |
|
|
|
Sim |
Sim.CAiBrain |
GetCurrentUnits |
Return how many units of the given categories exist |
|
|
|
Sim |
Sim.CAiBrain |
GetEconomyIncome |
CAiBrain:GetEconomyIncome() |
|
|
|
Sim |
Sim.CAiBrain |
GetEconomyRequested |
CAiBrain:GetEconomyRequested() |
|
|
|
Sim |
Sim.CAiBrain |
GetEconomyStored |
CAiBrain:GetEconomyStored() |
|
|
|
Sim |
Sim.CAiBrain |
GetEconomyStoredRatio |
CAiBrain:GetEconomyStoredRatio() |
|
|
|
Sim |
Sim.CAiBrain |
GetEconomyTrend |
CAiBrain:GetEconomyTrend() |
|
|
|
Sim |
Sim.CAiBrain |
GetEconomyUsage |
CAiBrain:GetEconomyUsage() |
|
|
|
Sim |
Sim.CAiBrain |
GetFactionIndex |
Returns the faction of the army represented by this brain |
|
|
|
Sim |
Sim.CAiBrain |
GetHighestThreatPosition |
CAiBrain:GetHighestThreatPosition( ring, restriction, [threatType], [armyIndex] ) |
|
|
|
Sim |
Sim.CAiBrain |
GetListOfUnits |
brain:GetListOfUnits(entityCategory, needToBeIdle, requireBuilt) |
|
|
|
Sim |
Sim.CAiBrain |
GetMapWaterRatio |
CAiBrain:GetMapWaterRatio() |
|
|
|
Sim |
Sim.CAiBrain |
GetNoRushTicks |
CAiBrain:GetNoRushTicks() |
|
|
|
Sim |
Sim.CAiBrain |
GetNumPlatoonsTemplateNamed |
GetNumPlatoonsTemplateNamed |
|
|
|
Sim |
Sim.CAiBrain |
GetNumPlatoonsWithAI |
GetNumPlatoonsWithAI |
|
|
|
Sim |
Sim.CAiBrain |
GetNumUnitsAroundPoint |
CAiBrain:GetNumUnitsAroundPoint() |
|
|
|
Sim |
Sim.CAiBrain |
GetPersonality |
Return the personality for this brain to use |
|
|
|
Sim |
Sim.CAiBrain |
GetPlatoonsList |
CAiBrain:GetPlatoonsList() |
|
|
|
Sim |
Sim.CAiBrain |
GetPlatoonUniquelyNamed |
CAiBrain:GetPlatoonUniquelyNamed() |
|
|
|
Sim |
Sim.CAiBrain |
GetThreatAtPosition |
CAiBrain:GetThreatAtPosition(position, ring, restriction, [threatType], [armyIndex] ) |
|
|
|
Sim |
Sim.CAiBrain |
GetThreatBetweenPositions |
CAiBrain:GetThreatBetweenPositions( position, position, restriction, [threatType], [armyIndex] ) |
|
|
|
Sim |
Sim.CAiBrain |
GetThreatsAroundPosition |
CAiBrain:GetThreatsAroundPosition( position, ring, restriction, [threatType], [armyIndex] ) |
|
|
|
Sim |
Sim.CAiBrain |
GetUnitBlueprint |
blueprint = brain:GetUnitBlueprint(bpName) |
|
|
|
Sim |
Sim.CAiBrain |
GetUnitsAroundPoint |
CAiBrain:GetUnitsAroundPoint() |
|
|
|
Sim |
Sim.CAiBrain |
GiveResource |
GiveResource(type,amount) |
|
|
|
Sim |
Sim.CAiBrain |
GiveStorage |
GiveStorage(type,amount) |
|
|
|
Sim |
Sim.CAiBrain |
IsAnyEngineerBuilding |
brain:IsAnyEngineerBuilding(category) |
|
|
|
Sim |
Sim.CAiBrain |
IsOpponentAIRunning |
Returns true if opponent AI should be running |
|
|
|
Sim |
Sim.CAiBrain |
MakePlatoon |
CAiBrain:MakePlatoon() |
|
|
|
Sim |
Sim.CAiBrain |
moho.aibrain_methods |
|
|
|
|
Sim |
Sim.CAiBrain |
NumCurrentlyBuilding |
brain:NumCurrentlyBuilding( entityCategoryOfBuildee, entityCategoryOfBuilder ) |
|
|
|
Sim |
Sim.CAiBrain |
PickBestAttackVector |
CAiBrain:PickBestAttackVector() |
|
|
|
Sim |
Sim.CAiBrain |
PlatoonExists |
CAiBrain:PlatoonExists() |
|
|
|
Sim |
Sim.CAiBrain |
RemoveArmyStatsTrigger |
Remove an army stats trigger |
|
|
|
Sim |
Sim.CAiBrain |
SetArmyStat |
SetArmyStat(statname,val) |
|
|
|
Sim |
Sim.CAiBrain |
SetArmyStatsTrigger |
Sets an army stat trigger |
|
|
|
Sim |
Sim.CAiBrain |
SetCurrentEnemy |
Set the current enemy for this brain to attack |
|
|
|
Sim |
Sim.CAiBrain |
SetCurrentPlan |
Set the current plan for this brain to run |
|
|
|
Sim |
Sim.CAiBrain |
SetGreaterOf |
SetGreaterOf(statname,val) |
|
|
|
Sim |
Sim.CAiBrain |
SetResourceSharing |
SetResourceSharing(bool) |
|
|
|
Sim |
Sim.CAiBrain |
SetUpAttackVectorsToArmy |
CAiBrain:SetUpAttackVectorsToArmy() |
|
|
|
Sim |
Sim.CAiBrain |
TakeResource |
taken = TakeResource(type,amount) |
|
|
|
Sim |
Sim.CAimManipulator |
base |
derived from IAniManipulator |
|
|
|
Sim |
Sim.CAimManipulator |
moho.AimManipulator |
|
|
|
|
Sim |
Sim.CAimManipulator |
OnTarget |
AimManipulator:OnTarget() |
|
|
|
Sim |
Sim.CAimManipulator |
SetAimHeadingOffset |
AimManipulator:SetAimHeadingOffset( offset ) |
|
|
|
Sim |
Sim.CAimManipulator |
SetEnabled |
AimManipulator:SetEnabled(flag) |
|
|
|
Sim |
Sim.CAimManipulator |
SetFiringArc |
AimManipulator:SetFiringArc(minHeading, maxHeading, headingMaxSlew, minPitch, maxPitch, pitchMaxSlew) |
|
|
|
Sim |
Sim.CAimManipulator |
SetHeadingPitch |
AimManipulator:SetHeadingPitch( heading, pitch ) |
|
|
|
Sim |
Sim.CAimManipulator |
SetResetPoseTime |
AimManipulator:SetResetPoseTime(resetTime) |
|
|
|
Sim |
Sim.CAiNavigatorImpl |
AtGoal |
|
|
|
|
Sim |
Sim.CAiNavigatorImpl |
BroadcastResumeTaskEvent |
Broadcast event to resume any listening task that is currently suspended |
|
|
|
Sim |
Sim.CAiNavigatorImpl |
CanPathToGoal |
|
|
|
|
Sim |
Sim.CAiNavigatorImpl |
FollowingLeader |
|
|
|
|
Sim |
Sim.CAiNavigatorImpl |
GetCurrentTargetPos |
This returns the current navigator target position for the unit |
|
|
|
Sim |
Sim.CAiNavigatorImpl |
GetGoalPos |
This returns the current goal position of our navigator |
|
|
|
Sim |
Sim.CAiNavigatorImpl |
GetStatus |
|
|
|
|
Sim |
Sim.CAiNavigatorImpl |
HasGoodPath |
|
|
|
|
Sim |
Sim.CAiNavigatorImpl |
IgnoreFormation |
|
|
|
|
Sim |
Sim.CAiNavigatorImpl |
IsIgnorningFormation |
|
|
|
|
Sim |
Sim.CAiNavigatorImpl |
moho.navigator_methods |
|
|
|
|
Sim |
Sim.CAiNavigatorImpl |
SetDestUnit |
Set the navigator's destination as another unit (chase/follow) |
|
|
|
Sim |
Sim.CAiNavigatorImpl |
SetGoal |
Set the navigator's destination as a particular position |
|
|
|
Sim |
Sim.CAiNavigatorImpl |
SetSpeedThroughGoal |
Set flag in navigator so the unit will know whether to stop at final goal or speed through it. This would be set to True during a patrol or a series of waypoints in a complex path. |
|
|
|
Sim |
Sim.CAiPersonality |
GetAirUnitsEmphasis |
CAiPersonality:GetAirUnitsEmphasis() |
|
|
|
Sim |
Sim.CAiPersonality |
GetArmySize |
CAiPersonality:GetArmySize() |
|
|
|
Sim |
Sim.CAiPersonality |
GetAttackFrequency |
CAiPersonality:GetAttackFrequency() |
|
|
|
Sim |
Sim.CAiPersonality |
GetBotUnitsEmphasis |
CAiPersonality:GetBotUnitsEmphasis() |
|
|
|
Sim |
Sim.CAiPersonality |
GetChatFrequency |
CAiPersonality:GetChatFrequency() |
|
|
|
Sim |
Sim.CAiPersonality |
GetChatPersonality |
CAiPersonality:GetChatPersonality() |
|
|
|
Sim |
Sim.CAiPersonality |
GetCoordinatedAttacks |
CAiPersonality:GetCoordinatedAttacks() |
|
|
|
Sim |
Sim.CAiPersonality |
GetCounterForces |
CAiPersonality:GetCounterForces() |
|
|
|
Sim |
Sim.CAiPersonality |
GetDefenseDriven |
CAiPersonality:GetDefenseDriven() |
|
|
|
Sim |
Sim.CAiPersonality |
GetDifficulty |
CAiPersonality:GetDifficulty() |
|
|
|
Sim |
Sim.CAiPersonality |
GetDirectDamageEmphasis |
CAiPersonality:GetDirectDamageEmphasis() |
|
|
|
Sim |
Sim.CAiPersonality |
GetEconomyDriven |
CAiPersonality:GetEconomyDriven() |
|
|
|
Sim |
Sim.CAiPersonality |
GetExpansionDriven |
CAiPersonality:GetExpansionDriven() |
|
|
|
Sim |
Sim.CAiPersonality |
GetFactoryTycoon |
CAiPersonality:GetFactoryTycoon() |
|
|
|
Sim |
Sim.CAiPersonality |
GetFavouriteStructures |
CAiPersonality:GetFavouriteStructures() |
|
|
|
Sim |
Sim.CAiPersonality |
GetFavouriteUnits |
CAiPersonality:GetFavouriteUnits() |
|
|
|
Sim |
Sim.CAiPersonality |
GetFormationUse |
CAiPersonality:GetFormationUse() |
|
|
|
Sim |
Sim.CAiPersonality |
GetInDirectDamageEmphasis |
CAiPersonality:GetInDirectDamageEmphasis() |
|
|
|
Sim |
Sim.CAiPersonality |
GetIntelBuildingTycoon |
CAiPersonality:GetIntelBuildingTycoon() |
|
|
|
Sim |
Sim.CAiPersonality |
GetIntelGathering |
CAiPersonality:GetIntelGathering() |
|
|
|
Sim |
Sim.CAiPersonality |
GetPersonalityName |
CAiPersonality:GetPersonalityName() |
|
|
|
Sim |
Sim.CAiPersonality |
GetPlatoonSize |
CAiPersonality:GetPlatoonSize() |
|
|
|
Sim |
Sim.CAiPersonality |
GetQuittingTendency |
CAiPersonality:GetQuittingTendency() |
|
|
|
Sim |
Sim.CAiPersonality |
GetRepeatAttackFrequency |
CAiPersonality:GetRepeatAttackFrequency() |
|
|
|
Sim |
Sim.CAiPersonality |
GetSeaUnitsEmphasis |
CAiPersonality:GetSeaUnitsEmphasis() |
|
|
|
Sim |
Sim.CAiPersonality |
GetSpecialtyForcesEmphasis |
CAiPersonality:GetSpecialtyForcesEmphasis() |
|
|
|
Sim |
Sim.CAiPersonality |
GetSuperWeaponTendency |
CAiPersonality:GetSuperWeaponTendency() |
|
|
|
Sim |
Sim.CAiPersonality |
GetSupportUnitsEmphasis |
CAiPersonality:GetSupportUnitsEmphasis() |
|
|
|
Sim |
Sim.CAiPersonality |
GetSurvivalEmphasis |
CAiPersonality:GetSurvivalEmphasis() |
|
|
|
Sim |
Sim.CAiPersonality |
GetTankUnitsEmphasis |
CAiPersonality:GetTankUnitsEmphasis() |
|
|
|
Sim |
Sim.CAiPersonality |
GetTargetSpread |
CAiPersonality:GetTargetSpread() |
|
|
|
Sim |
Sim.CAiPersonality |
GetTeamSupport |
CAiPersonality:GetTeamSupport() |
|
|
|
Sim |
Sim.CAiPersonality |
GetTechAdvancement |
CAiPersonality:GetTechAdvancement() |
|
|
|
Sim |
Sim.CAiPersonality |
GetUpgradesDriven |
CAiPersonality:GetUpgradesDriven() |
|
|
|
Sim |
Sim.CAiPersonality |
moho.aipersonality_methods |
|
|
|
|
Sim |
Sim.CAnimationManipulator |
base |
derived from IAniManipulator |
|
|
|
Sim |
Sim.CAnimationManipulator |
GetAnimationFraction |
fraction = AnimationManipulator:GetAnimationFraction() |
|
|
|
Sim |
Sim.CAnimationManipulator |
GetAnimationTime |
time = AnimationManipulator:GetAnimationTime() |
|
|
|
Sim |
Sim.CAnimationManipulator |
GetRate |
rate = AnimationManipulator:GetRate() |
|
|
|
Sim |
Sim.CAnimationManipulator |
moho.AnimationManipulator |
|
|
|
|
Sim |
Sim.CAnimationManipulator |
PlayAnim |
AnimManipulator:PlayAnim(entity, animName, looping=false) |
|
|
|
Sim |
Sim.CAnimationManipulator |
SetAnimationFraction |
AnimationManipulator:SetAnimationFraction(fraction) |
|
|
|
Sim |
Sim.CAnimationManipulator |
SetAnimationTime |
AnimationManipulator:SetAnimationTime(fraction) |
|
|
|
Sim |
Sim.CAnimationManipulator |
SetBoneEnabled |
AnimationManipulator:SetBoneEnabled(bone, value, include_decscendants=true) |
|
|
|
Sim |
Sim.CAnimationManipulator |
SetDirectionalAnim |
AnimationManipulator:SetDirectionalAnim(bool) |
|
|
|
Sim |
Sim.CAnimationManipulator |
SetDisableOnSignal |
AnimationManipulator:SetDisableOnSignal(bool) |
|
|
|
Sim |
Sim.CAnimationManipulator |
SetOverwriteMode |
AnimationManipulator:SetOverwriteMode(bool) |
|
|
|
Sim |
Sim.CAnimationManipulator |
SetRate |
AnimationManipulator:SetRate(rate) |
Set the relative rate at which this anim plays; 1.0 is normal speed. Rate can be negative to play backwards or 0 to pause. |
|
|
Sim |
Sim.CBoneEntityManipulator |
base |
derived from IAniManipulator |
|
|
|
Sim |
Sim.CBoneEntityManipulator |
moho.BoneEntityManipulator |
|
|
|
|
Sim |
Sim.CBuilderArmManipulator |
base |
derived from IAniManipulator |
|
|
|
Sim |
Sim.CBuilderArmManipulator |
moho.BuilderArmManipulator |
|
|
|
|
Sim |
Sim.CBuilderArmManipulator |
SetAimingArc |
BuilderArmManipulator:SetAimingArc(minHeading, maxHeading, headingMaxSlew, minPitch, maxPitch, pitchMaxSlew) |
|
|
|
Sim |
Sim.CBuilderArmManipulator |
SetHeadingPitch |
CBuilderArmManipulator:SetHeadingPitch( heading, pitch ) |
|
|
|
Sim |
Sim.CCollisionManipulator |
base |
derived from IAniManipulator |
|
|
|
Sim |
Sim.CCollisionManipulator |
Enable |
Fixme: this should just use base manipulator enable/disable |
|
|
|
Sim |
Sim.CCollisionManipulator |
EnableTerrainCheck |
Make manipulator check for terrain height intersection |
|
|
|
Sim |
Sim.CCollisionManipulator |
moho.CollisionManipulator |
|
|
|
|
Sim |
Sim.CCollisionManipulator |
WatchBone |
CollisionDetector:WatchBone(bone) -- add the given bone to those watched by this manipulator |
|
|
|
Sim |
Sim.CDamage |
GetTarget |
CDamage:GetTarget() |
|
|
|
Sim |
Sim.CDamage |
moho.CDamage |
|
|
|
|
Sim |
Sim.CDamage |
SetInstigator |
CDamage:SetInstigator() |
|
|
|
Sim |
Sim.CDamage |
SetTarget |
CDamage:SetTarget() |
|
|
|
Sim |
Sim.CDecalHandle |
moho.CDecalHandle |
|
|
|
|
Sim |
Sim.CEconomyEvent |
moho.EconomyEvent |
|
|
|
|
Sim |
Sim.CFootPlantManipulator |
moho.FootPlantManipulator |
|
|
|
|
Sim |
Sim.CollisionBeamEntity |
__init |
beam = CreateCollisionBeam(spec) |
spec is a table with the following fields defined: spec.Weapon = spec.OtherBone = spec.CollisionCheckInterval = spec.BeamBone = |
|
|
Sim |
Sim.CollisionBeamEntity |
base |
derived from Entity |
|
|
|
Sim |
Sim.CollisionBeamEntity |
Enable |
CollisionBeamEntity:Enable() |
|
|
|
Sim |
Sim.CollisionBeamEntity |
GetLauncher |
CollisionBeamEntity:GetLauncher() |
|
|
|
Sim |
Sim.CollisionBeamEntity |
IsEnabled |
bool = CollisionBeamEntity:IsEnabled() |
|
|
|
Sim |
Sim.CollisionBeamEntity |
moho.CollisionBeamEntity |
|
|
|
|
Sim |
Sim.CollisionBeamEntity |
SetBeamFx |
CollisionBeamEntity:SetBeamFx(beamEmitter, checkCollision) -- set an emitter to be controlled by this beam. Its length parameter will be set from the beam entity's collision distance. |
|
|
|
Sim |
Sim.CPlatoon |
AttackTarget |
CPlatoon:AttackTarget() |
|
|
|
Sim |
Sim.CPlatoon |
CalculatePlatoonThreat |
CPlatoon:CalculatePlatoonThreat() |
|
|
|
Sim |
Sim.CPlatoon |
CalculatePlatoonThreatAroundPosition |
CPlatoon:CalculatePlatoonThreatAroundPosition() |
|
|
|
Sim |
Sim.CPlatoon |
CanAttackTarget |
CPlatoon:CanAttackTarget() |
|
|
|
Sim |
Sim.CPlatoon |
CanConsiderFormingPlatoon |
CPlatoon:CanConsiderFormingPlatoon() |
|
|
|
Sim |
Sim.CPlatoon |
CanFormPlatoon |
CPlatoon:CanFormPlatoon() |
|
|
|
Sim |
Sim.CPlatoon |
Destroy |
CPlatoon:Destroy() |
|
|
|
Sim |
Sim.CPlatoon |
DisbandOnIdle |
CPlatoon:DisbandOnIdle() |
|
|
|
Sim |
Sim.CPlatoon |
FerryToLocation |
CPlatoon:FerryToLocation() |
|
|
|
Sim |
Sim.CPlatoon |
FindClosestUnit |
CPlatoon:FindClosestUnit() |
|
|
|
Sim |
Sim.CPlatoon |
FindClosestUnitToBase |
CPlatoon:FindClosestUnitToBase() |
|
|
|
Sim |
Sim.CPlatoon |
FindFurthestUnit |
CPlatoon:FindFurthestUnit() |
|
|
|
Sim |
Sim.CPlatoon |
FindHighestValueUnit |
CPlatoon:FindHighestValueUnit() |
|
|
|
Sim |
Sim.CPlatoon |
FindPrioritizedUnit |
CPlatoon:FindPrioritizedUnit() |
|
|
|
Sim |
Sim.CPlatoon |
FormPlatoon |
CPlatoon:FormPlatoon() |
|
|
|
Sim |
Sim.CPlatoon |
GetAIPlan |
CPlatoon:GetAIPlan() |
|
|
|
Sim |
Sim.CPlatoon |
GetBrain |
CPlatoon:GetBrain() |
|
|
|
Sim |
Sim.CPlatoon |
GetFactionIndex |
CPlatoon:GetFactionIndex() |
|
|
|
Sim |
Sim.CPlatoon |
GetFerryBeacons |
CPlatoon:GetFerryBeacons() |
|
|
|
Sim |
Sim.CPlatoon |
GetPersonality |
CPlatoon:GetPersonality() |
|
|
|
Sim |
Sim.CPlatoon |
GetPlatoonLifetimeStats |
CPlatoon:GetPlatoonLifetimeStats() |
|
|
|
Sim |
Sim.CPlatoon |
GetPlatoonPosition |
CPlatoon:GetPlatoonPosition() |
|
|
|
Sim |
Sim.CPlatoon |
GetPlatoonUniqueName |
CPlatoon:GetPlatoonUniqueName() |
|
|
|
Sim |
Sim.CPlatoon |
GetPlatoonUnits |
platoon:GetPlatoonUnits() |
|
|
|
Sim |
Sim.CPlatoon |
GetSquadPosition |
CPlatoon:GetSquadPosition() |
|
|
|
Sim |
Sim.CPlatoon |
GetSquadUnits |
CPlatoon:GetSquadUnits() |
|
|
|
Sim |
Sim.CPlatoon |
GuardTarget |
CPlatoon:GuardTarget() |
|
|
|
Sim |
Sim.CPlatoon |
IsAttacking |
CPlatoon:IsAttacking() |
|
|
|
Sim |
Sim.CPlatoon |
IsCommandsActive |
CPlatoon:IsCommandsActive() |
|
|
|
Sim |
Sim.CPlatoon |
IsFerrying |
CPlatoon:IsFerrying() |
|
|
|
Sim |
Sim.CPlatoon |
IsMoving |
CPlatoon:IsMoving() |
|
|
|
Sim |
Sim.CPlatoon |
IsOpponentAIRunning |
CPlatoon:IsOpponentAIRunning() |
|
|
|
Sim |
Sim.CPlatoon |
IsPatrolling |
CPlatoon:IsPatrolling() |
|
|
|
Sim |
Sim.CPlatoon |
LoadUnits |
CPlatoon:LoadUnits() |
|
|
|
Sim |
Sim.CPlatoon |
moho.platoon_methods |
|
|
|
|
Sim |
Sim.CPlatoon |
MoveToLocation |
CPlatoon:MoveToLocation() |
|
|
|
Sim |
Sim.CPlatoon |
MoveToTarget |
CPlatoon:MoveToTarget() |
|
|
|
Sim |
Sim.CPlatoon |
Patrol |
CPlatoon:Patrol() |
|
|
|
Sim |
Sim.CPlatoon |
PlatoonCategoryCount |
Count how many units fit the specified category |
|
|
|
Sim |
Sim.CPlatoon |
PlatoonCategoryCountAroundPosition |
Count how many units fit the specified category around a position |
|
|
|
Sim |
Sim.CPlatoon |
SetPlatoonFormationOverride |
CPlatoon:SetPlatoonFormationOverride() |
|
|
|
Sim |
Sim.CPlatoon |
SetPrioritizedTargetList |
CPlatoon:SetPrioritizedTargetList() |
|
|
|
Sim |
Sim.CPlatoon |
Stop |
CPlatoon:Stop() |
|
|
|
Sim |
Sim.CPlatoon |
SwitchAIPlan |
CPlatoon:SwitchAIPlan() |
|
|
|
Sim |
Sim.CPlatoon |
UniquelyNamePlatoon |
CPlatoon:UniquelyNamePlatoon() |
|
|
|
Sim |
Sim.CPlatoon |
UnloadAllAtLocation |
CPlatoon:UnloadAllAtLocation() |
|
|
|
Sim |
Sim.CPlatoon |
UnloadUnitsAtLocation |
CPlatoon:UnloadUnitsAtLocation() |
|
|
|
Sim |
Sim.CPlatoon |
UseFerryBeacon |
CPlatoon:UseFerryBeacon() |
|
|
|
Sim |
Sim.CPlatoon |
UseTeleporter |
CPlatoon:UseTeleporter() |
|
|
|
Sim |
Sim.CRotateManipulator |
base |
derived from IAniManipulator |
|
|
|
Sim |
Sim.CRotateManipulator |
ClearGoal |
RotateManipulator:ClearGoal() |
|
|
|
Sim |
Sim.CRotateManipulator |
GetCurrentAngle |
RotateManipulator:GetCurrentAngle() |
|
|
|
Sim |
Sim.CRotateManipulator |
moho.RotateManipulator |
|
|
|
|
Sim |
Sim.CRotateManipulator |
SetAccel |
RotateManipulator:SetAccel(degrees_per_second_squared) |
|
|
|
Sim |
Sim.CRotateManipulator |
SetCurrentAngle |
RotateManipulator:SetCurrentAngle(angle) |
|
|
|
Sim |
Sim.CRotateManipulator |
SetFollowBone |
RotateManipulator:SetFollowBone(bone) |
|
|
|
Sim |
Sim.CRotateManipulator |
SetGoal |
RotateManipulator:SetGoal(self, degrees) |
|
|
|
Sim |
Sim.CRotateManipulator |
SetSpeed |
RotateManipulator:SetSpeed(self, degrees_per_second) |
|
|
|
Sim |
Sim.CRotateManipulator |
SetSpinDown |
RotateManipulator:SetSpinDown(self, flag) |
|
|
|
Sim |
Sim.CRotateManipulator |
SetTargetSpeed |
RotateManipulator:SetTargetSpeed(degrees_per_second) |
|
|
|
Sim |
Sim.CSlaveManipulator |
base |
derived from IAniManipulator |
|
|
|
Sim |
Sim.CSlaveManipulator |
moho.SlaveManipulator |
|
|
|
|
Sim |
Sim.CSlideManipulator |
base |
derived from IAniManipulator |
|
|
|
Sim |
Sim.CSlideManipulator |
moho.SlideManipulator |
|
|
|
|
Sim |
Sim.CSlideManipulator |
SetAcceleration |
CSlideManipulator:SetAcceleration(acc) |
|
|
|
Sim |
Sim.CSlideManipulator |
SetDeceleration |
CSlideManipulator:SetDeceleration(dec) |
|
|
|
Sim |
Sim.CSlideManipulator |
SetGoal |
CSlideManipulator:SetGoal(goal_x, goal_y, goal_z) |
|
|
|
Sim |
Sim.CSlideManipulator |
SetSpeed |
CSlideManipulator:SetSpeed(speed) |
|
|
|
Sim |
Sim.CSlideManipulator |
SetWorldUnits |
CSlideManipulator:SetWorldUnits(bool) |
|
|
|
Sim |
Sim.CStorageManipulator |
moho.StorageManipulator |
|
|
|
|
Sim |
Sim.CThrustManipulator |
base |
derived from IAniManipulator |
|
|
|
Sim |
Sim.CThrustManipulator |
moho.ThrustManipulator |
|
|
|
|
Sim |
Sim.CUnitScriptTask |
moho.ScriptTask_Methods |
|
|
|
|
Sim |
Sim.CUnitScriptTask |
SetAIResult |
Set the AI result, success or fail |
|
|
|
Sim |
Sim.Entity |
AddManualScroller |
Entity:AddManualScroller(scrollSpeed1, scrollSpeed2) |
|
|
|
Sim |
Sim.Entity |
AddPingPongScroller |
Entity:AddPingPongScroller(ping1, pingSpeed1, pong1, pongSpeed1, ping2, pingSpeed2, pong2, pongSpeed2) |
|
|
|
Sim |
Sim.Entity |
AddShooter |
AddShooter(shooter) |
|
|
|
Sim |
Sim.Entity |
AddThreadScroller |
Entity:AddThreadScroller(sideDist, scrollMult) |
|
|
|
Sim |
Sim.Entity |
AddWorldImpulse |
AddWorldImpulse(self, Ix, Iy, Iz, Px, Py, Pz) |
|
|
|
Sim |
Sim.Entity |
AdjustHealth |
Entity:AdjustHealth(instigator, delta) |
|
|
|
Sim |
Sim.Entity |
AttachBoneTo |
Entity:AttachBoneTo(selfbone, entity, bone) |
|
|
|
Sim |
Sim.Entity |
AttachBoneToEntityBone |
Attach a unit bone position to an entity bone position |
|
|
|
Sim |
Sim.Entity |
AttachTo |
Entity:AttachTo(entity, bone) |
|
|
|
Sim |
Sim.Entity |
BeenDestroyed |
Entity:BeenDestroyed() |
|
|
|
Sim |
Sim.Entity |
CreateProjectile |
Entity:CreateProjectile(proj_bp, [ox, oy, oz], [dx, dy, dz] |
|
|
|
Sim |
Sim.Entity |
CreateProjectileAtBone |
Entity:CreateProjectileAtBone(projectile_blueprint, bone) |
|
|
|
Sim |
Sim.Entity |
CreatePropAtBone |
Entity:CreatePropAtBone(boneindex,prop_blueprint_id) |
|
|
|
Sim |
Sim.Entity |
Destroy |
Entity:Destroy() |
|
|
|
Sim |
Sim.Entity |
DetachAll |
Entity:DetachAll(bone,[skipBallistic]) |
|
|
|
Sim |
Sim.Entity |
DetachFrom |
Entity:DetachFrom([skipBallistic]) |
|
|
|
Sim |
Sim.Entity |
DisableIntel |
Intel:DisableIntel(type) |
|
|
|
Sim |
Sim.Entity |
EnableIntel |
EnableIntel(type) |
|
|
|
Sim |
Sim.Entity |
FallDown |
Entity:FallDown(dx,dy,dz,force) -- start falling down |
|
|
|
Sim |
Sim.Entity |
GetAIBrain |
GetAIBrain(self) |
|
|
|
Sim |
Sim.Entity |
GetArmy |
GetArmy(self) |
|
|
|
Sim |
Sim.Entity |
GetBlueprint |
blueprint = Entity:GetBlueprint() |
|
|
|
Sim |
Sim.Entity |
GetBoneCount |
Entity:GetBoneCount() -- returns number of bones in this entity's skeleton |
|
|
|
Sim |
Sim.Entity |
GetBoneDirection |
Entity:GetBoneDirection(bone_name) |
|
|
|
Sim |
Sim.Entity |
GetBoneName |
Entity:GetBoneName(i) -- return the name of the i'th bone of this entity (counting from 0) |
|
|
|
Sim |
Sim.Entity |
GetCollisionExtents |
Entity:GetCollisionExtents() |
|
|
|
Sim |
Sim.Entity |
GetEntityId |
Entity:GetEntityId() |
|
|
|
Sim |
Sim.Entity |
GetFractionComplete |
Entity:GetFractionComplete() |
|
|
|
Sim |
Sim.Entity |
GetHeading |
Entity:GetHeading() |
|
|
|
Sim |
Sim.Entity |
GetHealth |
Entity:GetHealth() |
|
|
|
Sim |
Sim.Entity |
GetIntelRadius |
GetIntelRadius(type) |
|
|
|
Sim |
Sim.Entity |
GetMaxHealth |
Entity:GetMaxHealth() |
|
|
|
Sim |
Sim.Entity |
GetOrientation |
Entity:GetOrientation() |
|
|
|
Sim |
Sim.Entity |
GetParent |
Entity:GetParent() |
|
|
|
Sim |
Sim.Entity |
GetPosition |
Entity:GetPosition([bone_name]) |
|
|
|
Sim |
Sim.Entity |
GetPositionXYZ |
Entity:GetPositionXYZ([bone_name]) |
|
|
|
Sim |
Sim.Entity |
GetScale |
Entity:GetScale() -> sx,sy,sz -- return current draw scale of this entity |
|
|
|
Sim |
Sim.Entity |
InitIntel |
InitIntel(army,type,) |
|
|
|
Sim |
Sim.Entity |
IsIntelEnabled |
IsIntelEnabled(type) |
|
|
|
Sim |
Sim.Entity |
IsValidBone |
Entity:IsValidBone(nameOrIndex,allowNil=false) |
|
|
|
Sim |
Sim.Entity |
Kill |
Entity:Kill(instigator,type,excessDamageRatio) |
|
|
|
Sim |
Sim.Entity |
moho.entity_methods |
|
|
|
|
Sim |
Sim.Entity |
PlaySound |
Entity:PlaySound(params) |
|
|
|
Sim |
Sim.Entity |
PushOver |
Entity:PushOver(nx, ny, nz, depth) |
|
|
|
Sim |
Sim.Entity |
ReachedMaxShooters |
ReachedMaxShooters() |
|
|
|
Sim |
Sim.Entity |
RemoveScroller |
Entity:RemoveScroller() |
|
|
|
Sim |
Sim.Entity |
RemoveShooter |
RemoveShooter(shooter) |
|
|
|
Sim |
Sim.Entity |
RequestRefreshUI |
Entity:RequestRefreshUI() |
|
|
|
Sim |
Sim.Entity |
SetAmbientSound |
Entity:SetAmbientSound(paramTableDetail,paramTableRumble) |
|
|
|
Sim |
Sim.Entity |
SetCollisionShape |
Entity:SetCollisionShape(['Box' |
'Sphere' |
'None'], centerX, Y, Z, size) -- size is radius for sphere, x,y,z extent for box |
|
Sim |
Sim.Entity |
SetDrawScale |
Entity:SetDrawScale(size): Change mesh scale on the fly |
|
|
|
Sim |
Sim.Entity |
SetHealth |
Entity:SetHealth(instigator,health) |
|
|
|
Sim |
Sim.Entity |
SetIntelRadius |
SetRadius(type,radius) |
|
|
|
Sim |
Sim.Entity |
SetMaxHealth |
Entity:SetMaxHealth(maxhealth) |
|
|
|
Sim |
Sim.Entity |
SetMesh |
Entity:SetMesh(meshBp, bool keepActor): Change mesh on the fly |
|
|
|
Sim |
Sim.Entity |
SetOrientation |
Entity:SetOrientation(orientation, immediately ) |
|
|
|
Sim |
Sim.Entity |
SetParentOffset |
Entity:SetParentOffset(vector) |
|
|
|
Sim |
Sim.Entity |
SetPosition |
Entity:SetPosition(vector,[immediate]) |
|
|
|
Sim |
Sim.Entity |
SetScale |
Entity:SetScale(s) or Entity:SetScale(sx,sy,sz) |
|
|
|
Sim |
Sim.Entity |
SetVizToAllies |
SetVizToAllies(type) |
|
|
|
Sim |
Sim.Entity |
SetVizToEnemies |
SetVizToEnemies(type) |
|
|
|
Sim |
Sim.Entity |
SetVizToFocusPlayer |
SetVizToFocusPlayer(type) |
|
|
|
Sim |
Sim.Entity |
SetVizToNeutrals |
SetVizToNeutrals(type) |
|
|
|
Sim |
Sim.Entity |
ShakeCamera |
Entity:ShakeCamera(radius, max, min, duration) |
Shake the camera. This is a method of entities rather than a global function because it takes the position of the entity as the epicenter where it shakes more. radius - distance from epicenter at which shaking falls off to 'min' max - size of shaking in world units, when looking at epicenter min - size of shaking in world units, when at 'radius' distance or farther duration - length of time to shake for, in seconds |
|
|
Sim |
Sim.Entity |
SinkAway |
Entity:SinkAway(vy) -- sink into the ground |
|
|
|
Sim |
Sim.IAniManipulator |
Disable |
Manipulator:Disable() -- disable a manipulator. This immediately removes it from the bone computation, which may result in the bone's position snapping. |
|
|
|
Sim |
Sim.IAniManipulator |
Enable |
Manipulator:Enable() -- enable a manipulator. Manipulators start out enabled so you only need this after calling Disable(). |
|
|
|
Sim |
Sim.IAniManipulator |
moho.manipulator_methods |
|
|
|
|
Sim |
Sim.IAniManipulator |
SetPrecedence |
Manipulator:SetPrecedence(integer) -- change the precedence of this manipulator. Manipulators with higher precedence run first. |
|
|
|
Sim |
Sim.IEffect |
moho.IEffect |
|
|
|
|
Sim |
Sim.IEffect |
OffsetEmitter |
Effect:OffsetEmitter(x,y,z) |
|
|
|
Sim |
Sim.IEffect |
ResizeEmitterCurve |
Effect:ResizeEmitterCurve(parameter, time_in_ticks)Resize the emitter curve to the number of ticks passed in. |
This is so if we change the lifetime of the emitter we can rescale some of the curves to match if needed. Arguably this should happen automatically to all curves but the original design was screwed up. returns the effect so you can chain calls like: effect:SetEmitterParam('x',1):ScaleEmitter(3.7) |
|
|
Sim |
Sim.IEffect |
ScaleEmitter |
effect:ScaleEmitter(param, scale) |
|
|
|
Sim |
Sim.IEffect |
SetBeamParam |
effect:SetBeamParam('name', value) |
|
|
|
Sim |
Sim.IEffect |
SetEmitterCurveParam |
Effect:SetEmitterCurveParam(param_name, height, size) |
|
|
|
Sim |
Sim.IEffect |
SetEmitterParam |
effect:SetEmitterParam('name', value)returns the effect so you can chain calls like: |
effect:SetEmitterParam('x',1):ScaleEmitter(3.7) |
|
|
Sim |
Sim.MotorFallDown |
moho.MotorFallDown |
|
|
|
|
Sim |
Sim.Projectile |
base |
derived from Entity |
|
|
|
Sim |
Sim.Projectile |
ChangeDetonateBelowHeight |
Change the detonate below height for the projectile |
|
|
|
Sim |
Sim.Projectile |
ChangeMaxZigZag |
Change the amount of zig zag |
|
|
|
Sim |
Sim.Projectile |
ChangeZigZagFrequency |
Change the frequency of the zig zag |
|
|
|
Sim |
Sim.Projectile |
CreateChildProjectile |
Projectile:CreateChildProjectile(blueprint) |
|
|
|
Sim |
Sim.Projectile |
GetCurrentSpeed |
Projectile:GetCurrentSpeed() -> val |
|
|
|
Sim |
Sim.Projectile |
GetCurrentTargetPosition |
Projectile:GetCurrentTargetPosition() |
|
|
|
Sim |
Sim.Projectile |
GetLauncher |
Get who launched this projectile |
|
|
|
Sim |
Sim.Projectile |
GetTrackingTarget |
Projectile:GetTrackingTarget() |
|
|
|
Sim |
Sim.Projectile |
GetVelocity |
Projectile:GetVelocity() -> x,y,z |
|
|
|
Sim |
Sim.Projectile |
moho.projectile_methods |
|
|
|
|
Sim |
Sim.Projectile |
SetAcceleration |
Projectile:SetAcceleration(accel) |
|
|
|
Sim |
Sim.Projectile |
SetBallisticAcceleration |
Wrong number of arguments to Projectile:SetAccelerationVector(), expected 1, 2, or 4 but got %d |
|
|
|
Sim |
Sim.Projectile |
SetCollideEntity |
Projectile:SetCollideEntity(onoff) |
|
|
|
Sim |
Sim.Projectile |
SetCollideSurface |
Projectile:SetCollideSurface(onoff) |
|
|
|
Sim |
Sim.Projectile |
SetCollision |
Projectile:SetCollision(onoff) |
|
|
|
Sim |
Sim.Projectile |
SetDamage |
Projectile:SetDamage(amount, radius) -- change how much damage this projectile will do. Either amount or radius can be nil to leave unchanged. |
|
|
|
Sim |
Sim.Projectile |
SetDestroyOnWater |
Projectile:SetDestroyOnWater(flag) |
|
|
|
Sim |
Sim.Projectile |
SetLifetime |
Projectile:SetLifetime(seconds) |
|
|
|
Sim |
Sim.Projectile |
SetLocalAngularVelocity |
Projectile:SetLocalAngularVelocity(x,y,z) |
|
|
|
Sim |
Sim.Projectile |
SetMaxSpeed |
Projectile:SetMaxSpeed(speed) |
|
|
|
Sim |
Sim.Projectile |
SetNewTarget |
Projectile:SetNewTarget( entity ) |
|
|
|
Sim |
Sim.Projectile |
SetNewTargetGround |
Projectile:SetNewTargetGround( location ) |
|
|
|
Sim |
Sim.Projectile |
SetScaleVelocity |
Projectile:SetScaleVelocity(vs) or Projectile:SetScaleVelocity(vsx, vsy, vsz) |
|
|
|
Sim |
Sim.Projectile |
SetStayUpright |
Projectile:SetStayUpright(truefalse) |
|
|
|
Sim |
Sim.Projectile |
SetTurnRate |
Projectile:SetTurnRate(radians_per_second) |
|
|
|
Sim |
Sim.Projectile |
SetVelocity |
Projectile:SetVelocity(speed) or Projectile:SetVelocity(vx,vy,vz) |
|
|
|
Sim |
Sim.Projectile |
SetVelocityAlign |
Projectile:SetVelocityAlign(truefalse) |
|
|
|
Sim |
Sim.Projectile |
SetVelocityRandomUpVector |
SetVelocityRandomUpVector(self) |
|
|
|
Sim |
Sim.Projectile |
StayUnderwater |
Projectile:StayUnderwater(onoff) |
|
|
|
Sim |
Sim.Projectile |
TrackTarget |
Projectile:TrackTarget(onoff) |
|
|
|
Sim |
Sim.Prop |
base |
derived from Entity |
|
|
|
Sim |
Sim.Prop |
moho.prop_methods |
|
|
|
|
Sim |
Sim.ReconBlip |
base |
derived from Entity |
|
|
|
Sim |
Sim.ReconBlip |
GetSource |
unit = ReconBlip:GetSource() |
|
|
|
Sim |
Sim.ReconBlip |
IsKnownFake |
bool = ReconBlip:IsKnownFake() |
|
|
|
Sim |
Sim.ReconBlip |
IsMaybeDead |
bool = ReconBlip:IsMaybeDead() |
|
|
|
Sim |
Sim.ReconBlip |
IsOnOmni |
bool = ReconBlip:IsOnOmni() |
|
|
|
Sim |
Sim.ReconBlip |
IsOnRadar |
bool = ReconBlip:IsOnRadar() |
|
|
|
Sim |
Sim.ReconBlip |
IsOnSonar |
bool = ReconBlip:IsOnSonar() |
|
|
|
Sim |
Sim.ReconBlip |
IsSeenEver |
bool = ReconBlip:IsSeenEver() |
|
|
|
Sim |
Sim.ReconBlip |
IsSeenNow |
bool = ReconBlip:IsSeenNow() |
|
|
|
Sim |
Sim.ReconBlip |
moho.blip_methods |
|
|
|
|
Sim |
Sim.Shield |
moho.shield_methods |
|
|
|
|
Sim |
Sim.Unit |
AddCommandCap |
unit:AddCommandCap(capName) -- Add a command cap to a unit. |
|
|
|
Sim |
Sim.Unit |
AddToggleCap |
unit:AddToggleCap(capName) -- Add a toggle cap to a unit. |
|
|
|
Sim |
Sim.Unit |
AddUnitToStorage |
Unit:AddUnitToStorage( storedUnit ) |
|
|
|
Sim |
Sim.Unit |
AlterArmor |
Unit:AlterArmor(damageTypeName, multiplier) |
|
|
|
Sim |
Sim.Unit |
base |
derived from Entity |
|
|
|
Sim |
Sim.Unit |
CalculateWorldPositionFromRelative |
Calculate the desired world position from the supplied relative vector from the center of the unit |
|
|
|
Sim |
Sim.Unit |
CanBuild |
CanBuild(self, blueprint |
|
|
|
Sim |
Sim.Unit |
CanPathTo |
See if the unit can path to the goal |
|
|
|
Sim |
Sim.Unit |
CanPathToRect |
See if the unit can path to the goal rectangle |
|
|
|
Sim |
Sim.Unit |
ClearFocusEntity |
ClearFocusEntity(self) |
|
|
|
Sim |
Sim.Unit |
EnableManipulators |
Unit:EnableManipulators([string boneName |
int boneIndex], bool Enable) |
|
|
Sim |
Sim.Unit |
GetArmorMult |
mult = Unit:GetArmorMult(damageTypeName) |
|
|
|
Sim |
Sim.Unit |
GetAttacker |
GetAttacker() - get the tactical attack manager object of this unit |
|
|
|
Sim |
Sim.Unit |
GetBlip |
blip = GetBlip(armyIndex) - returns a blip (if any) that the given army has for the unit |
|
|
|
Sim |
Sim.Unit |
GetBuildRate |
unit:GetBuildRate() -- returns the build rate of a unit: what fraction of target unit it builds per second. |
|
|
|
Sim |
Sim.Unit |
GetCargo |
GetCargo(self) |
|
|
|
Sim |
Sim.Unit |
GetCommandQueue |
Unit:GetCommandQueue() |
|
|
|
Sim |
Sim.Unit |
GetConsumptionPerSecondEnergy |
Get the consumption of energy of the unit |
|
|
|
Sim |
Sim.Unit |
GetConsumptionPerSecondMass |
Get the consumption of mass of the unit |
|
|
|
Sim |
Sim.Unit |
GetCurrentLayer |
GetUnitId(self) |
|
|
|
Sim |
Sim.Unit |
GetCurrentMoveLocation |
Unit:GetCurrentMoveLocation() |
|
|
|
Sim |
Sim.Unit |
GetFireState |
Get the fire state for the unit |
|
|
|
Sim |
Sim.Unit |
GetFocusUnit |
GetFocusUnit(self) |
|
|
|
Sim |
Sim.Unit |
GetFuelRatio |
Get the fuel ratio |
|
|
|
Sim |
Sim.Unit |
GetFuelUseTime |
Get the fuel use time |
|
|
|
Sim |
Sim.Unit |
GetGuardedUnit |
Unit:GetGuardedUnit() |
|
|
|
Sim |
Sim.Unit |
GetGuards |
Unit:GetGuards() |
|
|
|
Sim |
Sim.Unit |
GetHealth |
GetHealth(self) |
|
|
|
Sim |
Sim.Unit |
GetNavigator |
GetNavigator() - get the navigator object of this unit |
|
|
|
Sim |
Sim.Unit |
GetNukeSiloAmmoCount |
Unit:GetNukeSiloAmmoCount() |
|
|
|
Sim |
Sim.Unit |
GetNumBuildOrders |
Get number of factory/engineer build orders that fit in the specified category |
|
|
|
Sim |
Sim.Unit |
GetProductionPerSecondEnergy |
Get the production of energy of the unit |
|
|
|
Sim |
Sim.Unit |
GetProductionPerSecondMass |
Get the production of mass of the unit |
|
|
|
Sim |
Sim.Unit |
GetRallyPoint |
Get the rally point for the factory |
|
|
|
Sim |
Sim.Unit |
GetResourceConsumed |
Return the fraction of requested resources this unit consumed last tick. Normally 1, but can be fractional if economy is struggling. |
|
|
|
Sim |
Sim.Unit |
GetScriptBit |
Get the current toggle state of the script bit that matches the string |
|
|
|
Sim |
Sim.Unit |
GetShieldRatio |
Get the shield ratio |
|
|
|
Sim |
Sim.Unit |
GetStat |
GetStat(Name[,defaultVal]) |
|
|
|
Sim |
Sim.Unit |
GetTacticalSiloAmmoCount |
Unit:GetTacticalSiloAmmoCount() |
|
|
|
Sim |
Sim.Unit |
GetTargetEntity |
Return our target unit if we have one |
|
|
|
Sim |
Sim.Unit |
GetTransportFerryBeacon |
Unit:GetTransportFerryBeacon() |
|
|
|
Sim |
Sim.Unit |
GetUnitId |
GetUnitId(self) |
|
|
|
Sim |
Sim.Unit |
GetVelocity |
GetVelocity() -> x,y,z |
|
|
|
Sim |
Sim.Unit |
GetWeapon |
GetWeapon(self,index) -- return the index'th weapon of this unit. Index must be between 1 and self:GetWeaponCount(), inclusive. |
|
|
|
Sim |
Sim.Unit |
GetWeaponCount |
GetWeaponCount(self) -- return the number of weapons on this unit. Note that dummy weapons are not included in the count, so this may differ from the number of weapons defined in the unit's blueprint. |
|
|
|
Sim |
Sim.Unit |
GetWorkProgress |
GetWorkProgress() |
|
|
|
Sim |
Sim.Unit |
GiveNukeSiloAmmo |
Unit:GiveNukeSiloAmmo(num) |
|
|
|
Sim |
Sim.Unit |
GiveTacticalSiloAmmo |
Unit:GiveTacticalSiloAmmo(num) |
|
|
|
Sim |
Sim.Unit |
HasMeleeSpaceAroundTarget |
Unit:HasMeleeSpaceAroundTarget(target) |
|
|
|
Sim |
Sim.Unit |
HasValidTeleportDest |
Unit:HasValidTeleportDest() |
|
|
|
Sim |
Sim.Unit |
HideBone |
HideBone(self,bone,affectChildren) |
|
|
|
Sim |
Sim.Unit |
IsBeingBuilt |
Unit:IsBeingBuilt() |
|
|
|
Sim |
Sim.Unit |
IsCapturable |
Returns if this unit can be captured or not |
|
|
|
Sim |
Sim.Unit |
IsIdleState |
IsIdleState(unit) |
|
|
|
Sim |
Sim.Unit |
IsMobile |
bool IsMobile() - Is this a mobile unit? |
|
|
|
Sim |
Sim.Unit |
IsMoving |
bool IsMoving() - Is this unit moving? |
|
|
|
Sim |
Sim.Unit |
IsOverchargePaused |
Returns if this unit has its overcharge paused |
|
|
|
Sim |
Sim.Unit |
IsPaused |
Unit:IsPaused() |
|
|
|
Sim |
Sim.Unit |
IsStunned |
IsStunned(unit) |
|
|
|
Sim |
Sim.Unit |
IsUnitState |
IsUnitState(unit, stateName) |
|
|
|
Sim |
Sim.Unit |
IsValidTarget |
bool = IsValidTarget(self) |
|
|
|
Sim |
Sim.Unit |
KillManipulator |
Kill a specific manipulator held by a script object |
|
|
|
Sim |
Sim.Unit |
KillManipulators |
Unit:KillManipulators([boneName |
boneIndex]) |
|
|
Sim |
Sim.Unit |
MeleeWarpAdjacentToTarget |
Unit:MeleeWarpAdjacentToTarget(target) |
|
|
|
Sim |
Sim.Unit |
moho.unit_methods |
|
|
|
|
Sim |
Sim.Unit |
PrintCommandQueue |
Unit:PrintCommandQueue() |
|
|
|
Sim |
Sim.Unit |
RecoilImpulse |
RecoilImpulse(self, x, y, z) |
|
|
|
Sim |
Sim.Unit |
RemoveBuildRestriction |
Allow building of categories for this unit |
|
|
|
Sim |
Sim.Unit |
RemoveCommandCap |
unit:RemoveCommandCap(capName) -- Remove a command cap to a unit. |
|
|
|
Sim |
Sim.Unit |
RemoveNukeSiloAmmo |
Unit:RemoveNukeSiloAmmo(num) |
|
|
|
Sim |
Sim.Unit |
RemoveTacticalSiloAmmo |
Unit:RemoveTacticalSiloAmmo(num) |
|
|
|
Sim |
Sim.Unit |
RemoveToggleCap |
unit:RemoveToggleCap(capName) -- Remove a toggle cap to a unit. |
|
|
|
Sim |
Sim.Unit |
RestoreBuildRestrictions |
Restore buildable categories to that as defined in the blueprint |
|
|
|
Sim |
Sim.Unit |
RestoreCommandCaps |
Restore the command caps of the unit back to blueprint spec. |
|
|
|
Sim |
Sim.Unit |
RestoreToggleCaps |
Restore the toggle caps of the unit back to blueprint spec. |
|
|
|
Sim |
Sim.Unit |
RevertCollisionShape |
Revert the collision shape to the blueprint spec |
|
|
|
Sim |
Sim.Unit |
RevertElevation |
Revert the elevation of the unit back to the blueperint spec |
|
|
|
Sim |
Sim.Unit |
RevertRegenRate |
Restore regen rate of the unit back to blueprint spec. |
|
|
|
Sim |
Sim.Unit |
ScaleGetBuiltEmitter |
ScaleGetBuiltEmitter(self, emitter) |
|
|
|
Sim |
Sim.Unit |
SetAccMult |
Set the acceleration multiplier of the unit |
|
|
|
Sim |
Sim.Unit |
SetAutoMode |
Set auto silo build mode to on/off |
|
|
|
Sim |
Sim.Unit |
SetBlockCommandQueue |
SetBlockCommandQueue(unit, flag) |
|
|
|
Sim |
Sim.Unit |
SetBreakOffDistanceMult |
Set the break off distance multiplier of the unit |
|
|
|
Sim |
Sim.Unit |
SetBreakOffTriggerMult |
Set the break off trigger multiplier of the unit |
|
|
|
Sim |
Sim.Unit |
SetBuildRate |
unit:SetBuildRate(frac) -- Set the build rate of a unit: what fraction of target unit it builds per second. |
|
|
|
Sim |
Sim.Unit |
SetBusy |
SetBusy(unit, flag) |
|
|
|
Sim |
Sim.Unit |
SetCapturable |
Set if this unit can be captured or not. |
|
|
|
Sim |
Sim.Unit |
SetConsumptionActive |
Unit:SetConsumptionActive(flag) |
|
|
|
Sim |
Sim.Unit |
SetConsumptionPerSecondEnergy |
unit:SetConsumptionPerSecondEnergy(value) -- Set the consumption of energy of a unit |
|
|
|
Sim |
Sim.Unit |
SetConsumptionPerSecondMass |
Set the consumption of mass of the unit |
|
|
|
Sim |
Sim.Unit |
SetCreator |
Set the creator for this unit |
|
|
|
Sim |
Sim.Unit |
SetCustomName |
Unit:SetCustomName(name) |
|
|
|
Sim |
Sim.Unit |
SetDoNotTarget |
SetDoNotTarget(unit, flag) |
|
|
|
Sim |
Sim.Unit |
SetElevation |
Set the elevation of the unit |
|
|
|
Sim |
Sim.Unit |
SetFireState |
Set a specific fire state for the retaliation state of the unit |
|
|
|
Sim |
Sim.Unit |
SetFocusEntity |
SetFocusUnit(self, focus) |
|
|
|
Sim |
Sim.Unit |
SetFuelRatio |
Set the fuel ratio |
|
|
|
Sim |
Sim.Unit |
SetFuelUseTime |
Set the fuel use time |
|
|
|
Sim |
Sim.Unit |
SetImmobile |
SetImmobile(unit, flag) |
|
|
|
Sim |
Sim.Unit |
SetIsValidTarget |
SetIsValidTarget(self,bool) |
|
|
|
Sim |
Sim.Unit |
SetOverchargePaused |
Set if this unit has an overcharge pasued. |
|
|
|
Sim |
Sim.Unit |
SetPaused |
Unit:SetPaused() |
|
|
|
Sim |
Sim.Unit |
SetProductionActive |
Unit:SetProductionActive(flag) |
|
|
|
Sim |
Sim.Unit |
SetProductionPerSecondEnergy |
Set the production of energy of the unit |
|
|
|
Sim |
Sim.Unit |
SetProductionPerSecondMass |
Set the production of mass of the unit |
|
|
|
Sim |
Sim.Unit |
SetReclaimable |
Set if this unit can be reclaimed or not. |
|
|
|
Sim |
Sim.Unit |
SetRegenRate |
unit:SetRegenRate(rate) -- Set the regen rate of a unit. |
|
|
|
Sim |
Sim.Unit |
SetScriptBit |
Set the script bit that matches the string to the desired state |
|
|
|
Sim |
Sim.Unit |
SetShieldRatio |
Set the shield ratio |
|
|
|
Sim |
Sim.Unit |
SetSpeedMult |
Set the speed multiplier of the unit |
|
|
|
Sim |
Sim.Unit |
SetStat |
SetStat(Name, Value) |
|
|
|
Sim |
Sim.Unit |
SetStrategicUnderlay |
SetStrategicUnderlay(icon) |
|
|
|
Sim |
Sim.Unit |
SetStunned |
SetStunned(unit, time) |
|
|
|
Sim |
Sim.Unit |
SetTurnMult |
Set the turn multiplier of the unit |
|
|
|
Sim |
Sim.Unit |
SetUnitState |
SetUnitState(name, bool) |
|
|
|
Sim |
Sim.Unit |
SetUnSelectable |
SetUnSelectable(unit, flag) |
|
|
|
Sim |
Sim.Unit |
SetWorkProgress |
SetWorkProgress(float) |
|
|
|
Sim |
Sim.Unit |
ShowBone |
ShowBone(self,bone,affectChildren) |
|
|
|
Sim |
Sim.Unit |
StopSiloBuild |
StopSiloBuild(unit) |
|
|
|
Sim |
Sim.Unit |
TestCommandCaps |
Test if a unit has this specified set to true in the blueprint spec. |
|
|
|
Sim |
Sim.Unit |
TestToggleCaps |
Test if a unit has this specified set to true in the blueprint spec. |
|
|
|
Sim |
Sim.Unit |
ToggleFireState |
Toggle the fire state for the retaliation state of the unit |
|
|
|
Sim |
Sim.Unit |
ToggleScriptBit |
Toggle the script bit that matches the string |
|
|
|
Sim |
Sim.Unit |
TransportDetachAllUnits |
DetachAllUnits(self,destroySomeUnits) |
|
|
|
Sim |
Sim.Unit |
TransportHasAvailableStorage |
TransportHasAvailableStorage(self) |
|
|
|
Sim |
Sim.Unit |
TransportHasSpaceFor |
TransportHasSpaceFor(self,target) |
|
|
|
Sim |
Sim.UnitWeapon |
CanFire |
UnitWeapon:CanFire() |
|
|
|
Sim |
Sim.UnitWeapon |
ChangeDamage |
UnitWeapon:ChangeDamage(value) |
|
|
|
Sim |
Sim.UnitWeapon |
ChangeDamageRadius |
UnitWeapon:ChangeDamageRadius(value) |
|
|
|
Sim |
Sim.UnitWeapon |
ChangeDamageType |
UnitWeapon:ChangeDamageType(typeName) |
|
|
|
Sim |
Sim.UnitWeapon |
ChangeFiringTolerance |
UnitWeapon:ChangeFiringTolerance(value) |
|
|
|
Sim |
Sim.UnitWeapon |
ChangeMaxHeightDiff |
UnitWeapon:ChangeMaxHeightDiff(value) |
|
|
|
Sim |
Sim.UnitWeapon |
ChangeMaxRadius |
UnitWeapon:ChangeMaxRadius(value) |
|
|
|
Sim |
Sim.UnitWeapon |
ChangeMinRadius |
UnitWeapon:ChangeMinRadius(value) |
|
|
|
Sim |
Sim.UnitWeapon |
ChangeProjectileBlueprint |
Change the projectile blueprint of a weapon |
|
|
|
Sim |
Sim.UnitWeapon |
ChangeRateOfFire |
UnitWeapon:ChangeRateOfFire(value) |
|
|
|
Sim |
Sim.UnitWeapon |
CreateProjectile |
UnitWeapon:CreateProjectile(muzzlebone) |
|
|
|
Sim |
Sim.UnitWeapon |
DoInstaHit |
UnitWeapon:DoInstaHit(bone, r,g,b, glow, width, texture, lifetime) |
|
|
|
Sim |
Sim.UnitWeapon |
FireWeapon |
bool = UnitWeapon:FireWeapon() |
|
|
|
Sim |
Sim.UnitWeapon |
GetBlueprint |
blueprint = UnitWeapon:GetBlueprint() |
|
|
|
Sim |
Sim.UnitWeapon |
GetCurrentTarget |
UnitWeapon:GetCurrentTarget() |
|
|
|
Sim |
Sim.UnitWeapon |
GetCurrentTargetPos |
UnitWeapon:GetCurrentTargetPos() |
|
|
|
Sim |
Sim.UnitWeapon |
GetFireClockPct |
Get the firing clock percent (0 - 1) |
|
|
|
Sim |
Sim.UnitWeapon |
GetFiringRandomness |
Get the firing randomness |
|
|
|
Sim |
Sim.UnitWeapon |
GetProjectileBlueprint |
blueprint = UnitWeapon:GetProjectileBlueprint() |
|
|
|
Sim |
Sim.UnitWeapon |
IsFireControl |
UnitWeapon:IsFireControl(label) |
|
|
|
Sim |
Sim.UnitWeapon |
moho.weapon_methods |
|
|
|
|
Sim |
Sim.UnitWeapon |
PlaySound |
UnitWeapon:PlaySound(weapon,ParamTable) |
|
|
|
Sim |
Sim.UnitWeapon |
ResetTarget |
UnitWeapon:ResetTarget() |
|
|
|
Sim |
Sim.UnitWeapon |
SetEnabled |
UnitWeapon:SetEnabled(enabled) |
|
|
|
Sim |
Sim.UnitWeapon |
SetFireControl |
UnitWeapon:SetFireControl(label) |
|
|
|
Sim |
Sim.UnitWeapon |
SetFireTargetLayerCaps |
UnitWeapon:SetFireTargetLayerCaps(mask) |
|
|
|
Sim |
Sim.UnitWeapon |
SetFiringRandomness |
Set the firing randomness |
|
|
|
Sim |
Sim.UnitWeapon |
SetTargetEntity |
UnitWeapon:SetTarget(entity) |
|
|
|
Sim |
Sim.UnitWeapon |
SetTargetGround |
UnitWeapon:SetTarget(location) |
|
|
|
Sim |
Sim.UnitWeapon |
SetTargetingPriorities |
Set the targeting priorities for the unit |
|
|
|
Sim |
Sim.UnitWeapon |
TransferTarget |
Transfer target from 1 weapon to another |
|
|
|
Sim |
Sim.UnitWeapon |
WeaponHasTarget |
bool = UnitWeapon:HasTarget() |
|
|
|
Core |
Core. |
AITarget |
Create a target object |
|
|
|
Core |
Core. |
Basename |
base = Basename(fullPath,stripExtension?) -- return the last component of a path |
|
|
|
Core |
Core. |
BeginLoggingStats |
Begin logging stats |
|
|
|
Core |
Core. |
BlueprintLoaderUpdateProgress |
|
|
|
|
Core |
Core. |
CreatePrefetchSet |
create an empty prefetch set |
|
|
|
Core |
Core. |
CurrentThread |
thread=CurrentThread() -- get a handle to the running thread for later use with ResumeThread() or KillThread() |
|
|
|
Core |
Core. |
Dirname |
base = Dirname(fullPath) -- return a path with trailing filename removed |
|
|
|
Core |
Core. |
DiskFindFiles |
files = DiskFindFiles(directory, pattern) |
returns a list of files in a directory |
|
|
Core |
Core. |
DiskGetFileInfo |
info = DiskGetFileInfo(filename) |
returns a table describing the given file, or false if the file doesn't exist. info.IsFolder -- true if the filename refers to a folder info.IsReadOnly -- true if file is read-only info.SizeBytes -- size of file in bytes info.LastWriteTime -- timestamp of last write to file |
|
|
Core |
Core. |
DiskToLocal |
localPath = DiskToLocal(SysOrLocalPath) |
Converts a system path to a local path. Leaves path alone if already local. |
|
|
Core |
Core. |
doscript |
doscript(script, [env]) -- run another script. The environment table, if given, will be used for the script's global variables. |
|
|
|
Core |
Core. |
EndLoggingStats |
EndLoggingStats(bool exit) - End logging stats and optionally exit app |
|
|
|
Core |
Core. |
EntityCategoryEmpty |
Test for an empty category |
|
|
|
Core |
Core. |
EntityCategoryGetUnitList |
Get a list of units blueprint names from a category |
|
|
|
Core |
Core. |
EnumColorNames |
table EnumColorNames() - returns a table containing strings of all the color names |
|
|
|
Core |
Core. |
EulerToQuaternion |
quaternion EulerToQuaternion(float roll, float pitch, float yaw) - converts euler angles to a quaternion |
|
|
|
Core |
Core. |
exists |
exists(name) -> bool -- returns true if the given resource file exists |
|
|
|
Core |
Core. |
FileCollapsePath |
path = FileCollapsePath(fullPath) -- collapse out any intermediate /./ or /../ directory names from a path |
|
|
|
Core |
Core. |
ForkThread |
thread = ForkThread(function, ...) |
Spawns a new thread running the given function with the given args. |
|
|
Core |
Core. |
GetCueBank |
cue,bank = GetCueBank(params) |
|
|
|
Core |
Core. |
GetMovieDuration |
GetMovieDuration(localFileName) |
|
|
|
Core |
Core. |
GetVersion |
GetVersion() -> string |
|
|
|
Core |
Core. |
IsDestroyed |
Has the c++ object been destroyed? |
|
|
|
Core |
Core. |
KillThread |
KillThread(thread) -- destroy a thread started with ForkThread() |
|
|
|
Core |
Core. |
LOG |
Print a log message |
|
|
|
Core |
Core. |
MATH_IRound |
Round a number to the nearest integer |
|
|
|
Core |
Core. |
MATH_Lerp |
MATH_Lerp(s, a, b) or MATH_Lerp(s, sMin, sMax, a, b) -> number -- linear interpolation from a (at s=0 or s=sMin) to b (at s=1 or s=sMax) |
|
|
|
Core |
Core. |
MinLerp |
quaternion MinLerp(float alpha, quaternion L, quaternion R) - returns minimal lerp between L and R |
|
|
|
Core |
Core. |
MinSlerp |
quaternion MinSlerp(float alpha, quaternion L, quaternion R) - returns minimal slerp between L and R |
|
|
|
Core |
Core. |
OrientFromDir |
quaternion OrientFromDir(vector) |
|
|
|
Core |
Core. |
PointVector |
Create a point vector(px,py,pz, vx,vy,vz) |
|
|
|
Core |
Core. |
Rect |
Create a 2d Rectangle (x0,y0,x1,y1) |
|
|
|
Core |
Core. |
RegisterBeamBlueprint |
BeamBlueprint { spec } - define a beam effect |
|
|
|
Core |
Core. |
RegisterEmitterBlueprint |
EmitterBlueprint { spec } - define a particle emitter |
|
|
|
Core |
Core. |
RegisterMeshBlueprint |
MeshBlueprint { spec } - define mesh properties |
|
|
|
Core |
Core. |
RegisterProjectileBlueprint |
ProjectileBlueprint { spec } - define a type of projectile |
|
|
|
Core |
Core. |
RegisterPropBlueprint |
PropBlueprint { spec } - define a type of prop |
|
|
|
Core |
Core. |
RegisterTrailEmitterBlueprint |
TrailEmitterBlueprint { spec } - define a polytrail emitter |
|
|
|
Core |
Core. |
RegisterUnitBlueprint |
UnitBlueprint { spec } - define a type of unit |
|
|
|
Core |
Core. |
ResumeThread |
ResumeThread(thread) -- resume a thread that had been suspended with SuspendCurrentThread(). Does nothing if the thread wasn't suspended. |
|
|
|
Core |
Core. |
RPCSound |
RPCSound( {cue,bank,cutoff} ) - Make a sound parameters object |
|
|
|
Core |
Core. |
SecondsPerTick |
SecondsPerTick() - Return how many seconds in a tick |
|
|
|
Core |
Core. |
Sound |
Sound( {cue,bank,cutoff} ) - Make a sound parameters object |
|
|
|
Core |
Core. |
SpecFootprints |
SpecFootprints { spec } -- define the footprint types for pathfinding |
|
|
|
Core |
Core. |
SPEW |
Spew to log |
|
|
|
Core |
Core. |
STR_GetTokens |
table STR_GetTokens(string,delimiter) |
|
|
|
Core |
Core. |
STR_itox |
string STR_itox(int) - converts an integer into a hexidecimal string |
|
|
|
Core |
Core. |
STR_Utf8Len |
int STR_Utf8Len(string) - return the number of characters in a UTF-8 string |
|
|
|
Core |
Core. |
STR_Utf8SubString |
string STR_Utf8SubString(string, start, count) - return a substring from start to count |
|
|
|
Core |
Core. |
STR_xtoi |
int STR_xtoi(string) - converts a hexidecimal string to an integer |
|
|
|
Core |
Core. |
SuspendCurrentThread |
SuspendCurrentThread() -- suspend this thread indefinitely. Some external event must eventually call ResumeThread() to resume it. |
|
|
|
Core |
Core. |
Trace |
Trace(true) -- turns on debug tracing |
Trace(false) -- turns it off again |
|
|
Core |
Core. |
VAdd |
Addition of two vectors |
|
|
|
Core |
Core. |
VDiff |
Difference of two vectors |
|
|
|
Core |
Core. |
VDist2 |
Distance between two 2d points (x1,y1,x2,y2) |
|
|
|
Core |
Core. |
VDist2Sq |
Square of Distance between two 2d points (x1,y1,x2,y2) |
|
|
|
Core |
Core. |
VDist3 |
Distance between two 3d points (v1,v2) |
|
|
|
Core |
Core. |
VDist3Sq |
Square of Distance between two 3d points (v1,v2) |
|
|
|
Core |
Core. |
VDot |
Dot product of two vectors |
|
|
|
Core |
Core. |
Vector |
Create a vector (x,y,z) |
|
|
|
Core |
Core. |
Vector2 |
Create a vector (x,y) |
|
|
|
Core |
Core. |
VMult |
Multiplication of vector with scalar |
|
|
|
Core |
Core. |
VPerpDot |
Perp dot product of two vectors |
|
|
|
Core |
Core. |
WaitFor |
WaitFor(event) -- suspend this thread until the event is set |
|
|
|
Core |
Core. |
WARN |
Pop up a warning dialog |
|
|
|
Core |
Core.CPrefetchSet |
moho.CPrefetchSet |
|
|
|
|
Core |
Core.CPrefetchSet |
Update |
CPrefetchSet:Update({d3d_textures=..., batch_textures=..., models=..., anims=...}) |
|
|
|
Core |
Core.EntityCategory |
__mul |
Generate a category list that is an intersection of cat1 and cat2 |
|
|
|
Core |
Core.EntityCategory |
__sub |
Generate a category list of units that is of cat1 but not of cat2 |
|
|
|
Core |
Core.EntityCategory |
moho.EntityCategory |
|
|
|
|