JASS Tools
News
Download
Help
JASS Manual
-------------------------------------------------------------

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

LineConstantTypeNameParametersReturn Type
148constantnativeAbilityIdstring abilityIdStringinteger
149constantnativeAbilityId2Stringinteger abilityIdstring
799nativeAcosreal xreal
1493nativeAddHeroXPunit whichHero, integer xpToAdd, boolean showEyeCandynothing
1872nativeAddIndicatorwidget whichWidget, integer red, integer green, integer blue, integer alphanothing
1648nativeAddItemToAllStockinteger itemId, integer currentStock, integer stockMaxnothing
1649nativeAddItemToStockunit whichUnit, integer itemId, integer currentStock, integer stockMaxnothing
2206nativeAddLightningstring codeName, boolean checkVisibility, real x1, real y1, real x2, real y2lightning
2207nativeAddLightningExstring codeName, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2lightning
1697constantnativeAddPlayerTechResearchedplayer whichPlayer, integer techid, integer levelsnothing
1639nativeAddResourceAmountunit whichUnit, integer amountnothing
2194nativeAddSpecialEffectstring modelName, real x, real yeffect
2195nativeAddSpecialEffectLocstring modelName, location whereeffect
2196nativeAddSpecialEffectTargetstring modelName, widget targetWidget, string attachPointNameeffect
2199nativeAddSpellEffectstring abilityString, effecttype t, real x, real yeffect
2201nativeAddSpellEffectByIdinteger abilityId, effecttype t, real x, real yeffect
2202nativeAddSpellEffectByIdLocinteger abilityId, effecttype t, location whereeffect
2200nativeAddSpellEffectLocstring abilityString, effecttype t, location whereeffect
2203nativeAddSpellEffectTargetstring modelName, effecttype t, widget targetWidget, string attachPointeffect
2204nativeAddSpellEffectTargetByIdinteger abilityId, effecttype t, widget targetWidget, string attachPointeffect
1469nativeAddUnitAnimationPropertiesunit whichUnit, string animProperties, boolean addnothing
1650nativeAddUnitToAllStockinteger unitId, integer currentStock, integer stockMaxnothing
1651nativeAddUnitToStockunit whichUnit, integer unitId, integer currentStock, integer stockMaxnothing
2183nativeAddWeatherEffectrect where, integer effectIDweathereffect
2062nativeAdjustCameraFieldcamerafield whichField, real offset, real durationnothing
1048nativeAndboolexpr operandA, boolexpr operandBboolexpr
798nativeAsinreal yreal
801nativeAtanreal xreal
804nativeAtan2real y, real xreal
2143nativeAttachSoundToUnitsound soundHandle, unit whichUnitnothing

BACK TO TOP

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

B

BACK TO TOP

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

C

LineConstantTypeNameParametersReturn Type
1713nativeCachePlayerHeroDataplayer whichPlayernothing
2084nativeCameraSetSmoothingFactorreal factornothing
2079nativeCameraSetSourceNoisereal mag, real velocitynothing
2082nativeCameraSetSourceNoiseExreal mag, real velocity, boolean vertOnlynothing
2078nativeCameraSetTargetNoisereal mag, real velocitynothing
2081nativeCameraSetTargetNoiseExreal mag, real velocity, boolean vertOnlynothing
2073nativeCameraSetupApplycamerasetup whichSetup, boolean doPan, boolean panTimednothing
2075nativeCameraSetupApplyForceDurationcamerasetup whichSetup, boolean doPan, real forceDurationnothing
2076nativeCameraSetupApplyForceDurationWithZcamerasetup whichSetup, real zDestOffset, real forceDurationnothing
2074nativeCameraSetupApplyWithZcamerasetup whichSetup, real zDestOffsetnothing
2070nativeCameraSetupGetDestPositionLoccamerasetup whichSetuplocation
2071nativeCameraSetupGetDestPositionXcamerasetup whichSetupreal
2072nativeCameraSetupGetDestPositionYcamerasetup whichSetupreal
2068nativeCameraSetupGetFieldcamerasetup whichSetup, camerafield whichFieldreal
2069nativeCameraSetupSetDestPositioncamerasetup whichSetup, real x, real y, real durationnothing
2067nativeCameraSetupSetFieldcamerasetup whichSetup, camerafield whichField, real value, real durationnothing
1741nativeChangeLevelstring newLevel, boolean doScoreScreennothing
2289nativeCheatstring cheatStrnothing
1845nativeChooseRandomCreepinteger levelinteger
1847nativeChooseRandomIteminteger levelinteger
1848nativeChooseRandomItemExitemtype whichType, integer levelinteger
1846nativeChooseRandomNPBuildinginteger
2151nativeClearMapMusicnothing
1513nativeClearSelectionnothing
1861nativeClearTextMessagesnothing
2280nativeCommandAIplayer num, integer command, integer datanothing
1051nativeConditioncode funcconditionfunc
106constantnativeConvertAIDifficultyinteger iaidifficulty
98constantnativeConvertAllianceTypeinteger ialliancetype
136constantnativeConvertAttackTypeinteger iattacktype
129constantnativeConvertBlendModeinteger iblendmode
128constantnativeConvertCameraFieldinteger icamerafield
137constantnativeConvertDamageTypeinteger idamagetype
111constantnativeConvertDialogEventinteger idialogevent
133constantnativeConvertEffectTypeinteger ieffecttype
101constantnativeConvertFGameStateinteger ifgamestate
132constantnativeConvertFogStateinteger ifogstate
118constantnativeConvertGameDifficultyinteger igamedifficulty
107constantnativeConvertGameEventinteger igameevent
115constantnativeConvertGameSpeedinteger igamespeed
119constantnativeConvertGameTypeinteger igametype
100constantnativeConvertIGameStateinteger iigamestate
135constantnativeConvertItemTypeinteger iitemtype
113constantnativeConvertLimitOpinteger ilimitop
124constantnativeConvertMapControlinteger imapcontrol
123constantnativeConvertMapDensityinteger imapdensity
120constantnativeConvertMapFlaginteger imapflag
122constantnativeConvertMapSettinginteger imapsetting
121constantnativeConvertMapVisibilityinteger imapvisibility
140constantnativeConvertPathingTypeinteger ipathingtype
116constantnativeConvertPlacementinteger iplacement
125constantnativeConvertPlayerColorinteger iplayercolor
108constantnativeConvertPlayerEventinteger iplayerevent
104constantnativeConvertPlayerGameResultinteger iplayergameresult
103constantnativeConvertPlayerScoreinteger iplayerscore
126constantnativeConvertPlayerSlotStateinteger iplayerslotstate
102constantnativeConvertPlayerStateinteger iplayerstate
109constantnativeConvertPlayerUnitEventinteger iplayerunitevent
97constantnativeConvertRaceinteger irace
99constantnativeConvertRacePrefinteger iracepreference
130constantnativeConvertRarityControlinteger iraritycontrol
139constantnativeConvertSoundTypeinteger isoundtype
117constantnativeConvertStartLocPriointeger istartlocprio
131constantnativeConvertTexMapFlagsinteger itexmapflags
112constantnativeConvertUnitEventinteger iunitevent
105constantnativeConvertUnitStateinteger iunitstate
114constantnativeConvertUnitTypeinteger iunittype
134constantnativeConvertVersioninteger iversion
127constantnativeConvertVolumeGroupinteger ivolumegroup
138constantnativeConvertWeaponTypeinteger iweapontype
110constantnativeConvertWidgetEventinteger iwidgetevent
1754nativeCopySaveGamestring sourceSaveName, string destSaveNameboolean
794nativeCosreal radiansreal
2266nativeCreateBlightedGoldmineplayer id, real x, real y, real faceunit
2066nativeCreateCameraSetupcamerasetup
1427nativeCreateCorpseplayer whichPlayer, integer unitid, real x, real y, real faceunit
1363nativeCreateDeadDestructableinteger objectid, real x, real y, real face, real scale, integer variationdestructable
1364nativeCreateDeadDestructableZinteger objectid, real x, real y, real z, real face, real scale, integer variationdestructable
1941nativeCreateDefeatConditiondefeatcondition
1361nativeCreateDestructableinteger objectid, real x, real y, real face, real scale, integer variationdestructable
1362nativeCreateDestructableZinteger objectid, real x, real y, real z, real face, real scale, integer variationdestructable
1726nativeCreateFogModifierRadiusplayer forWhichPlayer, fogstate whichState, real centerx, real centerY, real radius, boolean useSharedVision, boolean afterUnitsfogmodifier
1727nativeCreateFogModifierRadiusLocplayer forWhichPlayer, fogstate whichState, location center, real radius, boolean useSharedVision, boolean afterUnitsfogmodifier
1725nativeCreateFogModifierRectplayer forWhichPlayer, fogstate whichState, rect where, boolean useSharedVision, boolean afterUnitsfogmodifier
956nativeCreateForceforce
921nativeCreateGroupgroup
2237nativeCreateImagestring file, real sizeX, real sizeY, real sizeZ, real posX, real posY, real posZ, real originX, real originY, real originZ, integer imageTypeimage
1388nativeCreateIteminteger itemid, real x, real yitem
1838nativeCreateItemPoolitempool
1964nativeCreateLeaderboardleaderboard
2126nativeCreateMIDISoundstring soundLabel, integer fadeInRate, integer fadeOutRatesound
2005nativeCreateMultiboardmultiboard
1917nativeCreateQuestquest
985nativeCreateRegionregion
2123nativeCreateSoundstring fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string eaxSettingsound
2124nativeCreateSoundFilenameWithLabelstring fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string SLKEntryNamesound
2125nativeCreateSoundFromLabelstring soundLabel, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRatesound
1887nativeCreateTextTagtexttag
908nativeCreateTimertimer
1950nativeCreateTimerDialogtimer ttimerdialog
1913nativeCreateTrackablestring trackableModelPath, real x, real y, real facingtrackable
1016nativeCreateTriggertrigger
2251nativeCreateUbersplatreal x, real y, string name, integer red, integer green, integer blue, integer alpha, boolean forcePaused, boolean noBirthTimeubersplat
1423nativeCreateUnitplayer id, integer unitid, real x, real y, real faceunit
1425nativeCreateUnitAtLocplayer id, integer unitid, location whichLocation, real faceunit
1426nativeCreateUnitAtLocByNameplayer id, string unitname, location whichLocation, real faceunit
1424nativeCreateUnitByNameplayer whichPlayer, string unitname, real x, real y, real faceunit
1832nativeCreateUnitPoolunitpool
1703nativeCripplePlayerplayer whichPlayer, force toWhichPlayers, boolean flagnothing

BACK TO TOP

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

D

LineConstantTypeNameParametersReturn Type
1502nativeDecUnitAbilityLevelunit whichUnit, integer abilcodeinteger
1943nativeDefeatConditionSetDescriptiondefeatcondition whichCondition, string descriptionnothing
846nativeDefineStartLocationinteger whichStartLoc, real x, real ynothing
847nativeDefineStartLocationLocinteger whichStartLoc, location whichLocationnothing
790nativeDeg2Radreal degreesreal
1055nativeDestroyBoolExprboolexpr enothing
1052nativeDestroyConditionconditionfunc cnothing
1942nativeDestroyDefeatConditiondefeatcondition whichConditionnothing
2197nativeDestroyEffecteffect whichEffectnothing
1054nativeDestroyFilterfilterfunc fnothing
1728nativeDestroyFogModifierfogmodifier whichFogModifiernothing
957nativeDestroyForceforce whichForcenothing
922nativeDestroyGroupgroup whichGroupnothing
2238nativeDestroyImageimage whichImagenothing
1839nativeDestroyItemPoolitempool whichItemPoolnothing
1965nativeDestroyLeaderboardleaderboard lbnothing
2208nativeDestroyLightninglightning whichBoltboolean
2006nativeDestroyMultiboardmultiboard lbnothing
1918nativeDestroyQuestquest whichQuestnothing
1888nativeDestroyTextTagtexttag tnothing
909nativeDestroyTimertimer whichTimernothing
1951nativeDestroyTimerDialogtimerdialog whichDialognothing
1017nativeDestroyTriggertrigger whichTriggernothing
2252nativeDestroyUbersplatubersplat whichSplatnothing
1833nativeDestroyUnitPoolunitpool whichPoolnothing
1377nativeDestructableRestoreLifedestructable d, real life, boolean birthnothing
1782nativeDialogAddButtondialog whichDialog, string buttonText, integer hotkeybutton
1783nativeDialogAddQuitButtondialog whichDialog, boolean doScoreScreen, string buttonText, integer hotkeybutton
1780nativeDialogCleardialog whichDialognothing
1778nativeDialogCreatedialog
1779nativeDialogDestroydialog whichDialognothing
1784nativeDialogDisplayplayer whichPlayer, dialog whichDialog, boolean flagnothing
1781nativeDialogSetMessagedialog whichDialog, string messageTextnothing
1885nativeDisableRestartMissionboolean flagnothing
1020nativeDisableTriggertrigger whichTriggernothing
2094nativeDisplayCineFilterboolean flagnothing
1883nativeDisplayLoadDialognothing
1858nativeDisplayTextToPlayerplayer toPlayer, real x, real y, string messagenothing
1860nativeDisplayTimedTextFromPlayerplayer toPlayer, real x, real y, real duration, string messagenothing
1859nativeDisplayTimedTextToPlayerplayer toPlayer, real x, real y, real duration, string messagenothing
1774nativeDoNotSaveReplaynothing

BACK TO TOP

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

E

LineConstantTypeNameParametersReturn Type
1907nativeEnableDragSelectboolean state, boolean uinothing
1906nativeEnableMinimapFilterButtonsboolean enableAlly, boolean enableCreepnothing
1875nativeEnableOcclusionboolean flagnothing
1908nativeEnablePreSelectboolean state, boolean uinothing
1909nativeEnableSelectboolean state, boolean uinothing
1019nativeEnableTriggertrigger whichTriggernothing
1864nativeEnableUserControlboolean bnothing
1865nativeEnableUserUIboolean bnothing
2185nativeEnableWeatherEffectweathereffect whichEffect, boolean enablenothing
1878nativeEnableWorldFogBoundaryboolean bnothing
2098nativeEndCinematicScenenothing
1738nativeEndGameboolean doScoreScreennothing
2160nativeEndThematicMusicnothing
1369nativeEnumDestructablesInRectrect r, boolexpr filter, code actionFuncnothing
1410nativeEnumItemsInRectrect r, boolexpr filter, code actionFuncnothing
1043nativeExecuteFuncstring funcNamenothing

BACK TO TOP

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

F

LineConstantTypeNameParametersReturn Type
1053nativeFiltercode funcfilterfunc
2254nativeFinishUbersplatubersplat whichSplatnothing
951nativeFirstOfGroupgroup whichGroupunit
1945nativeFlashQuestDialogButtonnothing
1819nativeFlushGameCachegamecache cachenothing
1823nativeFlushStoredBooleangamecache cache, string missionKey, string keynothing
1821nativeFlushStoredIntegergamecache cache, string missionKey, string keynothing
1820nativeFlushStoredMissiongamecache cache, string missionKeynothing
1822nativeFlushStoredRealgamecache cache, string missionKey, string keynothing
1825nativeFlushStoredStringgamecache cache, string missionKey, string keynothing
1824nativeFlushStoredUnitgamecache cache, string missionKey, string keynothing
1722nativeFogEnableboolean enablenothing
1720nativeFogMaskEnableboolean enablenothing
1729nativeFogModifierStartfogmodifier whichFogModifiernothing
1730nativeFogModifierStopfogmodifier whichFogModifiernothing
958nativeForceAddPlayerforce whichForce, player whichPlayernothing
1748nativeForceCampaignSelectScreennothing
2099nativeForceCinematicSubtitlesboolean flagnothing
960nativeForceClearforce whichForcenothing
963nativeForceEnumAlliesforce whichForce, player whichPlayer, boolexpr filternothing
964nativeForceEnumEnemiesforce whichForce, player whichPlayer, boolexpr filternothing
961nativeForceEnumPlayersforce whichForce, boolexpr filternothing
962nativeForceEnumPlayersCountedforce whichForce, boolexpr filter, integer countLimitnothing
884nativeForcePlayerStartLocationplayer whichPlayer, integer startLocIndexnothing
1946nativeForceQuestDialogUpdatenothing
959nativeForceRemovePlayerforce whichForce, player whichPlayernothing
1882nativeForceUICancelnothing
1881nativeForceUIKeystring keynothing
965nativeForForceforce whichForce, code callbacknothing
950nativeForGroupgroup whichGroup, code callbacknothing

BACK TO TOP

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

G

LineConstantTypeNameParametersReturn Type
2217nativeGetAbilityEffectstring abilityString, effecttype t, integer indexstring
2218nativeGetAbilityEffectByIdinteger abilityId, effecttype t, integer indexstring
2219nativeGetAbilitySoundstring abilityString, soundtype tstring
2220nativeGetAbilitySoundByIdinteger abilityId, soundtype tstring
2282nativeGetAIDifficultyplayer numaidifficulty
1902nativeGetAllyColorFilterStateinteger
1151constantnativeGetAttackerunit
1201constantnativeGetBuyingUnitunit
2106constantnativeGetCameraBoundMaxXreal
2107constantnativeGetCameraBoundMaxYreal
2104constantnativeGetCameraBoundMinXreal
2105constantnativeGetCameraBoundMinYreal
2116constantnativeGetCameraEyePositionLoclocation
2113constantnativeGetCameraEyePositionXreal
2114constantnativeGetCameraEyePositionYreal
2115constantnativeGetCameraEyePositionZreal
2108constantnativeGetCameraFieldcamerafield whichFieldreal
2101nativeGetCameraMargininteger whichMarginreal
2112constantnativeGetCameraTargetPositionLoclocation
2109constantnativeGetCameraTargetPositionXreal
2110constantnativeGetCameraTargetPositionYreal
2111constantnativeGetCameraTargetPositionZreal
1171constantnativeGetCancelledStructureunit
1207constantnativeGetChangingUnitunit
1208constantnativeGetChangingUnitPrevOwnerplayer
1105constantnativeGetClickedButtonbutton
1106constantnativeGetClickedDialogdialog
1172constantnativeGetConstructedStructureunit
1167constantnativeGetConstructingStructureunit
872constantnativeGetCreatureDensitymapdensity
1904nativeGetCreepCampFilterStateboolean
1773nativeGetCustomCampaignButtonVisibleinteger whichButtonboolean
1161constantnativeGetDecayingUnitunit
1770nativeGetDefaultDifficultygamedifficulty
1374nativeGetDestructableLifedestructable dreal
1376nativeGetDestructableMaxLifedestructable dreal
1384nativeGetDestructableNamedestructable dstring
1382nativeGetDestructableOccluderHeightdestructable dreal
1370nativeGetDestructableTypeIddestructable dinteger
1371nativeGetDestructableXdestructable dreal
1372nativeGetDestructableYdestructable dreal
1188constantnativeGetDetectedUnitunit
1157constantnativeGetDyingUnitunit
1090constantnativeGetEnteringUnitunit
1030constantnativeGetEn