war3 jass common.j

Functions in common.j

------------------------------------------------------------

A

Line Constant Type Name Parameters Return Type
150 constant native AbilityId string abilityIdString integer
151 constant native AbilityId2String integer abilityId string
801   native Acos real x real
1500   native AddHeroXP unit whichHero, integer xpToAdd, boolean showEyeCandy nothing
1986   native AddIndicator widget whichWidget, integer red, integer green, integer blue, integer alpha nothing
1655   native AddItemToAllStock integer itemId, integer currentStock, integer stockMax nothing
1656   native AddItemToStock unit whichUnit, integer itemId, integer currentStock, integer stockMax nothing
2320   native AddLightning string codeName, boolean checkVisibility, real x1, real y1, real x2, real y2 lightning
2321   native AddLightningEx string codeName, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 lightning
1704 constant native AddPlayerTechResearched player whichPlayer, integer techid, integer levels nothing
1646   native AddResourceAmount unit whichUnit, integer amount nothing
2308   native AddSpecialEffect string modelName, real x, real y effect
2309   native AddSpecialEffectLoc string modelName, location where effect
2310   native AddSpecialEffectTarget string modelName, widget targetWidget, string attachPointName effect
2313   native AddSpellEffect string abilityString, effecttype t, real x, real y effect
2315   native AddSpellEffectById integer abilityId, effecttype t, real x, real y effect
2316   native AddSpellEffectByIdLoc integer abilityId, effecttype t, location where effect
2314   native AddSpellEffectLoc string abilityString, effecttype t, location where effect
2317   native AddSpellEffectTarget string modelName, effecttype t, widget targetWidget, string attachPoint effect
2318   native AddSpellEffectTargetById integer abilityId, effecttype t, widget targetWidget, string attachPoint effect
1476   native AddUnitAnimationProperties unit whichUnit, string animProperties, boolean add nothing
1657   native AddUnitToAllStock integer unitId, integer currentStock, integer stockMax nothing
1658   native AddUnitToStock unit whichUnit, integer unitId, integer currentStock, integer stockMax nothing
2297   native AddWeatherEffect rect where, integer effectID weathereffect
2176   native AdjustCameraField camerafield whichField, real offset, real duration nothing
1052   native And boolexpr operandA, boolexpr operandB boolexpr
800   native Asin real y real
803   native Atan real x real
806   native Atan2 real y, real x real
2257   native AttachSoundToUnit sound soundHandle, unit whichUnit nothing

BACK TO TOP

------------------------------------------------------------

B

 

BACK TO TOP

------------------------------------------------------------

C

Line Constant Type Name Parameters Return Type
1720   native CachePlayerHeroData player whichPlayer nothing
2198   native CameraSetSmoothingFactor real factor nothing
2193   native CameraSetSourceNoise real mag, real velocity nothing
2196   native CameraSetSourceNoiseEx real mag, real velocity, boolean vertOnly nothing
2192   native CameraSetTargetNoise real mag, real velocity nothing
2195   native CameraSetTargetNoiseEx real mag, real velocity, boolean vertOnly nothing
2187   native CameraSetupApply camerasetup whichSetup, boolean doPan, boolean panTimed nothing
2189   native CameraSetupApplyForceDuration camerasetup whichSetup, boolean doPan, real forceDuration nothing
2190   native CameraSetupApplyForceDurationWithZ camerasetup whichSetup, real zDestOffset, real forceDuration nothing
2188   native CameraSetupApplyWithZ camerasetup whichSetup, real zDestOffset nothing
2184   native CameraSetupGetDestPositionLoc camerasetup whichSetup location
2185   native CameraSetupGetDestPositionX camerasetup whichSetup real
2186   native CameraSetupGetDestPositionY camerasetup whichSetup real
2182   native CameraSetupGetField camerasetup whichSetup, camerafield whichField real
2183   native CameraSetupSetDestPosition camerasetup whichSetup, real x, real y, real duration nothing
2181   native CameraSetupSetField camerasetup whichSetup, camerafield whichField, real value, real duration nothing
1748   native ChangeLevel string newLevel, boolean doScoreScreen nothing
2403   native Cheat string cheatStr nothing
1959   native ChooseRandomCreep integer level integer
1961   native ChooseRandomItem integer level integer
1962   native ChooseRandomItemEx itemtype whichType, integer level integer
1960   native ChooseRandomNPBuilding   integer
2265   native ClearMapMusic   nothing
1520   native ClearSelection   nothing
1975   native ClearTextMessages   nothing
2394   native CommandAI player num, integer command, integer data nothing
1055   native Condition code func conditionfunc
108 constant native ConvertAIDifficulty integer i aidifficulty
100 constant native ConvertAllianceType integer i alliancetype
138 constant native ConvertAttackType integer i attacktype
131 constant native ConvertBlendMode integer i blendmode
130 constant native ConvertCameraField integer i camerafield
139 constant native ConvertDamageType integer i damagetype
113 constant native ConvertDialogEvent integer i dialogevent
135 constant native ConvertEffectType integer i effecttype
103 constant native ConvertFGameState integer i fgamestate
134 constant native ConvertFogState integer i fogstate
120 constant native ConvertGameDifficulty integer i gamedifficulty
109 constant native ConvertGameEvent integer i gameevent
117 constant native ConvertGameSpeed integer i gamespeed
121 constant native ConvertGameType integer i gametype
102 constant native ConvertIGameState integer i igamestate
137 constant native ConvertItemType integer i itemtype
115 constant native ConvertLimitOp integer i limitop
126 constant native ConvertMapControl integer i mapcontrol
125 constant native ConvertMapDensity integer i mapdensity
122 constant native ConvertMapFlag integer i mapflag
124 constant native ConvertMapSetting integer i mapsetting
123 constant native ConvertMapVisibility integer i mapvisibility
142 constant native ConvertPathingType integer i pathingtype
118 constant native ConvertPlacement integer i placement
127 constant native ConvertPlayerColor integer i playercolor
110 constant native ConvertPlayerEvent integer i playerevent
106 constant native ConvertPlayerGameResult integer i playergameresult
105 constant native ConvertPlayerScore integer i playerscore
128 constant native ConvertPlayerSlotState integer i playerslotstate
104 constant native ConvertPlayerState integer i playerstate
111 constant native ConvertPlayerUnitEvent integer i playerunitevent
99 constant native ConvertRace integer i race
101 constant native ConvertRacePref integer i racepreference
132 constant native ConvertRarityControl integer i raritycontrol
141 constant native ConvertSoundType integer i soundtype
119 constant native ConvertStartLocPrio integer i startlocprio
133 constant native ConvertTexMapFlags integer i texmapflags
114 constant native ConvertUnitEvent integer i unitevent
107 constant native ConvertUnitState integer i unitstate
116 constant native ConvertUnitType integer i unittype
136 constant native ConvertVersion integer i version
129 constant native ConvertVolumeGroup integer i volumegroup
140 constant native ConvertWeaponType integer i weapontype
112 constant native ConvertWidgetEvent integer i widgetevent
1761   native CopySaveGame string sourceSaveName, string destSaveName boolean
796   native Cos real radians real
2380   native CreateBlightedGoldmine player id, real x, real y, real face unit
2180   native CreateCameraSetup   camerasetup
1434   native CreateCorpse player whichPlayer, integer unitid, real x, real y, real face unit
1369   native CreateDeadDestructable integer objectid, real x, real y, real face, real scale, integer variation destructable
1370   native CreateDeadDestructableZ integer objectid, real x, real y, real z, real face, real scale, integer variation destructable
2055   native CreateDefeatCondition   defeatcondition
1367   native CreateDestructable integer objectid, real x, real y, real face, real scale, integer variation destructable
1368   native CreateDestructableZ integer objectid, real x, real y, real z, real face, real scale, integer variation destructable
1733   native CreateFogModifierRadius player forWhichPlayer, fogstate whichState, real centerx, real centerY, real radius, boolean useSharedVision, boolean afterUnits fogmodifier
1734   native CreateFogModifierRadiusLoc player forWhichPlayer, fogstate whichState, location center, real radius, boolean useSharedVision, boolean afterUnits fogmodifier
1732   native CreateFogModifierRect player forWhichPlayer, fogstate whichState, rect where, boolean useSharedVision, boolean afterUnits fogmodifier
960   native CreateForce   force
925   native CreateGroup   group
2351   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
1395   native CreateItem integer itemid, real x, real y item
1952   native CreateItemPool   itempool
2078   native CreateLeaderboard   leaderboard
2240   native CreateMIDISound string soundLabel, integer fadeInRate, integer fadeOutRate sound
2119   native CreateMultiboard   multiboard
2031   native CreateQuest   quest
989   native CreateRegion   region
2237   native CreateSound string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string eaxSetting sound
2238   native CreateSoundFilenameWithLabel string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string SLKEntryName sound
2239   native CreateSoundFromLabel string soundLabel, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate sound
2001   native CreateTextTag   texttag
912   native CreateTimer   timer
2064   native CreateTimerDialog timer t timerdialog
2027   native CreateTrackable string trackableModelPath, real x, real y, real facing trackable
1020   native CreateTrigger   trigger
2365   native CreateUbersplat real x, real y, string name, integer red, integer green, integer blue, integer alpha, boolean forcePaused, boolean noBirthTime ubersplat
1430   native CreateUnit player id, integer unitid, real x, real y, real face unit
1432   native CreateUnitAtLoc player id, integer unitid, location whichLocation, real face unit
1433   native CreateUnitAtLocByName player id, string unitname, location whichLocation, real face unit
1431   native CreateUnitByName player whichPlayer, string unitname, real x, real y, real face unit
1946   native CreateUnitPool   unitpool
1710   native CripplePlayer player whichPlayer, force toWhichPlayers, boolean flag nothing

BACK TO TOP

------------------------------------------------------------

D

Line Constant Type Name Parameters Return Type
1509   native DecUnitAbilityLevel unit whichUnit, integer abilcode integer
2057   native DefeatConditionSetDescription defeatcondition whichCondition, string description nothing
850   native DefineStartLocation integer whichStartLoc, real x, real y nothing
851   native DefineStartLocationLoc integer whichStartLoc, location whichLocation nothing
792   native Deg2Rad real degrees real
1059   native DestroyBoolExpr boolexpr e nothing
1056   native DestroyCondition conditionfunc c nothing
2056   native DestroyDefeatCondition defeatcondition whichCondition nothing
2311   native DestroyEffect effect whichEffect nothing
1058   native DestroyFilter filterfunc f nothing
1735   native DestroyFogModifier fogmodifier whichFogModifier nothing
961   native DestroyForce force whichForce nothing
926   native DestroyGroup group whichGroup nothing
2352   native DestroyImage image whichImage nothing
1953   native DestroyItemPool itempool whichItemPool nothing
2079   native DestroyLeaderboard leaderboard lb nothing
2322   native DestroyLightning lightning whichBolt boolean
2120   native DestroyMultiboard multiboard lb nothing
2032   native DestroyQuest quest whichQuest nothing
2002   native DestroyTextTag texttag t nothing
913   native DestroyTimer timer whichTimer nothing
2065   native DestroyTimerDialog timerdialog whichDialog nothing
1021   native DestroyTrigger trigger whichTrigger nothing
2366   native DestroyUbersplat ubersplat whichSplat nothing
1947   native DestroyUnitPool unitpool whichPool nothing
1383   native DestructableRestoreLife destructable d, real life, boolean birth nothing
1789   native DialogAddButton dialog whichDialog, string buttonText, integer hotkey button
1790   native DialogAddQuitButton dialog whichDialog, boolean doScoreScreen, string buttonText, integer hotkey button
1787   native DialogClear dialog whichDialog nothing
1785   native DialogCreate   dialog
1786   native DialogDestroy dialog whichDialog nothing
1791   native DialogDisplay player whichPlayer, dialog whichDialog, boolean flag nothing
1788   native DialogSetMessage dialog whichDialog, string messageText nothing
1999   native DisableRestartMission boolean flag nothing
1024   native DisableTrigger trigger whichTrigger nothing
2208   native DisplayCineFilter boolean flag nothing
1997   native DisplayLoadDialog   nothing
1972   native DisplayTextToPlayer player toPlayer, real x, real y, string message nothing
1974   native DisplayTimedTextFromPlayer player toPlayer, real x, real y, real duration, string message nothing
1973   native DisplayTimedTextToPlayer player toPlayer, real x, real y, real duration, string message nothing
1781   native DoNotSaveReplay   nothing

BACK TO TOP

------------------------------------------------------------

E

Line Constant Type Name Parameters Return Type
2021   native EnableDragSelect boolean state, boolean ui nothing
2020   native EnableMinimapFilterButtons boolean enableAlly, boolean enableCreep nothing
1989   native EnableOcclusion boolean flag nothing
2022   native EnablePreSelect boolean state, boolean ui nothing
2023   native EnableSelect boolean state, boolean ui nothing
1023   native EnableTrigger trigger whichTrigger nothing
1978   native EnableUserControl boolean b nothing
1979   native EnableUserUI boolean b nothing
2299   native EnableWeatherEffect weathereffect whichEffect, boolean enable nothing
1992   native EnableWorldFogBoundary boolean b nothing
2212   native EndCinematicScene   nothing
1745   native EndGame boolean doScoreScreen nothing
2274   native EndThematicMusic   nothing
1375   native EnumDestructablesInRect rect r, boolexpr filter, code actionFunc nothing
1417   native EnumItemsInRect rect r, boolexpr filter, code actionFunc nothing
1047   native ExecuteFunc string funcName nothing

BACK TO TOP

------------------------------------------------------------

F

Line Constant Type Name Parameters Return Type
1057   native Filter code func filterfunc
2368   native FinishUbersplat ubersplat whichSplat nothing
955   native FirstOfGroup group whichGroup unit
2059   native FlashQuestDialogButton   nothing
1938   native FlushChildHashtable hashtable table, integer parentKey nothing
1819   native FlushGameCache gamecache cache nothing
1937   native FlushParentHashtable hashtable table 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
1729   native FogEnable boolean enable nothing
1727   native FogMaskEnable boolean enable nothing
1736   native FogModifierStart fogmodifier whichFogModifier nothing
1737   native FogModifierStop fogmodifier whichFogModifier nothing
962   native ForceAddPlayer force whichForce, player whichPlayer nothing
1755   native ForceCampaignSelectScreen   nothing
2213   native ForceCinematicSubtitles boolean flag nothing
964   native ForceClear force whichForce nothing
967   native ForceEnumAllies force whichForce, player whichPlayer, boolexpr filter nothing
968   native ForceEnumEnemies force whichForce, player whichPlayer, boolexpr filter nothing
965   native ForceEnumPlayers force whichForce, boolexpr filter nothing
966   native ForceEnumPlayersCounted force whichForce, boolexpr filter, integer countLimit nothing
888   native ForcePlayerStartLocation player whichPlayer, integer startLocIndex nothing
2060   native ForceQuestDialogUpdate   nothing
963   native ForceRemovePlayer force whichForce, player whichPlayer nothing
1996   native ForceUICancel   nothing
1995   native ForceUIKey string key nothing
969   native ForForce force whichForce, code callback nothing
954   native ForGroup group whichGroup, code callback nothing

BACK TO TOP

------------------------------------------------------------

G

Line Constant Type Name Parameters Return Type
2331   native GetAbilityEffect string abilityString, effecttype t, integer index string
2332   native GetAbilityEffectById integer abilityId, effecttype t, integer index string
2333   native GetAbilitySound string abilityString, soundtype t string
2334   native GetAbilitySoundById integer abilityId, soundtype t string
2396   native GetAIDifficulty player num aidifficulty
2016   native GetAllyColorFilterState   integer
1155 constant native GetAttacker   unit
1205 constant native GetBuyingUnit   unit
2220 constant native GetCameraBoundMaxX   real
2221 constant native GetCameraBoundMaxY   real
2218 constant native GetCameraBoundMinX   real
2219 constant native GetCameraBoundMinY   real
2230 constant native GetCameraEyePositionLoc   location
2227 constant native GetCameraEyePositionX   real
2228 constant native GetCameraEyePositionY   real
2229 constant native GetCameraEyePositionZ   real
2222 constant native GetCameraField camerafield whichField real
2215   native GetCameraMargin integer whichMargin real
2226 constant native GetCameraTargetPositionLoc   location
2223 constant native GetCameraTargetPositionX   real
2224 constant native GetCameraTargetPositionY   real
2225 constant native GetCameraTargetPositionZ   real
1175 constant native GetCancelledStructure   unit
1211 constant native GetChangingUnit   unit
1212 constant native GetChangingUnitPrevOwner   player
1109 constant native GetClickedButton   button
1110 constant native GetClickedDialog   dialog
1176 constant native GetConstructedStructure   unit
1171 constant native GetConstructingStructure   unit
876 constant native GetCreatureDensity   mapdensity
2018   native GetCreepCampFilterState   boolean
1780   native GetCustomCampaignButtonVisible integer whichButton boolean
1165 constant native GetDecayingUnit   unit
1777   native GetDefaultDifficulty   gamedifficulty
1380   native GetDestructableLife destructable d real
1382   native GetDestructableMaxLife destructable d real
1390   native GetDestructableName destructable d string
1388   native GetDestructableOccluderHeight destructable d real
1376   native GetDestructableTypeId destructable d integer
1377   native GetDestructableX destructable d real
1378   native GetDestructableY destructable d real
1192 constant native GetDetectedUnit   unit
1161 constant native GetDyingUnit   unit
1094 constant native GetEnteringUnit   unit
1034 constant native GetEnumDestructable   destructable
1037 constant native GetEnumItem   item
1040 constant native GetEnumPlayer   player
1031 constant native GetEnumUnit   unit
1291 constant native GetEventDamage   real
1292 constant native GetEventDamageSource   unit
1299 constant native GetEventDetectingPlayer   player
1082 constant native GetEventGameState   gamestate
1267 constant native GetEventPlayerChatString   string
1270 constant native GetEventPlayerChatStringMatched   string
1259 constant native GetEventPlayerState   playerstate
1305 constant native GetEventTargetUnit   unit
1286 constant native GetEventUnitState   unitstate
920   native GetExpiredTimer   timer
1033 constant native GetFilterDestructable   destructable
1036 constant native GetFilterItem   item
1039 constant native GetFilterPlayer   player
1030 constant native GetFilterUnit   unit
1765 constant native GetFloatGameState fgamestate whichFloatGameState real
1557 constant native GetFoodMade integer unitId integer
1558 constant native GetFoodUsed integer unitId integer
874 constant native GetGameDifficulty   gamedifficulty
872 constant native GetGamePlacement   placement
873 constant native GetGameSpeed   gamespeed
869   native GetGameTypeSelected   gametype
826   native GetHandleId handle h integer
1489   native GetHeroAgi unit whichHero, boolean includeBonuses integer
1490   native GetHeroInt unit whichHero, boolean includeBonuses integer
1502 constant native GetHeroLevel unit whichHero integer
1504   native GetHeroProperName unit whichHero string
1497   native GetHeroSkillPoints unit whichHero integer
1488   native GetHeroStr unit whichHero, boolean includeBonuses integer
1494   native GetHeroXP unit whichHero integer
1767 constant native GetIntegerGameState igamestate whichIntegerGameState integer
1222 constant native GetIssuedOrderId   integer
1422   native GetItemCharges item whichItem integer
1418   native GetItemLevel item whichItem integer
1421 constant native GetItemName item whichItem string
1397   native GetItemPlayer item whichItem player
1419   native GetItemType item whichItem itemtype
1398   native GetItemTypeId item i integer
1424   native GetItemUserData item whichItem integer
1399   native GetItemX item i real
1400   native GetItemY item i real
1162 constant native GetKillingUnit   unit
1140 constant native GetLearnedSkill   integer
1141 constant native GetLearnedSkillLevel   integer
1139 constant native GetLearningUnit   unit
1099 constant native GetLeavingUnit   unit
1135 constant native GetLevelingUnit   unit
2325   native GetLightningColorA lightning whichBolt real
2328   native GetLightningColorB lightning whichBolt real
2327   native GetLightningColorG lightning whichBolt real
2326   native GetLightningColorR lightning whichBolt real
1200 constant native GetLoadedUnit   unit
833   native GetLocalizedHotkey string source integer
832   native GetLocalizedString string source string
1676 constant native GetLocalPlayer   player
1003   native GetLocationX location whichLocation real
1004   native GetLocationY location whichLocation real
1008   native GetLocationZ location whichLocation real
1218 constant native GetManipulatedItem   item
1217 constant native GetManipulatingUnit   unit
154 constant native GetObjectName integer objectId string
1221 constant native GetOrderedUnit   unit
1227 constant native GetOrderPointLoc   location
1225 constant native GetOrderPointX   real
1226 constant native GetOrderPointY   real
1230 constant native GetOrderTarget   widget
1231 constant native GetOrderTargetDestructable   destructable
1232 constant native GetOrderTargetItem   item
1233 constant native GetOrderTargetUnit   unit
1551 constant native GetOwningPlayer unit whichUnit player
1695 constant native GetPlayerAlliance player sourcePlayer, player otherPlayer, alliancetype whichAllianceSetting boolean
901   native GetPlayerColor player whichPlayer playercolor
903   native GetPlayerController player whichPlayer mapcontrol
1697 constant native GetPlayerHandicap player whichPlayer real
1698 constant native GetPlayerHandicapXP player whichPlayer real
1689 constant native GetPlayerId player whichPlayer integer
907   native GetPlayerName player whichPlayer string
1688 constant native GetPlayerRace player whichPlayer race
866   native GetPlayers   integer
1694 constant native GetPlayerScore player whichPlayer, playerscore whichPlayerScore integer
902   native GetPlayerSelectable player whichPlayer boolean
904   native GetPlayerSlotState player whichPlayer playerslotstate
900   native GetPlayerStartLocation player whichPlayer integer
1693 constant native GetPlayerState player whichPlayer, playerstate whichPlayerState integer
1692 constant native GetPlayerStructureCount player whichPlayer, boolean includeIncomplete integer
905   native GetPlayerTaxRate player sourcePlayer, player otherPlayer, playerstate whichResource integer
899   native GetPlayerTeam player whichPlayer integer
1707 constant native GetPlayerTechCount player whichPlayer, integer techid, boolean specificonly integer
1703 constant native GetPlayerTechMaxAllowed player whichPlayer, integer techid integer
1706 constant native GetPlayerTechResearched player whichPlayer, integer techid, boolean specificonly boolean
1691 constant native GetPlayerTypedUnitCount player whichPlayer, string unitName, boolean includeIncomplete, boolean includeUpgrades integer
1690 constant native GetPlayerUnitCount player whichPlayer, boolean includeIncomplete integer
1943   native GetRandomInt integer lowBound, integer highBound integer
1944   native GetRandomReal real lowBound, real highBound real
982   native GetRectCenterX rect whichRect real
983   native GetRectCenterY rect whichRect real
986   native GetRectMaxX rect whichRect real
987   native GetRectMaxY rect whichRect real
984   native GetRectMinX rect whichRect real
985   native GetRectMinY rect whichRect real
1158 constant native GetRescuer   unit
1182 constant native GetResearched   integer
1181 constant native GetResearchingUnit   unit
1647   native GetResourceAmount unit whichUnit integer
875 constant native GetResourceDensity   mapdensity
1144 constant native GetRevivableUnit   unit
1152 constant native GetRevivingUnit   unit
1119 constant native GetSaveBasicFilename   string
1203 constant native GetSellingUnit   unit
1208 constant native GetSoldItem   item
1204 constant native GetSoldUnit   unit
2282   native GetSoundDuration sound soundHandle integer
2283   native GetSoundFileDuration string musicFileName integer
2289   native GetSoundIsLoading sound soundHandle boolean
2288   native GetSoundIsPlaying sound soundHandle boolean
1247 constant native GetSpellAbility   ability
1246 constant native GetSpellAbilityId   integer
1245 constant native GetSpellAbilityUnit   unit
1251 constant native GetSpellTargetDestructable   destructable
1252 constant native GetSpellTargetItem   item
1248 constant native GetSpellTargetLoc   location
1253 constant native GetSpellTargetUnit   unit
1249 constant native GetSpellTargetX   real
1250 constant native GetSpellTargetY   real
879 constant native GetStartLocationLoc integer whichStartLocation location
877 constant native GetStartLocationX integer whichStartLocation real
878 constant native GetStartLocationY integer whichStartLocation real
855   native GetStartLocPrio integer whichStartLoc, integer prioSlotIndex startlocprio
854   native GetStartLocPrioSlot integer whichStartLoc, integer prioSlotIndex integer
1830   native GetStoredBoolean gamecache cache, string missionKey, string key boolean
1828   native GetStoredInteger gamecache cache, string missionKey, string key integer
1829   native GetStoredReal gamecache cache, string missionKey, string key real
1831   native GetStoredString gamecache cache, string missionKey, string key string
1196 constant native GetSummonedUnit   unit
1195 constant native GetSummoningUnit   unit
865   native GetTeams   integer
2339   native GetTerrainCliffLevel real x, real y integer
2342   native GetTerrainType real x, real y integer
2343   native GetTerrainVariance real x, real y integer
1982   native GetTimeOfDayScale   real
1115 constant native GetTournamentFinishNowPlayer   player
1114 constant native GetTournamentFinishNowRule   integer
1113 constant native GetTournamentFinishSoonTimeRemaining   real
1116 constant native GetTournamentScore player whichPlayer integer
1189 constant native GetTrainedUnit   unit
1186 constant native GetTrainedUnitType   integer
1199 constant native GetTransportUnit   unit
1391 constant native GetTriggerDestructable   destructable
1044 constant native GetTriggerEvalCount trigger whichTrigger integer
1043 constant native GetTriggerEventId   eventid
1045 constant native GetTriggerExecCount trigger whichTrigger integer
1093 constant native GetTriggeringRegion   region
1106 constant native GetTriggeringTrackable   trackable
1042 constant native GetTriggeringTrigger   trigger
1129 constant native GetTriggerPlayer   player
1281 constant native GetTriggerUnit   unit
1362 constant native GetTriggerWidget   widget
1508   native GetUnitAbilityLevel unit whichUnit, integer abilcode integer
1454   native GetUnitAcquireRange unit whichUnit real
1643   native GetUnitCurrentOrder unit whichUnit integer
1459   native GetUnitDefaultAcquireRange unit whichUnit real
1462   native GetUnitDefaultFlyHeight unit whichUnit real
1549 constant native GetUnitDefaultMoveSpeed unit whichUnit real
1461   native GetUnitDefaultPropWindow unit whichUnit real
1460   native GetUnitDefaultTurnSpeed unit whichUnit real
1547 constant native GetUnitFacing unit whichUnit real
1457   native GetUnitFlyHeight unit whichUnit real
1556 constant native GetUnitFoodMade unit whichUnit integer
1555 constant native GetUnitFoodUsed unit whichUnit integer
1503 constant native GetUnitLevel unit whichUnit integer
1546 constant native GetUnitLoc unit whichUnit location
1548 constant native GetUnitMoveSpeed unit whichUnit real
1554 constant native GetUnitName unit whichUnit string
1523   native GetUnitPointValue unit whichUnit integer
1524   native GetUnitPointValueByType integer unitType integer
1456   native GetUnitPropWindow unit whichUnit real
1553 constant native GetUnitRace unit whichUnit race
1563 constant native GetUnitRallyDestructable unit whichUnit destructable
1561 constant native GetUnitRallyPoint unit whichUnit location
1562 constant native GetUnitRallyUnit unit whichUnit unit
1550 constant native GetUnitState unit whichUnit, unitstate whichUnitState real
1455   native GetUnitTurnSpeed unit whichUnit real
1552 constant native GetUnitTypeId unit whichUnit integer
1670   native GetUnitUserData unit whichUnit integer
1544 constant native GetUnitX unit whichUnit real
1545 constant native GetUnitY unit whichUnit real
1358   native GetWidgetLife widget whichWidget real
1360   native GetWidgetX widget whichWidget real
1361   native GetWidgetY widget whichWidget real
1087 constant native GetWinningPlayer   player
1015   native GetWorldBounds   rect
927   native GroupAddUnit group whichGroup, unit whichUnit nothing
929   native GroupClear group whichGroup nothing
935   native GroupEnumUnitsInRange group whichGroup, real x, real y, real radius, boolexpr filter nothing
937   native GroupEnumUnitsInRangeCounted group whichGroup, real x, real y, real radius, boolexpr filter, integer countLimit nothing
936   native GroupEnumUnitsInRangeOfLoc group whichGroup, location whichLocation, real radius, boolexpr filter nothing
938   native GroupEnumUnitsInRangeOfLocCounted group whichGroup, location whichLocation, real radius, boolexpr filter, integer countLimit nothing
933   native GroupEnumUnitsInRect group whichGroup, rect r, boolexpr filter nothing
934   native GroupEnumUnitsInRectCounted group whichGroup, rect r, boolexpr filter, integer countLimit nothing
931   native GroupEnumUnitsOfPlayer group whichGroup, player whichPlayer, boolexpr filter nothing
930   native GroupEnumUnitsOfType group whichGroup, string unitname, boolexpr filter nothing
932   native GroupEnumUnitsOfTypeCounted group whichGroup, string unitname, boolexpr filter, integer countLimit nothing
939   native GroupEnumUnitsSelected group whichGroup, player whichPlayer, boolexpr filter nothing
941   native GroupImmediateOrder group whichGroup, string order boolean
942   native GroupImmediateOrderById group whichGroup, integer order boolean
943   native GroupPointOrder group whichGroup, string order, real x, real y boolean
945   native GroupPointOrderById group whichGroup, integer order, real x, real y boolean
946   native GroupPointOrderByIdLoc group whichGroup, integer order, location whichLocation boolean
944   native GroupPointOrderLoc group whichGroup, string order, location whichLocation boolean
928   native GroupRemoveUnit group whichGroup, unit whichUnit nothing
947   native GroupTargetOrder group whichGroup, string order, widget targetWidget boolean
948   native GroupTargetOrderById group whichGroup, integer order, widget targetWidget boolean

BACK TO TOP

------------------------------------------------------------

H

Line Constant Type Name Parameters Return Type
1927   native HaveSavedBoolean hashtable table, integer parentKey, integer childKey boolean
1929   native HaveSavedHandle hashtable table, integer parentKey, integer childKey boolean
1925   native HaveSavedInteger hashtable table, integer parentKey, integer childKey boolean
1926   native HaveSavedReal hashtable table, integer parentKey, integer childKey boolean
1928   native HaveSavedString hashtable table, integer parentKey, integer childKey boolean
1815   native HaveStoredBoolean gamecache cache, string missionKey, string key boolean
1813   native HaveStoredInteger gamecache cache, string missionKey, string key boolean
1814   native HaveStoredReal gamecache cache, string missionKey, string key boolean
1817   native HaveStoredString gamecache cache, string missionKey, string key boolean
1816   native HaveStoredUnit gamecache cache, string missionKey, string key boolean

BACK TO TOP

------------------------------------------------------------

I

Line Constant Type Name Parameters Return Type
819   native I2R integer i real
821   native I2S integer i string
1510   native IncUnitAbilityLevel unit whichUnit, integer abilcode integer
1798   native InitGameCache string campaignFile gamecache
1835   native InitHashtable   hashtable
2209   native IsCineFilterDisplayed   boolean
1374   native IsDestructableInvulnerable destructable d boolean
1730   native IsFogEnabled   boolean
1683 constant native IsFoggedToPlayer real x, real y, player whichPlayer boolean
1728   native IsFogMaskEnabled   boolean
868   native IsGameTypeSupported gametype whichGameType boolean
1588 constant native IsHeroUnitId integer unitId boolean
1416   native IsItemIdPawnable integer itemId boolean
1414   native IsItemIdPowerup integer itemId boolean
1415   native IsItemIdSellable integer itemId boolean
1407   native IsItemInvulnerable item whichItem boolean
1410   native IsItemOwned item whichItem boolean
1413   native IsItemPawnable item whichItem boolean
1411   native IsItemPowerup item whichItem boolean
1412   native IsItemSellable item whichItem boolean
1409   native IsItemVisible item whichItem boolean
2082   native IsLeaderboardDisplayed leaderboard lb boolean
1684 constant native IsLocationFoggedToPlayer location whichLocation, player whichPlayer boolean
1012   native IsLocationInRegion region whichRegion, location whichLocation boolean
1686 constant native IsLocationMaskedToPlayer location whichLocation, player whichPlayer boolean
1682 constant native IsLocationVisibleToPlayer location whichLocation, player whichPlayer boolean
870   native IsMapFlagSet mapflag whichMapFlag boolean
1685 constant native IsMaskedToPlayer real x, real y, player whichPlayer boolean
2123   native IsMultiboardDisplayed multiboard lb boolean
2126   native IsMultiboardMinimized multiboard lb boolean
2405   native IsNoDefeatCheat   boolean
2404   native IsNoVictoryCheat   boolean
1677 constant native IsPlayerAlly player whichPlayer, player otherPlayer boolean
1678 constant native IsPlayerEnemy player whichPlayer, player otherPlayer boolean
1679 constant native IsPlayerInForce player whichPlayer, force whichForce boolean
1680 constant native IsPlayerObserver player whichPlayer boolean
906   native IsPlayerRacePrefSet player whichPlayer, racepreference pref boolean
2381   native IsPointBlighted real x, real y boolean
1011   native IsPointInRegion region whichRegion, real x, real y boolean
2044   native IsQuestCompleted quest whichQuest boolean
2045   native IsQuestDiscovered quest whichQuest boolean
2047   native IsQuestEnabled quest whichQuest boolean
2046   native IsQuestFailed quest whichQuest boolean
2053   native IsQuestItemCompleted questitem whichQuestItem boolean
2043   native IsQuestRequired quest whichQuest boolean
1633   native IssueBuildOrder unit whichPeon, string unitToBuild, real x, real y boolean
1634   native IssueBuildOrderById unit whichPeon, integer unitId, real x, real y boolean
1621   native IssueImmediateOrder unit whichUnit, string order boolean
1622   native IssueImmediateOrderById unit whichUnit, integer order boolean
1629   native IssueInstantPointOrder unit whichUnit, string order, real x, real y, widget instantTargetWidget boolean
1630   native IssueInstantPointOrderById unit whichUnit, integer order, real x, real y, widget instantTargetWidget boolean
1631   native IssueInstantTargetOrder unit whichUnit, string order, widget targetWidget, widget instantTargetWidget boolean
1632   native IssueInstantTargetOrderById unit whichUnit, integer order, widget targetWidget, widget instantTargetWidget boolean
1636   native IssueNeutralImmediateOrder player forWhichPlayer, unit neutralStructure, string unitToBuild boolean
1637   native IssueNeutralImmediateOrderById player forWhichPlayer, unit neutralStructure, integer unitId boolean
1638   native IssueNeutralPointOrder player forWhichPlayer, unit neutralStructure, string unitToBuild, real x, real y boolean
1639   native IssueNeutralPointOrderById player forWhichPlayer, unit neutralStructure, integer unitId, real x, real y boolean
1640   native IssueNeutralTargetOrder player forWhichPlayer, unit neutralStructure, string unitToBuild, widget target boolean
1641   native IssueNeutralTargetOrderById player forWhichPlayer, unit neutralStructure, integer unitId, widget target boolean
1623   native IssuePointOrder unit whichUnit, string order, real x, real y boolean
1625   native IssuePointOrderById unit whichUnit, integer order, real x, real y boolean
1626   native IssuePointOrderByIdLoc unit whichUnit, integer order, location whichLocation boolean
1624   native IssuePointOrderLoc unit whichUnit, string order, location whichLocation boolean
1627   native IssueTargetOrder unit whichUnit, string order, widget targetWidget boolean
1628   native IssueTargetOrderById unit whichUnit, integer order, widget targetWidget boolean
1506   native IsSuspendedXP unit whichHero boolean
2345   native IsTerrainPathable real x, real y, pathingtype t boolean
2071   native IsTimerDialogDisplayed timerdialog whichDialog boolean
1025   native IsTriggerEnabled trigger whichTrigger boolean
1028   native IsTriggerWaitOnSleeps trigger whichTrigger boolean
1578 constant native IsUnit unit whichUnit, unit whichSpecifiedUnit boolean
1568 constant native IsUnitAlly unit whichUnit, player whichPlayer boolean
1571 constant native IsUnitDetected unit whichUnit, player whichPlayer boolean
1569 constant native IsUnitEnemy unit whichUnit, player whichPlayer boolean
1573 constant native IsUnitFogged unit whichUnit, player whichPlayer boolean
1582 constant native IsUnitHidden unit whichUnit boolean
1589 constant native IsUnitIdType integer unitId, unittype whichUnitType boolean
1583 constant native IsUnitIllusion unit whichUnit boolean
1566 constant native IsUnitInForce unit whichUnit, force whichForce boolean
1565 constant native IsUnitInGroup unit whichUnit, group whichGroup boolean
1579 constant native IsUnitInRange unit whichUnit, unit otherUnit, real distance boolean
1581 constant native IsUnitInRangeLoc unit whichUnit, location whichLocation, real distance boolean
1580 constant native IsUnitInRangeXY unit whichUnit, real x, real y, real distance boolean
1010   native IsUnitInRegion region whichRegion, unit whichUnit boolean
1585 constant native IsUnitInTransport unit whichUnit, unit whichTransport boolean
1572 constant native IsUnitInvisible unit whichUnit, player whichPlayer boolean
1586 constant native IsUnitLoaded unit whichUnit boolean
1574 constant native IsUnitMasked unit whichUnit, player whichPlayer boolean
1567 constant native IsUnitOwnedByPlayer unit whichUnit, player whichPlayer boolean
1517   native IsUnitPaused unit whichHero boolean
1576 constant native IsUnitRace unit whichUnit, race whichRace boolean
1575 constant native IsUnitSelected unit whichUnit, player whichPlayer boolean
1577 constant native IsUnitType unit whichUnit, unittype whichUnitType boolean
1570 constant native IsUnitVisible unit whichUnit, player whichPlayer boolean
1681 constant native IsVisibleToPlayer real x, real y, player whichPlayer boolean
1954   native ItemPoolAddItemType itempool whichItemPool, integer itemId, real weight nothing
1955   native ItemPoolRemoveItemType itempool whichItemPool, integer itemId nothing

BACK TO TOP

------------------------------------------------------------

J

 

BACK TO TOP

------------------------------------------------------------

K

Line Constant Type Name Parameters Return Type
1372   native KillDestructable destructable d nothing
2261   native KillSoundWhenDone sound soundHandle nothing
1436   native KillUnit unit whichUnit nothing

BACK TO TOP

------------------------------------------------------------

L

Line Constant Type Name Parameters Return Type
2087   native LeaderboardAddItem leaderboard lb, string label, integer value, player p nothing
2090   native LeaderboardClear leaderboard lb nothing
2081   native LeaderboardDisplay leaderboard lb, boolean show nothing
2084   native LeaderboardGetItemCount leaderboard lb integer
2099   native LeaderboardGetLabelText leaderboard lb string
2097   native LeaderboardGetPlayerIndex leaderboard lb, player p integer
2096   native LeaderboardHasPlayerItem leaderboard lb, player p boolean
2088   native LeaderboardRemoveItem leaderboard lb, integer index nothing
2089   native LeaderboardRemovePlayerItem leaderboard lb, player p nothing
2109   native LeaderboardSetItemLabel leaderboard lb, integer whichItem, string val nothing
2111   native LeaderboardSetItemLabelColor leaderboard lb, integer whichItem, integer red, integer green, integer blue, integer alpha nothing
2110   native LeaderboardSetItemStyle leaderboard lb, integer whichItem, boolean showLabel, boolean showValue, boolean showIcon nothing
2108   native LeaderboardSetItemValue leaderboard lb, integer whichItem, integer val nothing
2112   native LeaderboardSetItemValueColor leaderboard lb, integer whichItem, integer red, integer green, integer blue, integer alpha nothing
2098   native LeaderboardSetLabel leaderboard lb, string label nothing
2104   native LeaderboardSetLabelColor leaderboard lb, integer red, integer green, integer blue, integer alpha nothing
2086   native LeaderboardSetSizeByItemCount leaderboard lb, integer count nothing
2106   native LeaderboardSetStyle leaderboard lb, boolean showLabel, boolean showNames, boolean showValues, boolean showIcons nothing
2105   native LeaderboardSetValueColor leaderboard lb, integer red, integer green, integer blue, integer alpha nothing
2094   native LeaderboardSortItemsByLabel leaderboard lb, boolean ascending nothing
2093   native LeaderboardSortItemsByPlayer leaderboard lb, boolean ascending nothing
2092   native LeaderboardSortItemsByValue leaderboard lb, boolean ascending nothing
1891   native LoadAbilityHandle hashtable table, integer parentKey, integer childKey ability
1884   native LoadBoolean hashtable table, integer parentKey, integer childKey boolean
1901   native LoadBooleanExprHandle hashtable table, integer parentKey, integer childKey boolexpr
1915   native LoadButtonHandle hashtable table, integer parentKey, integer childKey button
1908   native LoadDefeatConditionHandle hashtable table, integer parentKey, integer childKey defeatcondition
1888   native LoadDestructableHandle hashtable table, integer parentKey, integer childKey destructable
1914   native LoadDialogHandle hashtable table, integer parentKey, integer childKey dialog
1903   native LoadEffectHandle hashtable table, integer parentKey, integer childKey effect
1922   native LoadFogModifierHandle hashtable table, integer parentKey, integer childKey fogmodifier
1921   native LoadFogStateHandle hashtable table, integer parentKey, integer childKey fogstate
1897   native LoadForceHandle hashtable table, integer parentKey, integer childKey force
1757   native LoadGame string saveFileName, boolean doScoreScreen nothing
1898   native LoadGroupHandle hashtable table, integer parentKey, integer childKey group
1923   native LoadHashtableHandle hashtable table, integer parentKey, integer childKey hashtable
1918   native LoadImageHandle hashtable table, integer parentKey, integer childKey image
1882   native LoadInteger hashtable table, integer parentKey, integer childKey integer
1889   native LoadItemHandle hashtable table, integer parentKey, integer childKey item
1905   native LoadItemPoolHandle hashtable table, integer parentKey, integer childKey itempool
1910   native LoadLeaderboardHandle hashtable table, integer parentKey, integer childKey leaderboard
1917   native LoadLightningHandle hashtable table, integer parentKey, integer childKey lightning
1899   native LoadLocationHandle hashtable table, integer parentKey, integer childKey location
1911   native LoadMultiboardHandle hashtable table, integer parentKey, integer childKey multiboard
1912   native LoadMultiboardItemHandle hashtable table, integer parentKey, integer childKey multiboarditem
1886   native LoadPlayerHandle hashtable table, integer parentKey, integer childKey player
1906   native LoadQuestHandle hashtable table, integer parentKey, integer childKey quest
1907   native LoadQuestItemHandle hashtable table, integer parentKey, integer childKey questitem
1883   native LoadReal hashtable table, integer parentKey, integer childKey real
1900   native LoadRectHandle hashtable table, integer parentKey, integer childKey rect
1920   native LoadRegionHandle hashtable table, integer parentKey, integer childKey region
1902   native LoadSoundHandle hashtable table, integer parentKey, integer childKey sound
1885   native LoadStr hashtable table, integer parentKey, integer childKey string
1916   native LoadTextTagHandle hashtable table, integer parentKey, integer childKey texttag
1909   native LoadTimerDialogHandle hashtable table, integer parentKey, integer childKey timerdialog
1892   native LoadTimerHandle hashtable table, integer parentKey, integer childKey timer
1913   native LoadTrackableHandle hashtable table, integer parentKey, integer childKey trackable
1895   native LoadTriggerActionHandle hashtable table, integer parentKey, integer childKey triggeraction
1894   native LoadTriggerConditionHandle hashtable table, integer parentKey, integer childKey triggercondition
1896   native LoadTriggerEventHandle hashtable table, integer parentKey, integer childKey event
1893   native LoadTriggerHandle hashtable table, integer parentKey, integer childKey trigger
1919   native LoadUbersplatHandle hashtable table, integer parentKey, integer childKey ubersplat
1890   native LoadUnitHandle hashtable table, integer parentKey, integer childKey unit
1904   native LoadUnitPoolHandle hashtable table, integer parentKey, integer childKey unitpool
1887   native LoadWidgetHandle hashtable table, integer parentKey, integer childKey widget
1000   native Location real x, real y location

BACK TO TOP

------------------------------------------------------------

M

Line Constant Type Name Parameters Return Type
2323   native MoveLightning lightning whichBolt, boolean checkVisibility, real x1, real y1, real x2, real y2 boolean
2324   native MoveLightningEx lightning whichBolt, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 boolean
1002   native MoveLocation location whichLocation, real newX, real newY nothing
979   native MoveRectTo rect whichRect, real newCenterX, real newCenterY nothing
980   native MoveRectToLoc rect whichRect, location newCenterLoc nothing
2127   native MultiboardClear multiboard lb nothing
2122   native MultiboardDisplay multiboard lb, boolean show nothing
2134   native MultiboardGetColumnCount multiboard lb integer
2148   native MultiboardGetItem multiboard lb, integer row, integer column multiboarditem
2133   native MultiboardGetRowCount multiboard lb integer
2130   native MultiboardGetTitleText multiboard lb string
2125   native MultiboardMinimize multiboard lb, boolean minimize nothing
2149   native MultiboardReleaseItem multiboarditem mbi nothing
2136   native MultiboardSetColumnCount multiboard lb, integer count nothing
2155   native MultiboardSetItemIcon multiboarditem mbi, string iconFileName nothing
2144   native MultiboardSetItemsIcon multiboard lb, string iconPath nothing
2140   native MultiboardSetItemsStyle multiboard lb, boolean showValues, boolean showIcons nothing
2151   native MultiboardSetItemStyle multiboarditem mbi, boolean showValue, boolean showIcon nothing
2141   native MultiboardSetItemsValue multiboard lb, string value nothing
2142   native MultiboardSetItemsValueColor multiboard lb, integer red, integer green, integer blue, integer alpha nothing
2143   native MultiboardSetItemsWidth multiboard lb, real width nothing
2152   native MultiboardSetItemValue multiboarditem mbi, string val nothing
2153   native MultiboardSetItemValueColor multiboarditem mbi, integer red, integer green, integer blue, integer alpha nothing
2154   native MultiboardSetItemWidth multiboarditem mbi, real width nothing
2137   native MultiboardSetRowCount multiboard lb, integer count nothing
2129   native MultiboardSetTitleText multiboard lb, string label nothing
2131   native MultiboardSetTitleTextColor multiboard lb, integer red, integer green, integer blue, integer alpha nothing
2160   native MultiboardSuppressDisplay boolean flag nothing

BACK TO TOP

------------------------------------------------------------

N

Line Constant Type Name Parameters Return Type
2235   native NewSoundEnvironment string environmentName nothing
1054   native Not boolexpr operand boolexpr

BACK TO TOP

------------------------------------------------------------

O

Line Constant Type Name Parameters Return Type
1053   native Or boolexpr operandA, boolexpr operandB boolexpr
144 constant native OrderId string orderIdString integer
145 constant native OrderId2String integer orderId string

BACK TO TOP

------------------------------------------------------------

P

Line Constant Type Name Parameters Return Type
2169   native PanCameraTo real x, real y nothing
2170   native PanCameraToTimed real x, real y, real duration nothing
2172   native PanCameraToTimedWithZ real x, real y, real zOffsetDest, real duration nothing
2171   native PanCameraToWithZ real x, real y, real zOffsetDest nothing
2395   native PauseCompAI player p, boolean pause nothing
1984   native PauseGame boolean flag nothing
918   native PauseTimer timer whichTimer nothing
1516   native PauseUnit unit whichUnit, boolean flag nothing
1987   native PingMinimap real x, real y, real duration nothing
1988   native PingMinimapEx real x, real y, real duration, integer red, integer green, integer blue, boolean extraEffects nothing
1956   native PlaceRandomItem itempool whichItemPool, real x, real y item
1950   native PlaceRandomUnit unitpool whichPool, player forWhichPlayer, real x, real y, real facing unit
1994   native PlayCinematic string movieName nothing
1675 constant native Player integer number player
2102   native PlayerGetLeaderboard player toPlayer leaderboard
2101   native PlayerSetLeaderboard player toPlayer, leaderboard lb nothing
1993   native PlayModelCinematic string modelName nothing
2267   native PlayMusic string musicName nothing
2268   native PlayMusicEx string musicName, integer frommsecs, integer fadeinmsecs nothing
2272   native PlayThematicMusic string musicFileName nothing
2273   native PlayThematicMusicEx string musicFileName, integer frommsecs nothing
815   native Pow real x, real power real
2407   native Preload string filename nothing
2408   native PreloadEnd real timeout nothing
2412   native PreloadEndEx   nothing
2417   native Preloader string filename nothing
2414   native PreloadGenClear   nothing
2416   native PreloadGenEnd string filename nothing
2415   native PreloadGenStart   nothing
2411   native PreloadRefresh   nothing
2410   native PreloadStart   nothing

BACK TO TOP

------------------------------------------------------------

Q

Line Constant Type Name Parameters Return Type
2049   native QuestCreateItem quest whichQuest questitem
2051   native QuestItemSetCompleted questitem whichQuestItem, boolean completed nothing
2050   native QuestItemSetDescription questitem whichQuestItem, string description nothing
2038   native QuestSetCompleted quest whichQuest, boolean completed nothing
2034   native QuestSetDescription quest whichQuest, string description nothing
2039   native QuestSetDiscovered quest whichQuest, boolean discovered nothing
2041   native QuestSetEnabled quest whichQuest, boolean enabled nothing
2040   native QuestSetFailed quest whichQuest, boolean failed nothing
2035   native QuestSetIconPath quest whichQuest, string iconPath nothing
2037   native QuestSetRequired quest whichQuest, boolean required nothing
2033   native QuestSetTitle quest whichQuest, string title nothing
1384   native QueueDestructableAnimation destructable d, string whichAnimation nothing
1472   native QueueUnitAnimation unit whichUnit, string whichAnimation nothing

BACK TO TOP

------------------------------------------------------------

R

Line Constant Type Name Parameters Return Type
820   native R2I real r integer
822   native R2S real r string
823   native R2SW real r, integer width, integer precision string
793   native Rad2Deg real radians real
974   native Rect real minx, real miny, real maxx, real maxy rect
975   native RectFromLoc location min, location max rect
2399   native RecycleGuardPosition unit hUnit nothing
995   native RegionAddCell region whichRegion, real x, real y nothing
996   native RegionAddCellAtLoc region whichRegion, location whichLocation nothing
992   native RegionAddRect region whichRegion, rect r nothing
997   native RegionClearCell region whichRegion, real x, real y nothing
998   native RegionClearCellAtLoc region whichRegion, location whichLocation nothing
993   native RegionClearRect region whichRegion, rect r nothing
2291   native RegisterStackedSound sound soundHandle, boolean byPosition, real rectwidth, real rectheight nothing
1750   native ReloadGame   nothing
1796   native ReloadGameCachesFromDisk   boolean
2400   native RemoveAllGuardPositions player num nothing
1371   native RemoveDestructable destructable d nothing
2398   native RemoveGuardPosition unit hUnit nothing
1396   native RemoveItem item whichItem nothing
1660   native RemoveItemFromAllStock integer itemId nothing
1661   native RemoveItemFromStock unit whichUnit, integer itemId nothing
1001   native RemoveLocation location whichLocation nothing
1715   native RemovePlayer player whichPlayer, playergameresult gameResult nothing
976   native RemoveRect rect whichRect nothing
990   native RemoveRegion region whichRegion nothing
1933   native RemoveSavedBoolean hashtable table, integer parentKey, integer childKey nothing
1935   native RemoveSavedHandle hashtable table, integer parentKey, integer childKey nothing
1931   native RemoveSavedInteger hashtable table, integer parentKey, integer childKey nothing
1760   native RemoveSaveDirectory string sourceDirName boolean
1932   native RemoveSavedReal hashtable table, integer parentKey, integer childKey nothing
1934   native RemoveSavedString hashtable table, integer parentKey, integer childKey nothing
1437   native RemoveUnit unit whichUnit nothing
1662   native RemoveUnitFromAllStock integer unitId nothing
1663   native RemoveUnitFromStock unit whichUnit, integer unitId nothing
2298   native RemoveWeatherEffect weathereffect whichEffect nothing
1759   native RenameSaveDirectory string sourceDirName, string destDirName boolean
1968   native ResetTerrainFog   nothing
2168   native ResetToGameCamera real duration nothing
1022   native ResetTrigger trigger whichTrigger nothing
2367   native ResetUbersplat ubersplat whichSplat nothing
1479   native ResetUnitLookAt unit whichUnit nothing
1749   native RestartGame boolean doScoreScreen nothing
1832   native RestoreUnit gamecache cache, string missionKey, string key, player forWhichPlayer, real x, real y, real facing unit
2270   native ResumeMusic   nothing
919   native ResumeTimer timer whichTimer nothing
1512   native ReviveHero unit whichHero, real x, real y, boolean doEyecandy boolean
1513   native ReviveHeroLoc unit whichHero, location loc, boolean doEyecandy boolean

BACK TO TOP

------------------------------------------------------------

S

Line Constant Type Name Parameters Return Type
824   native S2I string s integer
825   native S2R string s real
1846   native SaveAbilityHandle hashtable table, integer parentKey, integer childKey, ability whichAbility boolean
1878   native SaveAgentHandle hashtable table, integer parentKey, integer childKey, agent whichAgent boolean
1839   native SaveBoolean hashtable table, integer parentKey, integer childKey, boolean value nothing
1856   native SaveBooleanExprHandle hashtable table, integer parentKey, integer childKey, boolexpr whichBoolexpr boolean
1870   native SaveButtonHandle hashtable table, integer parentKey, integer childKey, button whichButton boolean
1863   native SaveDefeatConditionHandle hashtable table, integer parentKey, integer childKey, defeatcondition whichDefeatcondition boolean
1843   native SaveDestructableHandle hashtable table, integer parentKey, integer childKey, destructable whichDestructable boolean
1869   native SaveDialogHandle hashtable table, integer parentKey, integer childKey, dialog whichDialog boolean
1858   native SaveEffectHandle hashtable table, integer parentKey, integer childKey, effect whichEffect boolean
1877   native SaveFogModifierHandle hashtable table, integer parentKey, integer childKey, fogmodifier whichFogModifier boolean
1876   native SaveFogStateHandle hashtable table, integer parentKey, integer childKey, fogstate whichFogState boolean
1852   native SaveForceHandle hashtable table, integer parentKey, integer childKey, force whichForce boolean
1758   native SaveGame string saveFileName nothing
1799   native SaveGameCache gamecache whichCache boolean
1762   native SaveGameExists string saveName boolean
1853   native SaveGroupHandle hashtable table, integer parentKey, integer childKey, group whichGroup boolean
1879   native SaveHashtableHandle hashtable table, integer parentKey, integer childKey, hashtable whichHashtable boolean
1873   native SaveImageHandle hashtable table, integer parentKey, integer childKey, image whichImage boolean
1837   native SaveInteger hashtable table, integer parentKey, integer childKey, integer value nothing
1844   native SaveItemHandle hashtable table, integer parentKey, integer childKey, item whichItem boolean
1860   native SaveItemPoolHandle hashtable table, integer parentKey, integer childKey, itempool whichItempool boolean
1865   native SaveLeaderboardHandle hashtable table, integer parentKey, integer childKey, leaderboard whichLeaderboard boolean
1872   native SaveLightningHandle hashtable table, integer parentKey, integer childKey, lightning whichLightning boolean
1854   native SaveLocationHandle hashtable table, integer parentKey, integer childKey, location whichLocation boolean
1866   native SaveMultiboardHandle hashtable table, integer parentKey, integer childKey, multiboard whichMultiboard boolean
1867   native SaveMultiboardItemHandle hashtable table, integer parentKey, integer childKey, multiboarditem whichMultiboarditem boolean
1841   native SavePlayerHandle hashtable table, integer parentKey, integer childKey, player whichPlayer boolean
1861   native SaveQuestHandle hashtable table, integer parentKey, integer childKey, quest whichQuest boolean
1862   native SaveQuestItemHandle hashtable table, integer parentKey, integer childKey, questitem whichQuestitem boolean
1838   native SaveReal hashtable table, integer parentKey, integer childKey, real value nothing
1855   native SaveRectHandle hashtable table, integer parentKey, integer childKey, rect whichRect boolean
1875   native SaveRegionHandle hashtable table, integer parentKey, integer childKey, region whichRegion boolean
1857   native SaveSoundHandle hashtable table, integer parentKey, integer childKey, sound whichSound boolean
1840   native SaveStr hashtable table, integer parentKey, integer childKey, string value boolean
1871   native SaveTextTagHandle hashtable table, integer parentKey, integer childKey, texttag whichTexttag boolean
1864   native SaveTimerDialogHandle hashtable table, integer parentKey, integer childKey, timerdialog whichTimerdialog boolean
1847   native SaveTimerHandle hashtable table, integer parentKey, integer childKey, timer whichTimer boolean
1868   native SaveTrackableHandle hashtable table, integer parentKey, integer childKey, trackable whichTrackable boolean
1850   native SaveTriggerActionHandle hashtable table, integer parentKey, integer childKey, triggeraction whichTriggeraction boolean
1849   native SaveTriggerConditionHandle hashtable table, integer parentKey, integer childKey, triggercondition whichTriggercondition boolean
1851   native SaveTriggerEventHandle hashtable table, integer parentKey, integer childKey, event whichEvent boolean
1848   native SaveTriggerHandle hashtable table, integer parentKey, integer childKey, trigger whichTrigger boolean
1874   native SaveUbersplatHandle hashtable table, integer parentKey, integer childKey, ubersplat whichUbersplat boolean
1845   native SaveUnitHandle hashtable table, integer parentKey, integer childKey, unit whichUnit boolean
1859   native SaveUnitPoolHandle hashtable table, integer parentKey, integer childKey, unitpool whichUnitpool boolean
1842   native SaveWidgetHandle hashtable table, integer parentKey, integer childKey, widget whichWidget boolean
1507   native SelectHeroSkill unit whichHero, integer abilcode nothing
1521   native SelectUnit unit whichUnit, boolean flag nothing
1665   native SetAllItemTypeSlots integer slots nothing
1666   native SetAllUnitTypeSlots integer slots nothing
2017   native SetAllyColorFilterState integer state nothing
1998   native SetAltMinimapIcon string iconPath nothing
2376   native SetBlight player whichPlayer, real x, real y, real radius, boolean addBlight nothing
2379   native SetBlightLoc player whichPlayer, location whichLocation, real radius, boolean addBlight nothing
2378   native SetBlightPoint player whichPlayer, real x, real y, boolean addBlight nothing
2377   native SetBlightRect player whichPlayer, rect r, boolean addBlight nothing
2166   native SetCameraBounds real x1, real y1, real x2, real y2, real x3, real y3, real x4, real y4 nothing
2175   native SetCameraField camerafield whichField, real value, real duration nothing
2178   native SetCameraOrientController unit whichUnit, real xoffset, real yoffset nothing
2164   native SetCameraPosition real x, real y nothing
2165   native SetCameraQuickPosition real x, real y nothing
2174   native SetCameraRotateMode real x, real y, real radiansToSweep, real duration nothing
2177   native SetCameraTargetController unit whichUnit, real xoffset, real yoffset, boolean inheritOrientation nothing
1774   native SetCampaignAvailable integer campaignNumber, boolean available nothing
1753   native SetCampaignMenuRace race r nothing
1754   native SetCampaignMenuRaceEx integer campaignIndex nothing
2201   native SetCineFilterBlendMode blendmode whichMode nothing
2207   native SetCineFilterDuration real duration nothing
2206   native SetCineFilterEndColor integer red, integer green, integer blue, integer alpha nothing
2204   native SetCineFilterEndUV real minu, real minv, real maxu, real maxv nothing
2205   native SetCineFilterStartColor integer red, integer green, integer blue, integer alpha nothing
2203   native SetCineFilterStartUV real minu, real minv, real maxu, real maxv nothing
2202   native SetCineFilterTexMapFlags texmapflags whichFlags nothing
2200   native SetCineFilterTexture string filename nothing
2173   native SetCinematicCamera string cameraModelFile nothing
2211   native SetCinematicScene integer portraitUnitId, playercolor color, string speakerTitle, string text, real sceneDuration, real voiceoverDuration nothing
863   native SetCreatureDensity mapdensity whichdensity nothing
2019   native SetCreepCampFilterState boolean state nothing
1779   native SetCustomCampaignButtonVisible integer whichButton, boolean visible nothing
1976   native SetDayNightModels string terrainDNCFile, string unitDNCFile nothing
1778   native SetDefaultDifficulty gamedifficulty g nothing
1385   native SetDestructableAnimation destructable d, string whichAnimation nothing
1386   native SetDestructableAnimationSpeed destructable d, real speedFactor nothing
1373   native SetDestructableInvulnerable destructable d, boolean flag nothing
1379   native SetDestructableLife destructable d, real life nothing
1381   native SetDestructableMaxLife destructable d, real max nothing
1389   native SetDestructableOccluderHeight destructable d, real height nothing
2386   native SetDoodadAnimation real x, real y, real radius, integer doodadID, boolean nearestOnly, string animName, boolean animRandom nothing
2387   native SetDoodadAnimationRect rect r, integer doodadID, string animName, boolean animRandom nothing
1776   native SetEdCinematicAvailable integer campaignNumber, boolean available nothing
1764   native SetFloatGameState fgamestate whichFloatGameState, real value nothing
1725   native SetFogStateRadius player forWhichPlayer, fogstate whichState, real centerx, real centerY, real radius, boolean useSharedVision nothing
1726   native SetFogStateRadiusLoc player forWhichPlayer, fogstate whichState, location center, real radius, boolean useSharedVision nothing
1724   native SetFogStateRect player forWhichPlayer, fogstate whichState, rect where, boolean useSharedVision nothing
861   native SetGameDifficulty gamedifficulty whichdifficulty nothing
859   native SetGamePlacement placement whichPlacementType nothing
860   native SetGameSpeed gamespeed whichspeed nothing
857   native SetGameTypeSupported gametype whichGameType, boolean value nothing
1485   native SetHeroAgi unit whichHero, integer newAgi, boolean permanent nothing
1486   native SetHeroInt unit whichHero, integer newInt, boolean permanent nothing
1501   native SetHeroLevel unit whichHero, integer level, boolean showEyeCandy nothing
1484   native SetHeroStr unit whichHero, integer newStr, boolean permanent nothing
1495   native SetHeroXP unit whichHero, integer newXpVal, boolean showEyeCandy nothing
2359   native SetImageAboveWater image whichImage, boolean flag, boolean useWaterAlpha nothing
2356   native SetImageColor image whichImage, integer red, integer green, integer blue, integer alpha nothing
2354   native SetImageConstantHeight image whichImage, boolean flag, real height nothing
2355   native SetImagePosition image whichImage, real x, real y, real z nothing
2357   native SetImageRender image whichImage, boolean flag nothing
2358   native SetImageRenderAlways image whichImage, boolean flag nothing
2360   native SetImageType image whichImage, integer imageType nothing
1766   native SetIntegerGameState igamestate whichIntegerGameState, integer value nothing
1991   native SetIntroShotModel string introModelPath nothing
1990   native SetIntroShotText string introText nothing
1423   native SetItemCharges item whichItem, integer charges nothing
1420   native SetItemDropID item whichItem, integer unitId nothing
1402   native SetItemDropOnDeath item whichItem, boolean flag nothing
1403   native SetItemDroppable item i, boolean flag nothing
1406   native SetItemInvulnerable item whichItem, boolean flag nothing
1404   native SetItemPawnable item i, boolean flag nothing
1405   native SetItemPlayer item whichItem, player whichPlayer, boolean changeColor nothing
1401   native SetItemPosition item i, real x, real y nothing
1667   native SetItemTypeSlots unit whichUnit, integer slots nothing
1425   native SetItemUserData item whichItem, integer data nothing
1408   native SetItemVisible item whichItem, boolean show nothing
2329   native SetLightningColor lightning whichBolt, real r, real g, real b, real a boolean
845   native SetMapDescription string description nothing
858   native SetMapFlag mapflag whichMapFlag, boolean value nothing
2264   native SetMapMusic string musicName, boolean random, integer index nothing
844   native SetMapName string name nothing
1773   native SetMissionAvailable integer campaignNumber, integer missionNumber, boolean available nothing
2277   native SetMusicPlayPosition integer millisecs nothing
2276   native SetMusicVolume integer volume nothing
1775   native SetOpCinematicAvailable integer campaignNumber, boolean available nothing
1712   native SetPlayerAbilityAvailable player whichPlayer, integer abilid, boolean avail nothing
890   native SetPlayerAlliance player sourcePlayer, player otherPlayer, alliancetype whichAllianceSetting, boolean value nothing
889   native SetPlayerColor player whichPlayer, playercolor color nothing
894   native SetPlayerController player whichPlayer, mapcontrol controlType nothing
1699 constant native SetPlayerHandicap player whichPlayer, real handicap nothing
1700 constant native SetPlayerHandicapXP player whichPlayer, real handicap nothing
895   native SetPlayerName player whichPlayer, string name nothing
897   native SetPlayerOnScoreScreen player whichPlayer, boolean flag nothing
892   native SetPlayerRacePreference player whichPlayer, racepreference whichRacePreference nothing
893   native SetPlayerRaceSelectable player whichPlayer, boolean value nothing
848   native SetPlayers integer playercount nothing
883   native SetPlayerStartLocation player whichPlayer, integer startLocIndex nothing
1714   native SetPlayerState player whichPlayer, playerstate whichPlayerState, integer value nothing
891   native SetPlayerTaxRate player sourcePlayer, player otherPlayer, playerstate whichResource, integer rate nothing
882   native SetPlayerTeam player whichPlayer, integer whichTeam nothing
1702 constant native SetPlayerTechMaxAllowed player whichPlayer, integer techid, integer maximum nothing
1705 constant native SetPlayerTechResearched player whichPlayer, integer techid, integer setToLevel nothing
1709   native SetPlayerUnitsOwner player whichPlayer, integer newOwner nothing
1963   native SetRandomSeed integer seed nothing
977   native SetRect rect whichRect, real minx, real miny, real maxx, real maxy nothing
978   native SetRectFromLoc rect whichRect, location min, location max nothing
2015   native SetReservedLocalHeroButtons integer reserved nothing
1645   native SetResourceAmount unit whichUnit, integer amount nothing
862   native SetResourceDensity mapdensity whichdensity nothing
1977   native SetSkyModel string skyModelFile nothing
2244   native SetSoundChannel sound soundHandle, integer channel nothing
2253   native SetSoundConeAngles sound soundHandle, real inside, real outside, integer outsideVolume nothing
2254   native SetSoundConeOrientation sound soundHandle, real x, real y, real z nothing
2243   native SetSoundDistanceCutoff sound soundHandle, real cutoff nothing
2252   native SetSoundDistances sound soundHandle, real minDist, real maxDist nothing
2281   native SetSoundDuration sound soundHandle, integer duration nothing
2242   native SetSoundParamsFromLabel sound soundHandle, string soundLabel nothing
2246   native SetSoundPitch sound soundHandle, real pitch nothing
2249   native SetSoundPlayPosition sound soundHandle, integer millisecs nothing
2255   native SetSoundPosition sound soundHandle, real x, real y, real z nothing
2256   native SetSoundVelocity sound soundHandle, real x, real y, real z nothing
2245   native SetSoundVolume sound soundHandle, integer volume nothing
853   native SetStartLocPrio integer whichStartLoc, integer prioSlotIndex, integer otherStartLocIndex, startlocprio priority nothing
852   native SetStartLocPrioCount integer whichStartLoc, integer prioSlotCount nothing
847   native SetTeams integer teamcount nothing
1967   native SetTerrainFog real a, real b, real c, real d, real e nothing
1971   native SetTerrainFogEx integer style, real zstart, real zend, real density, real red, real green, real blue nothing
2346   native SetTerrainPathable real x, real y, pathingtype t, boolean flag nothing
2344   native SetTerrainType real x, real y, integer terrainType, integer variation, integer area, integer shape nothing
2011   native SetTextTagAge texttag t, real age nothing
2006   native SetTextTagColor texttag t, integer red, integer green, integer blue, integer alpha nothing
2013   native SetTextTagFadepoint texttag t, real fadepoint nothing
2012   native SetTextTagLifespan texttag t, real lifespan nothing
2010   native SetTextTagPermanent texttag t, boolean flag nothing
2004   native SetTextTagPos texttag t, real x, real y, real heightOffset nothing
2005   native SetTextTagPosUnit texttag t, unit whichUnit, real heightOffset nothing
2009   native SetTextTagSuspended texttag t, boolean flag nothing
2003   native SetTextTagText texttag t, string s, real height nothing
2007   native SetTextTagVelocity texttag t, real xvel, real yvel nothing
2008   native SetTextTagVisibility texttag t, boolean flag nothing
2278   native SetThematicMusicPlayPosition integer millisecs nothing
1981   native SetTimeOfDayScale real r nothing
1772   native SetTutorialCleared boolean cleared nothing
2370   native SetUbersplatRender ubersplat whichSplat, boolean flag nothing
2371   native SetUbersplatRenderAlways ubersplat whichSplat, boolean flag nothing
1511   native SetUnitAbilityLevel unit whichUnit, integer abilcode, integer level integer
1451   native SetUnitAcquireRange unit whichUnit, real newAcquireRange nothing
1473   native SetUnitAnimation unit whichUnit, string whichAnimation nothing
1474   native SetUnitAnimationByIndex unit whichUnit, integer whichAnimation nothing
1475   native SetUnitAnimationWithRarity unit whichUnit, string whichAnimation, raritycontrol rarity nothing
1469   native SetUnitBlendTime unit whichUnit, real blendTime nothing
1465   native SetUnitColor unit whichUnit, playercolor whichColor nothing
1452   native SetUnitCreepGuard unit whichUnit, boolean creepGuard nothing
1514   native SetUnitExploded unit whichUnit, boolean exploded nothing
1445   native SetUnitFacing unit whichUnit, real facingAngle nothing
1446   native SetUnitFacingTimed unit whichUnit, real facingAngle, real duration nothing
1448   native SetUnitFlyHeight unit whichUnit, real newHeight, real rate nothing
1970   native SetUnitFog real a, real b, real c, real d, real e nothing
1515   native SetUnitInvulnerable unit whichUnit, boolean flag nothing
1478   native SetUnitLookAt unit whichUnit, string whichBone, unit lookAtTarget, real offsetX, real offsetY, real offsetZ nothing
1447   native SetUnitMoveSpeed unit whichUnit, real newSpeed nothing
1464   native SetUnitOwner unit whichUnit, player whichPlayer, boolean changeColor nothing
1518   native SetUnitPathing unit whichUnit, boolean flag nothing
1443   native SetUnitPosition unit whichUnit, real newX, real newY nothing
1444   native SetUnitPositionLoc unit whichUnit, location whichLocation nothing
1450   native SetUnitPropWindow unit whichUnit, real newPropWindowAngle nothing
1481   native SetUnitRescuable unit whichUnit, player byWhichPlayer, boolean flag nothing
1482   native SetUnitRescueRange unit whichUnit, real range nothing
1467   native SetUnitScale unit whichUnit, real scaleX, real scaleY, real scaleZ nothing
1440   native SetUnitState unit whichUnit, unitstate whichUnitState, real newVal nothing
1468   native SetUnitTimeScale unit whichUnit, real timeScale nothing
1449   native SetUnitTurnSpeed unit whichUnit, real newTurnSpeed nothing
1668   native SetUnitTypeSlots unit whichUnit, integer slots nothing
1559   native SetUnitUseFood unit whichUnit, boolean useFood nothing
1671   native SetUnitUserData unit whichUnit, integer data nothing
1470   native SetUnitVertexColor unit whichUnit, integer red, integer green, integer blue, integer alpha nothing
1441   native SetUnitX unit whichUnit, real newX nothing
1442   native SetUnitY unit whichUnit, real newY nothing
2340   native SetWaterBaseColor integer red, integer green, integer blue, integer alpha nothing
2341   native SetWaterDeforms boolean val nothing
1359   native SetWidgetLife widget whichWidget, real newLife nothing
1387   native ShowDestructable destructable d, boolean flag nothing
2353   native ShowImage image whichImage, boolean flag nothing
1983   native ShowInterface boolean flag, real fadeDuration nothing
2369   native ShowUbersplat ubersplat whichSplat, boolean flag nothing
1438   native ShowUnit unit whichUnit, boolean show nothing
795   native Sin real radians real
809   native SquareRoot real x real
2393   native StartCampaignAI player num, string script nothing
2392   native StartMeleeAI player num, string script nothing
2259   native StartSound sound soundHandle nothing
2167   native StopCamera   nothing
2269   native StopMusic boolean fadeOut nothing
2260   native StopSound sound soundHandle, boolean killWhenDone, boolean fadeOut nothing
1803   native StoreBoolean gamecache cache, string missionKey, string key, boolean value nothing
1801   native StoreInteger gamecache cache, string missionKey, string key, integer value nothing
1802   native StoreReal gamecache cache, string missionKey, string key, real value nothing
1805   native StoreString gamecache cache, string missionKey, string key, string value boolean
1804   native StoreUnit gamecache cache, string missionKey, string key, unit whichUnit boolean
829   native StringCase string source, boolean upper string
830   native StringHash string s integer
828   native StringLength string s integer
827   native SubString string source, integer start, integer end string
1505   native SuspendHeroXP unit whichHero, boolean flag nothing
1980   native SuspendTimeOfDay boolean b nothing
1763   native SyncSelections   nothing
1809   native SyncStoredBoolean gamecache cache, string missionKey, string key nothing
1807   native SyncStoredInteger gamecache cache, string missionKey, string key nothing
1808   native SyncStoredReal gamecache cache, string missionKey, string key nothing
1811   native SyncStoredString gamecache cache, string missionKey, string key nothing
1810   native SyncStoredUnit gamecache cache, string missionKey, string key nothing

BACK TO TOP

------------------------------------------------------------

T

Line Constant Type Name Parameters Return Type
797   native Tan real radians real
2301   native TerrainDeformCrater real x, real y, real radius, real depth, integer duration, boolean permanent terraindeformation
2304   native TerrainDeformRandom real x, real y, real radius, real minDelta, real maxDelta, integer duration, integer updateInterval terraindeformation
2302   native TerrainDeformRipple real x, real y, real radius, real depth, integer duration, integer count, real spaceWaves, real timeWaves, real radiusStartPct, boolean limitNeg terraindeformation
2305   native TerrainDeformStop terraindeformation deformation, integer duration nothing
2306   native TerrainDeformStopAll   nothing
2303   native TerrainDeformWave real x, real y, real dirX, real dirY, real distance, real speed, real radius, real depth, integer trailTime, integer count terraindeformation
2070   native TimerDialogDisplay timerdialog whichDialog, boolean display nothing
2072   native TimerDialogSetRealTimeRemaining timerdialog whichDialog, real timeRemaining nothing
2069   native TimerDialogSetSpeed timerdialog whichDialog, real speedMultFactor nothing
2068   native TimerDialogSetTimeColor timerdialog whichDialog, integer red, integer green, integer blue, integer alpha nothing
2066   native TimerDialogSetTitle timerdialog whichDialog, string title nothing
2067   native TimerDialogSetTitleColor timerdialog whichDialog, integer red, integer green, integer blue, integer alpha nothing
915   native TimerGetElapsed timer whichTimer real
916   native TimerGetRemaining timer whichTimer real
917   native TimerGetTimeout timer whichTimer real
914   native TimerStart timer whichTimer, real timeout, boolean periodic, code handlerFunc nothing
1345   native TriggerAddAction trigger whichTrigger, code actionFunc triggeraction
1341   native TriggerAddCondition trigger whichTrigger, boolexpr condition triggercondition
1347   native TriggerClearActions trigger whichTrigger nothing
1343   native TriggerClearConditions trigger whichTrigger nothing
1350   native TriggerEvaluate trigger whichTrigger boolean
1351   native TriggerExecute trigger whichTrigger nothing
1352   native TriggerExecuteWait trigger whichTrigger nothing
1272   native TriggerRegisterDeathEvent trigger whichTrigger, widget whichWidget event
1079   native TriggerRegisterDialogButtonEvent trigger whichTrigger, button whichButton event
1078   native TriggerRegisterDialogEvent trigger whichTrigger, dialog whichDialog event
1090   native TriggerRegisterEnterRegion trigger whichTrigger, region whichRegion, boolexpr filter event
1301   native TriggerRegisterFilterUnitEvent trigger whichTrigger, unit whichUnit, unitevent whichEvent, boolexpr filter event
1084   native TriggerRegisterGameEvent trigger whichTrigger, gameevent whichGameEvent event
1076   native TriggerRegisterGameStateEvent trigger whichTrigger, gamestate whichState, limitop opcode, real limitval event
1098   native TriggerRegisterLeaveRegion trigger whichTrigger, region whichRegion, boolexpr filter event
1255   native TriggerRegisterPlayerAllianceChange trigger whichTrigger, player whichPlayer, alliancetype whichAlliance event
1261   native TriggerRegisterPlayerChatEvent trigger whichTrigger, player whichPlayer, string chatMessageToDetect, boolean exactMatchOnly event
1125   native TriggerRegisterPlayerEvent trigger whichTrigger, player whichPlayer, playerevent whichPlayerEvent event
1256   native TriggerRegisterPlayerStateEvent trigger whichTrigger, player whichPlayer, playerstate whichState, limitop opcode, real limitval event
1131   native TriggerRegisterPlayerUnitEvent trigger whichTrigger, player whichPlayer, playerunitevent whichPlayerUnitEvent, boolexpr filter event
1071   native TriggerRegisterTimerEvent trigger whichTrigger, real timeout, boolean periodic event
1074   native TriggerRegisterTimerExpireEvent trigger whichTrigger, timer t event
1101   native TriggerRegisterTrackableHitEvent trigger whichTrigger, trackable t event
1102   native TriggerRegisterTrackableTrackEvent trigger whichTrigger, trackable t event
1288   native TriggerRegisterUnitEvent trigger whichTrigger, unit whichUnit, unitevent whichEvent event
1339   native TriggerRegisterUnitInRange trigger whichTrigger, unit whichUnit, real range, boolexpr filter event
1283   native TriggerRegisterUnitStateEvent trigger whichTrigger, unit whichUnit, unitstate whichState, limitop opcode, real limitval event
1065   native TriggerRegisterVariableEvent trigger whichTrigger, string varName, limitop opcode, real limitval event
1346   native TriggerRemoveAction trigger whichTrigger, triggeraction whichAction nothing
1342   native TriggerRemoveCondition trigger whichTrigger, triggercondition whichCondition nothing
1348   native TriggerSleepAction real timeout nothing
1354   native TriggerSyncReady   nothing
1353   native TriggerSyncStart   nothing
1349   native TriggerWaitForSound sound s, real offset nothing
1027   native TriggerWaitOnSleeps trigger whichTrigger, boolean flag nothing

BACK TO TOP

------------------------------------------------------------

U

Line Constant Type Name Parameters Return Type
1596   native UnitAddAbility unit whichUnit, integer abilityId boolean
1985   native UnitAddIndicator unit whichUnit, integer red, integer green, integer blue, integer alpha nothing
1527   native UnitAddItem unit whichUnit, item whichItem boolean
1528   native UnitAddItemById unit whichUnit, integer itemId item
1529   native UnitAddItemToSlotById unit whichUnit, integer itemId, integer itemSlot boolean
1603   native UnitAddSleep unit whichUnit, boolean add nothing
1605   native UnitAddSleepPerm unit whichUnit, boolean add nothing
1593   native UnitAddType unit whichUnit, unittype whichUnitType boolean
1609   native UnitApplyTimedLife unit whichUnit, integer buffId, real duration nothing
1604   native UnitCanSleep unit whichUnit boolean
1606   native UnitCanSleepPerm unit whichUnit boolean
1602   native UnitCountBuffsEx unit whichUnit, boolean removePositive, boolean removeNegative, boolean magic, boolean physical, boolean timedLife, boolean aura, boolean autoDispel integer
1618   native UnitDamagePoint unit whichUnit, real delay, real radius, real x, real y, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType boolean
1619   native UnitDamageTarget unit whichUnit, widget target, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType boolean
1536   native UnitDropItemPoint unit whichUnit, item whichItem, real x, real y boolean
1537   native UnitDropItemSlot unit whichUnit, item whichItem, integer slot boolean
1538   native UnitDropItemTarget unit whichUnit, item whichItem, widget target boolean
1601   native UnitHasBuffsEx unit whichUnit, boolean removePositive, boolean removeNegative, boolean magic, boolean physical, boolean timedLife, boolean aura, boolean autoDispel boolean
1532   native UnitHasItem unit whichUnit, item whichItem boolean
146 constant native UnitId string unitIdString integer
147 constant native UnitId2String integer unitId string
1610   native UnitIgnoreAlarm unit whichUnit, boolean flag boolean
1611   native UnitIgnoreAlarmToggled unit whichUnit boolean
1534   native UnitInventorySize unit whichUnit integer
1607   native UnitIsSleeping unit whichUnit boolean
1533   native UnitItemInSlot unit whichUnit, integer itemSlot item
1598   native UnitMakeAbilityPermanent unit whichUnit, boolean permanent, integer abilityId boolean
1498   native UnitModifySkillPoints unit whichHero, integer skillPointDelta boolean
1615   native UnitPauseTimedLife unit whichUnit, boolean flag nothing
1948   native UnitPoolAddUnitType unitpool whichPool, integer unitId, real weight nothing
1949   native UnitPoolRemoveUnitType unitpool whichPool, integer unitId nothing
1597   native UnitRemoveAbility unit whichUnit, integer abilityId boolean
1599   native UnitRemoveBuffs unit whichUnit, boolean removePositive, boolean removeNegative nothing
1600   native UnitRemoveBuffsEx unit whichUnit, boolean removePositive, boolean removeNegative, boolean magic, boolean physical, boolean timedLife, boolean aura, boolean autoDispel nothing
1530   native UnitRemoveItem unit whichUnit, item whichItem nothing
1531   native UnitRemoveItemFromSlot unit whichUnit, integer itemSlot item
1594   native UnitRemoveType unit whichUnit, unittype whichUnitType boolean
1612   native UnitResetCooldown unit whichUnit nothing
1613   native UnitSetConstructionProgress unit whichUnit, integer constructionPercentage nothing
1614   native UnitSetUpgradeProgress unit whichUnit, integer upgradePercentage nothing
1616   native UnitSetUsesAltIcon unit whichUnit, boolean flag nothing
1591   native UnitShareVision unit whichUnit, player whichPlayer, boolean share nothing
1492   native UnitStripHeroLevel unit whichHero, integer howManyLevels boolean
1592   native UnitSuspendDecay unit whichUnit, boolean suspend nothing
1540   native UnitUseItem unit whichUnit, item whichItem boolean
1541   native UnitUseItemPoint unit whichUnit, item whichItem, real x, real y boolean
1542   native UnitUseItemTarget unit whichUnit, item whichItem, widget target boolean
1608   native UnitWakeUp unit whichUnit nothing
2292   native UnregisterStackedSound sound soundHandle, boolean byPosition, real rectwidth, real rectheight nothing

BACK TO TOP

------------------------------------------------------------

V

Line Constant Type Name Parameters Return Type
1742   native VersionCompatible version whichVersion boolean
1741   native VersionGet   version
1743   native VersionSupported version whichVersion boolean
2286   native VolumeGroupReset   nothing
2285   native VolumeGroupSetVolume volumegroup vgroup, real scale nothing

BACK TO TOP

------------------------------------------------------------

W

Line Constant Type Name Parameters Return Type
1652   native WaygateActivate unit waygate, boolean activate nothing
1649   native WaygateGetDestinationX unit waygate real
1650   native WaygateGetDestinationY unit waygate real
1653   native WaygateIsActive unit waygate boolean
1651   native WaygateSetDestination unit waygate, real x, real y nothing

BACK TO TOP

------------------------------------------------------------

X

 

BACK TO TOP

------------------------------------------------------------

Y

 

BACK TO TOP

------------------------------------------------------------

Z

 

BACK TO TOP

posted @ 2023-04-24 13:33  Yofoo  阅读(168)  评论(0编辑  收藏  举报