|
|
TYPES |
FUNCTIONS |
VARIABLES
Functions in common.j
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
A
| Line | Constant | Type | Name | Parameters | Return Type |
| 148 | constant | native | AbilityId | string abilityIdString | integer |
| 149 | constant | native | AbilityId2String | integer abilityId | string |
| 799 | | native | Acos | real x | real |
| 1493 | | native | AddHeroXP | unit whichHero, integer xpToAdd, boolean showEyeCandy | nothing |
| 1872 | | native | AddIndicator | widget whichWidget, integer red, integer green, integer blue, integer alpha | nothing |
| 1648 | | native | AddItemToAllStock | integer itemId, integer currentStock, integer stockMax | nothing |
| 1649 | | native | AddItemToStock | unit whichUnit, integer itemId, integer currentStock, integer stockMax | nothing |
| 2206 | | native | AddLightning | string codeName, boolean checkVisibility, real x1, real y1, real x2, real y2 | lightning |
| 2207 | | native | AddLightningEx | string codeName, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 | lightning |
| 1697 | constant | native | AddPlayerTechResearched | player whichPlayer, integer techid, integer levels | nothing |
| 1639 | | native | AddResourceAmount | unit whichUnit, integer amount | nothing |
| 2194 | | native | AddSpecialEffect | string modelName, real x, real y | effect |
| 2195 | | native | AddSpecialEffectLoc | string modelName, location where | effect |
| 2196 | | native | AddSpecialEffectTarget | string modelName, widget targetWidget, string attachPointName | effect |
| 2199 | | native | AddSpellEffect | string abilityString, effecttype t, real x, real y | effect |
| 2201 | | native | AddSpellEffectById | integer abilityId, effecttype t, real x, real y | effect |
| 2202 | | native | AddSpellEffectByIdLoc | integer abilityId, effecttype t, location where | effect |
| 2200 | | native | AddSpellEffectLoc | string abilityString, effecttype t, location where | effect |
| 2203 | | native | AddSpellEffectTarget | string modelName, effecttype t, widget targetWidget, string attachPoint | effect |
| 2204 | | native | AddSpellEffectTargetById | integer abilityId, effecttype t, widget targetWidget, string attachPoint | effect |
| 1469 | | native | AddUnitAnimationProperties | unit whichUnit, string animProperties, boolean add | nothing |
| 1650 | | native | AddUnitToAllStock | integer unitId, integer currentStock, integer stockMax | nothing |
| 1651 | | native | AddUnitToStock | unit whichUnit, integer unitId, integer currentStock, integer stockMax | nothing |
| 2183 | | native | AddWeatherEffect | rect where, integer effectID | weathereffect |
| 2062 | | native | AdjustCameraField | camerafield whichField, real offset, real duration | nothing |
| 1048 | | native | And | boolexpr operandA, boolexpr operandB | boolexpr |
| 798 | | native | Asin | real y | real |
| 801 | | native | Atan | real x | real |
| 804 | | native | Atan2 | real y, real x | real |
| 2143 | | native | AttachSoundToUnit | sound soundHandle, unit whichUnit | nothing |
BACK TO TOP
B
BACK TO TOP
C
| Line | Constant | Type | Name | Parameters | Return Type |
| 1713 | | native | CachePlayerHeroData | player whichPlayer | nothing |
| 2084 | | native | CameraSetSmoothingFactor | real factor | nothing |
| 2079 | | native | CameraSetSourceNoise | real mag, real velocity | nothing |
| 2082 | | native | CameraSetSourceNoiseEx | real mag, real velocity, boolean vertOnly | nothing |
| 2078 | | native | CameraSetTargetNoise | real mag, real velocity | nothing |
| 2081 | | native | CameraSetTargetNoiseEx | real mag, real velocity, boolean vertOnly | nothing |
| 2073 | | native | CameraSetupApply | camerasetup whichSetup, boolean doPan, boolean panTimed | nothing |
| 2075 | | native | CameraSetupApplyForceDuration | camerasetup whichSetup, boolean doPan, real forceDuration | nothing |
| 2076 | | native | CameraSetupApplyForceDurationWithZ | camerasetup whichSetup, real zDestOffset, real forceDuration | nothing |
| 2074 | | native | CameraSetupApplyWithZ | camerasetup whichSetup, real zDestOffset | nothing |
| 2070 | | native | CameraSetupGetDestPositionLoc | camerasetup whichSetup | location |
| 2071 | | native | CameraSetupGetDestPositionX | camerasetup whichSetup | real |
| 2072 | | native | CameraSetupGetDestPositionY | camerasetup whichSetup | real |
| 2068 | | native | CameraSetupGetField | camerasetup whichSetup, camerafield whichField | real |
| 2069 | | native | CameraSetupSetDestPosition | camerasetup whichSetup, real x, real y, real duration | nothing |
| 2067 | | native | CameraSetupSetField | camerasetup whichSetup, camerafield whichField, real value, real duration | nothing |
| 1741 | | native | ChangeLevel | string newLevel, boolean doScoreScreen | nothing |
| 2289 | | native | Cheat | string cheatStr | nothing |
| 1845 | | native | ChooseRandomCreep | integer level | integer |
| 1847 | | native | ChooseRandomItem | integer level | integer |
| 1848 | | native | ChooseRandomItemEx | itemtype whichType, integer level | integer |
| 1846 | | native | ChooseRandomNPBuilding | | integer |
| 2151 | | native | ClearMapMusic | | nothing |
| 1513 | | native | ClearSelection | | nothing |
| 1861 | | native | ClearTextMessages | | nothing |
| 2280 | | native | CommandAI | player num, integer command, integer data | nothing |
| 1051 | | native | Condition | code func | conditionfunc |
| 106 | constant | native | ConvertAIDifficulty | integer i | aidifficulty |
| 98 | constant | native | ConvertAllianceType | integer i | alliancetype |
| 136 | constant | native | ConvertAttackType | integer i | attacktype |
| 129 | constant | native | ConvertBlendMode | integer i | blendmode |
| 128 | constant | native | ConvertCameraField | integer i | camerafield |
| 137 | constant | native | ConvertDamageType | integer i | damagetype |
| 111 | constant | native | ConvertDialogEvent | integer i | dialogevent |
| 133 | constant | native | ConvertEffectType | integer i | effecttype |
| 101 | constant | native | ConvertFGameState | integer i | fgamestate |
| 132 | constant | native | ConvertFogState | integer i | fogstate |
| 118 | constant | native | ConvertGameDifficulty | integer i | gamedifficulty |
| 107 | constant | native | ConvertGameEvent | integer i | gameevent |
| 115 | constant | native | ConvertGameSpeed | integer i | gamespeed |
| 119 | constant | native | ConvertGameType | integer i | gametype |
| 100 | constant | native | ConvertIGameState | integer i | igamestate |
| 135 | constant | native | ConvertItemType | integer i | itemtype |
| 113 | constant | native | ConvertLimitOp | integer i | limitop |
| 124 | constant | native | ConvertMapControl | integer i | mapcontrol |
| 123 | constant | native | ConvertMapDensity | integer i | mapdensity |
| 120 | constant | native | ConvertMapFlag | integer i | mapflag |
| 122 | constant | native | ConvertMapSetting | integer i | mapsetting |
| 121 | constant | native | ConvertMapVisibility | integer i | mapvisibility |
| 140 | constant | native | ConvertPathingType | integer i | pathingtype |
| 116 | constant | native | ConvertPlacement | integer i | placement |
| 125 | constant | native | ConvertPlayerColor | integer i | playercolor |
| 108 | constant | native | ConvertPlayerEvent | integer i | playerevent |
| 104 | constant | native | ConvertPlayerGameResult | integer i | playergameresult |
| 103 | constant | native | ConvertPlayerScore | integer i | playerscore |
| 126 | constant | native | ConvertPlayerSlotState | integer i | playerslotstate |
| 102 | constant | native | ConvertPlayerState | integer i | playerstate |
| 109 | constant | native | ConvertPlayerUnitEvent | integer i | playerunitevent |
| 97 | constant | native | ConvertRace | integer i | race |
| 99 | constant | native | ConvertRacePref | integer i | racepreference |
| 130 | constant | native | ConvertRarityControl | integer i | raritycontrol |
| 139 | constant | native | ConvertSoundType | integer i | soundtype |
| 117 | constant | native | ConvertStartLocPrio | integer i | startlocprio |
| 131 | constant | native | ConvertTexMapFlags | integer i | texmapflags |
| 112 | constant | native | ConvertUnitEvent | integer i | unitevent |
| 105 | constant | native | ConvertUnitState | integer i | unitstate |
| 114 | constant | native | ConvertUnitType | integer i | unittype |
| 134 | constant | native | ConvertVersion | integer i | version |
| 127 | constant | native | ConvertVolumeGroup | integer i | volumegroup |
| 138 | constant | native | ConvertWeaponType | integer i | weapontype |
| 110 | constant | native | ConvertWidgetEvent | integer i | widgetevent |
| 1754 | | native | CopySaveGame | string sourceSaveName, string destSaveName | boolean |
| 794 | | native | Cos | real radians | real |
| 2266 | | native | CreateBlightedGoldmine | player id, real x, real y, real face | unit |
| 2066 | | native | CreateCameraSetup | | camerasetup |
| 1427 | | native | CreateCorpse | player whichPlayer, integer unitid, real x, real y, real face | unit |
| 1363 | | native | CreateDeadDestructable | integer objectid, real x, real y, real face, real scale, integer variation | destructable |
| 1364 | | native | CreateDeadDestructableZ | integer objectid, real x, real y, real z, real face, real scale, integer variation | destructable |
| 1941 | | native | CreateDefeatCondition | | defeatcondition |
| 1361 | | native | CreateDestructable | integer objectid, real x, real y, real face, real scale, integer variation | destructable |
| 1362 | | native | CreateDestructableZ | integer objectid, real x, real y, real z, real face, real scale, integer variation | destructable |
| 1726 | | native | CreateFogModifierRadius | player forWhichPlayer, fogstate whichState, real centerx, real centerY, real radius, boolean useSharedVision, boolean afterUnits | fogmodifier |
| 1727 | | native | CreateFogModifierRadiusLoc | player forWhichPlayer, fogstate whichState, location center, real radius, boolean useSharedVision, boolean afterUnits | fogmodifier |
| 1725 | | native | CreateFogModifierRect | player forWhichPlayer, fogstate whichState, rect where, boolean useSharedVision, boolean afterUnits | fogmodifier |
| 956 | | native | CreateForce | | force |
| 921 | | native | CreateGroup | | group |
| 2237 | | native | CreateImage | string file, real sizeX, real sizeY, real sizeZ, real posX, real posY, real posZ, real originX, real originY, real originZ, integer imageType | image |
| 1388 | | native | CreateItem | integer itemid, real x, real y | item |
| 1838 | | native | CreateItemPool | | itempool |
| 1964 | | native | CreateLeaderboard | | leaderboard |
| 2126 | | native | CreateMIDISound | string soundLabel, integer fadeInRate, integer fadeOutRate | sound |
| 2005 | | native | CreateMultiboard | | multiboard |
| 1917 | | native | CreateQuest | | quest |
| 985 | | native | CreateRegion | | region |
| 2123 | | native | CreateSound | string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string eaxSetting | sound |
| 2124 | | native | CreateSoundFilenameWithLabel | string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string SLKEntryName | sound |
| 2125 | | native | CreateSoundFromLabel | string soundLabel, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate | sound |
| 1887 | | native | CreateTextTag | | texttag |
| 908 | | native | CreateTimer | | timer |
| 1950 | | native | CreateTimerDialog | timer t | timerdialog |
| 1913 | | native | CreateTrackable | string trackableModelPath, real x, real y, real facing | trackable |
| 1016 | | native | CreateTrigger | | trigger |
| 2251 | | native | CreateUbersplat | real x, real y, string name, integer red, integer green, integer blue, integer alpha, boolean forcePaused, boolean noBirthTime | ubersplat |
| 1423 | | native | CreateUnit | player id, integer unitid, real x, real y, real face | unit |
| 1425 | | native | CreateUnitAtLoc | player id, integer unitid, location whichLocation, real face | unit |
| 1426 | | native | CreateUnitAtLocByName | player id, string unitname, location whichLocation, real face | unit |
| 1424 | | native | CreateUnitByName | player whichPlayer, string unitname, real x, real y, real face | unit |
| 1832 | | native | CreateUnitPool | | unitpool |
| 1703 | | native | CripplePlayer | player whichPlayer, force toWhichPlayers, boolean flag | nothing |
BACK TO TOP
D
| Line | Constant | Type | Name | Parameters | Return Type |
| 1502 | | native | DecUnitAbilityLevel | unit whichUnit, integer abilcode | integer |
| 1943 | | native | DefeatConditionSetDescription | defeatcondition whichCondition, string description | nothing |
| 846 | | native | DefineStartLocation | integer whichStartLoc, real x, real y | nothing |
| 847 | | native | DefineStartLocationLoc | integer whichStartLoc, location whichLocation | nothing |
| 790 | | native | Deg2Rad | real degrees | real |
| 1055 | | native | DestroyBoolExpr | boolexpr e | nothing |
| 1052 | | native | DestroyCondition | conditionfunc c | nothing |
| 1942 | | native | DestroyDefeatCondition | defeatcondition whichCondition | nothing |
| 2197 | | native | DestroyEffect | effect whichEffect | nothing |
| 1054 | | native | DestroyFilter | filterfunc f | nothing |
| 1728 | | native | DestroyFogModifier | fogmodifier whichFogModifier | nothing |
| 957 | | native | DestroyForce | force whichForce | nothing |
| 922 | | native | DestroyGroup | group whichGroup | nothing |
| 2238 | | native | DestroyImage | image whichImage | nothing |
| 1839 | | native | DestroyItemPool | itempool whichItemPool | nothing |
| 1965 | | native | DestroyLeaderboard | leaderboard lb | nothing |
| 2208 | | native | DestroyLightning | lightning whichBolt | boolean |
| 2006 | | native | DestroyMultiboard | multiboard lb | nothing |
| 1918 | | native | DestroyQuest | quest whichQuest | nothing |
| 1888 | | native | DestroyTextTag | texttag t | nothing |
| 909 | | native | DestroyTimer | timer whichTimer | nothing |
| 1951 | | native | DestroyTimerDialog | timerdialog whichDialog | nothing |
| 1017 | | native | DestroyTrigger | trigger whichTrigger | nothing |
| 2252 | | native | DestroyUbersplat | ubersplat whichSplat | nothing |
| 1833 | | native | DestroyUnitPool | unitpool whichPool | nothing |
| 1377 | | native | DestructableRestoreLife | destructable d, real life, boolean birth | nothing |
| 1782 | | native | DialogAddButton | dialog whichDialog, string buttonText, integer hotkey | button |
| 1783 | | native | DialogAddQuitButton | dialog whichDialog, boolean doScoreScreen, string buttonText, integer hotkey | button |
| 1780 | | native | DialogClear | dialog whichDialog | nothing |
| 1778 | | native | DialogCreate | | dialog |
| 1779 | | native | DialogDestroy | dialog whichDialog | nothing |
| 1784 | | native | DialogDisplay | player whichPlayer, dialog whichDialog, boolean flag | nothing |
| 1781 | | native | DialogSetMessage | dialog whichDialog, string messageText | nothing |
| 1885 | | native | DisableRestartMission | boolean flag | nothing |
| 1020 | | native | DisableTrigger | trigger whichTrigger | nothing |
| 2094 | | native | DisplayCineFilter | boolean flag | nothing |
| 1883 | | native | DisplayLoadDialog | | nothing |
| 1858 | | native | DisplayTextToPlayer | player toPlayer, real x, real y, string message | nothing |
| 1860 | | native | DisplayTimedTextFromPlayer | player toPlayer, real x, real y, real duration, string message | nothing |
| 1859 | | native | DisplayTimedTextToPlayer | player toPlayer, real x, real y, real duration, string message | nothing |
| 1774 | | native | DoNotSaveReplay | | nothing |
BACK TO TOP
E
BACK TO TOP
F
| Line | Constant | Type | Name | Parameters | Return Type |
| 1053 | | native | Filter | code func | filterfunc |
| 2254 | | native | FinishUbersplat | ubersplat whichSplat | nothing |
| 951 | | native | FirstOfGroup | group whichGroup | unit |
| 1945 | | native | FlashQuestDialogButton | | nothing |
| 1819 | | native | FlushGameCache | gamecache cache | nothing |
| 1823 | | native | FlushStoredBoolean | gamecache cache, string missionKey, string key | nothing |
| 1821 | | native | FlushStoredInteger | gamecache cache, string missionKey, string key | nothing |
| 1820 | | native | FlushStoredMission | gamecache cache, string missionKey | nothing |
| 1822 | | native | FlushStoredReal | gamecache cache, string missionKey, string key | nothing |
| 1825 | | native | FlushStoredString | gamecache cache, string missionKey, string key | nothing |
| 1824 | | native | FlushStoredUnit | gamecache cache, string missionKey, string key | nothing |
| 1722 | | native | FogEnable | boolean enable | nothing |
| 1720 | | native | FogMaskEnable | boolean enable | nothing |
| 1729 | | native | FogModifierStart | fogmodifier whichFogModifier | nothing |
| 1730 | | native | FogModifierStop | fogmodifier whichFogModifier | nothing |
| 958 | | native | ForceAddPlayer | force whichForce, player whichPlayer | nothing |
| 1748 | | native | ForceCampaignSelectScreen | | nothing |
| 2099 | | native | ForceCinematicSubtitles | boolean flag | nothing |
| 960 | | native | ForceClear | force whichForce | nothing |
| 963 | | native | ForceEnumAllies | force whichForce, player whichPlayer, boolexpr filter | nothing |
| 964 | | native | ForceEnumEnemies | force whichForce, player whichPlayer, boolexpr filter | nothing |
| 961 | | native | ForceEnumPlayers | force whichForce, boolexpr filter | nothing |
| 962 | | native | ForceEnumPlayersCounted | force whichForce, boolexpr filter, integer countLimit | nothing |
| 884 | | native | ForcePlayerStartLocation | player whichPlayer, integer startLocIndex | nothing |
| 1946 | | native | ForceQuestDialogUpdate | | nothing |
| 959 | | native | ForceRemovePlayer | force whichForce, player whichPlayer | nothing |
| 1882 | | native | ForceUICancel | | nothing |
| 1881 | | native | ForceUIKey | string key | nothing |
| 965 | | native | ForForce | force whichForce, code callback | nothing |
| 950 | | native | ForGroup | group whichGroup, code callback | nothing |
BACK TO TOP
G
|