| JASS Tools |
|
Global Variables | Functions That Return | Functions That Take
| |||||||||||
Global variables of type unit:
|
Functions that return type unit (   common.j,   common.ai,   Blizzard.j):
| function BlightGoldMineForPlayer (unit goldMine, player whichPlayer) returns unit |
| function BlightGoldMineForPlayerBJ (unit goldMine, player whichPlayer) returns unit |
| native CreateBlightedGoldmine (player id, real x, real y, real face) returns unit |
| native CreateCorpse (player whichPlayer, integer unitid, real x, real y, real face) returns unit |
| function CreateCorpseLocBJ (integer unitid, player whichPlayer, location loc) returns unit |
| function CreatePermanentCorpseLocBJ (integer style, integer unitid, player whichPlayer, location loc, real facing) returns unit |
| native CreateUnit (player id, integer unitid, real x, real y, real face) returns unit |
| native CreateUnitAtLoc (player id, integer unitid, location whichLocation, real face) returns unit |
| native CreateUnitAtLocByName (player id, string unitname, location whichLocation, real face) returns unit |
| function CreateUnitAtLocSaveLast (player id, integer unitid, location loc, real face) returns unit |
| native CreateUnitByName (player whichPlayer, string unitname, real x, real y, real face) returns unit |
| native FirstOfGroup (group whichGroup) returns unit |
| native GetAllianceTarget () returns unit |
| function GetAttackedUnitBJ () returns unit |
| constant native GetAttacker () returns unit |
| native GetBuilding (player p) returns unit |
| constant native GetBuyingUnit () returns unit |
| constant native GetCancelledStructure () returns unit |
| constant native GetChangingUnit () returns unit |
| constant native GetConstructedStructure () returns unit |
| constant native GetConstructingStructure () returns unit |
| native GetCreepCamp (integer min, integer max, boolean flyers_ok) returns unit |
| constant native GetDecayingUnit () returns unit |
| constant native GetDetectedUnit () returns unit |
| constant native GetDyingUnit () returns unit |
| native GetEnemyBase () returns unit |
| native GetEnemyExpansion () returns unit |
| constant native GetEnteringUnit () returns unit |
| constant native GetEnumUnit () returns unit |
| constant native GetEventDamageSource () returns unit |
| constant native GetEventTargetUnit () returns unit |
| native GetExpansionFoe () returns unit |
| native GetExpansionPeon () returns unit |
| constant native GetFilterUnit () returns unit |
| constant native GetKillingUnit () returns unit |
| function GetKillingUnitBJ () returns unit |
| function GetLastCreatedUnit () returns unit |
| function GetLastHauntedGoldMine () returns unit |
| function GetLastReplacedUnitBJ () returns unit |
| function GetLastRestoredUnitBJ () returns unit |
| constant native GetLearningUnit () returns unit |
| constant native GetLeavingUnit () returns unit |
| constant native GetLevelingUnit () returns unit |
| constant native GetLoadedUnit () returns unit |
| function GetLoadedUnitBJ () returns unit |
| function GetMajorCreep () returns unit |
| constant native GetManipulatingUnit () returns unit |
| native GetMegaTarget () returns unit |
| function GetMinorCreep () returns unit |
| constant native GetOrderedUnit () returns unit |
| constant native GetOrderTargetUnit () returns unit |
| constant native GetRescuer () returns unit |
| constant native GetResearchingUnit () returns unit |
| constant native GetRevivableUnit () returns unit |
| constant native GetRevivingUnit () returns unit |
| constant native GetSellingUnit () returns unit |
| constant native GetSoldUnit () returns unit |
| constant native GetSpellAbilityUnit () returns unit |
| constant native GetSpellTargetUnit () returns unit |
| constant native GetSummonedUnit () returns unit |
| constant native GetSummoningUnit () returns unit |
| constant native GetTrainedUnit () returns unit |
| constant native GetTransportUnit () returns unit |
| function GetTransportUnitBJ () returns unit |
| constant native GetTriggerUnit () returns unit |
| constant native GetUnitRallyUnit (unit whichUnit) returns unit |
| function GroupPickRandomUnit (group whichGroup) returns unit |
| native LoadUnitHandle (hashtable table, integer parentKey, integer childKey) returns unit |
| function LoadUnitHandleBJ (integer key, integer missionKey, hashtable table) returns unit |
| function MeleeFindNearestMine (location src, real range) returns unit |
| function MeleeRandomHeroLoc (player p, integer id1, integer id2, integer id3, integer id4, location loc) returns unit |
| native PlaceRandomUnit (unitpool whichPool, player forWhichPlayer, real x, real y, real facing) returns unit |
| function ReplaceUnitBJ (unit whichUnit, integer newUnitId, integer unitStateMethod) returns unit |
| native RestoreUnit (gamecache cache, string missionKey, string key, player forWhichPlayer, real x, real y, real facing) returns unit |
| function RestoreUnitLocFacingAngleBJ (string key, string missionKey, gamecache cache, player forWhichPlayer, location loc, real facing) returns unit |
| function RestoreUnitLocFacingPointBJ (string key, string missionKey, gamecache cache, player forWhichPlayer, location loc, location lookAt) returns unit |
Functions that take type unit as a parameter (   common.j,   common.ai,   Blizzard.j):
| native AddHeroXP (unit whichHero, integer xpToAdd, boolean showEyeCandy) returns nothing |
| function AddHeroXPSwapped (integer xpToAdd, unit whichHero, boolean showEyeCandy) returns nothing |
| native AddItemToStock (unit whichUnit, integer itemId, integer currentStock, integer stockMax) returns nothing |
| function AddItemToStockBJ (integer itemId, unit whichUnit, integer currentStock, integer stockMax) returns nothing |
| native AddResourceAmount (unit whichUnit, integer amount) returns nothing |
| function AddResourceAmountBJ (integer delta, unit whichUnit) returns nothing |
| native AddUnitAnimationProperties (unit whichUnit, string animProperties, boolean add) returns nothing |
| function AddUnitAnimationPropertiesBJ (boolean add, string animProperties, unit whichUnit) returns nothing |
| native AddUnitToStock (unit whichUnit, integer unitId, integer currentStock, integer stockMax) returns nothing |
| function AddUnitToStockBJ (integer unitId, unit whichUnit, integer currentStock, integer stockMax) returns nothing |
| native AttachSoundToUnit (sound soundHandle, unit whichUnit) returns nothing |
| function AttachSoundToUnitBJ (sound soundHandle, unit whichUnit) returns nothing |
| native AttackMoveKill (unit target) returns nothing |
| function AttackMoveKillA (unit target) returns nothing |
| function BlightGoldMineForPlayer (unit goldMine, player whichPlayer) returns unit |
| function BlightGoldMineForPlayerBJ (unit goldMine, player whichPlayer) returns unit |
| function CommonSleepUntilTargetDead (unit target, boolean reform) returns nothing |
| function CreateTextTagUnitBJ (string s, unit whichUnit, real zOffset, real size, real red, real green, real blue, real transparency) returns texttag |
| native DecUnitAbilityLevel (unit whichUnit, integer abilcode) returns integer |
| function DecUnitAbilityLevelSwapped (integer abilcode, unit whichUnit) returns integer |
| function DoesUnitGenerateAlarms (unit whichUnit) returns boolean |
| function ExplodeUnitBJ (unit whichUnit) returns nothing |
| native GetHeroAgi (unit whichHero, boolean includeBonuses) returns integer |
| native GetHeroInt (unit whichHero, boolean includeBonuses) returns integer |
| constant native GetHeroLevel (unit whichHero) returns integer |
| native GetHeroProperName (unit whichHero) returns string |
| native GetHeroSkillPoints (unit whichHero) returns integer |
| function GetHeroStatBJ (integer whichStat, unit whichHero, boolean includeBonuses) returns integer |
| native GetHeroStr (unit whichHero, boolean includeBonuses) returns integer |
| native GetHeroXP (unit whichHero) returns integer |
| function GetInventoryIndexOfItemTypeBJ (unit whichUnit, integer itemId) returns integer |
| function GetItemOfTypeFromUnitBJ (unit whichUnit, integer itemId) returns item |
| constant native GetOwningPlayer (unit whichUnit) returns player |
| native GetResourceAmount (unit whichUnit) returns integer |
| native GetUnitAbilityLevel (unit whichUnit, integer abilcode) returns integer |
| function GetUnitAbilityLevelSwapped (integer abilcode, unit whichUnit) returns integer |
| native GetUnitAcquireRange (unit whichUnit) returns real |
| native GetUnitCurrentOrder (unit whichUnit) returns integer |
| native GetUnitDefaultAcquireRange (unit whichUnit) returns real |
| native GetUnitDefaultFlyHeight (unit whichUnit) returns real |
| constant native GetUnitDefaultMoveSpeed (unit whichUnit) returns real |
| native GetUnitDefaultPropWindow (unit whichUnit) returns real |
| function GetUnitDefaultPropWindowBJ (unit whichUnit) returns real |
| native GetUnitDefaultTurnSpeed (unit whichUnit) returns real |
| constant native GetUnitFacing (unit whichUnit) returns real |
| native GetUnitFlyHeight (unit whichUnit) returns real |
| constant native GetUnitFoodMade (unit whichUnit) returns integer |
| constant native GetUnitFoodUsed (unit whichUnit) returns integer |
| constant native GetUnitLevel (unit whichUnit) returns integer |
| function GetUnitLifePercent (unit whichUnit) returns real |
| constant native GetUnitLoc (unit whichUnit) returns location |
| function GetUnitManaPercent (unit whichUnit) returns real |
| constant native GetUnitMoveSpeed (unit whichUnit) returns real |
| constant native GetUnitName (unit whichUnit) returns string |
| native GetUnitPointValue (unit whichUnit) returns integer |
| native GetUnitPropWindow (unit whichUnit) returns real |
| function GetUnitPropWindowBJ (unit whichUnit) returns real |
| constant native GetUnitRace (unit whichUnit) returns race |
| constant native GetUnitRallyDestructable (unit whichUnit) returns destructable |
| constant native GetUnitRallyPoint (unit whichUnit) returns location |
| constant native GetUnitRallyUnit (unit whichUnit) returns unit |
| constant native GetUnitState (unit whichUnit, unitstate whichUnitState) returns real |
| function GetUnitStatePercent (unit whichUnit, unitstate whichState, unitstate whichMaxState) returns real |
| function GetUnitStateSwap (unitstate whichState, unit whichUnit) returns real |
| native GetUnitTurnSpeed (unit whichUnit) returns real |
| constant native GetUnitTypeId (unit whichUnit) returns integer |
| native GetUnitUserData (unit whichUnit) returns integer |
| constant native GetUnitX (unit whichUnit) returns real |
| constant native GetUnitY (unit whichUnit) returns real |
| native GroupAddUnit (group whichGroup, unit whichUnit) returns nothing |
| function GroupAddUnitSimple (unit whichUnit, group whichGroup) returns nothing |
| native GroupRemoveUnit (group whichGroup, unit whichUnit) returns nothing |
| function GroupRemoveUnitSimple (unit whichUnit, group whichGroup) returns nothing |
| native IncUnitAbilityLevel (unit whichUnit, integer abilcode) returns integer |
| function IncUnitAbilityLevelSwapped (integer abilcode, unit whichUnit) returns integer |
| native IssueBuildOrder (unit whichPeon, string unitToBuild, real x, real y) returns boolean |
| native IssueBuildOrderById (unit whichPeon, integer unitId, real x, real y) returns boolean |
| function IssueBuildOrderByIdLocBJ (unit whichPeon, integer unitId, location loc) returns boolean |
| function IssueHauntOrderAtLocBJ (unit whichPeon, location loc) returns boolean |
| native IssueImmediateOrder (unit whichUnit, string order) returns boolean |
| function IssueImmediateOrderBJ (unit whichUnit, string order) returns boolean |
| native IssueImmediateOrderById (unit whichUnit, integer order) returns boolean |
| native IssueInstantPointOrder (unit whichUnit, string order, real x, real y, widget instantTargetWidget) returns boolean |
| native IssueInstantPointOrderById (unit whichUnit, integer order, real x, real y, widget instantTargetWidget) returns boolean |
| native IssueInstantTargetOrder (unit whichUnit, string order, widget targetWidget, widget instantTargetWidget) returns boolean |
| native IssueInstantTargetOrderById (unit whichUnit, integer order, widget targetWidget, widget instantTargetWidget) returns boolean |
| native IssueNeutralImmediateOrder (player forWhichPlayer, unit neutralStructure, string unitToBuild) returns boolean |
| native IssueNeutralImmediateOrderById (player forWhichPlayer, unit neutralStructure, integer unitId) returns boolean |
| native IssueNeutralPointOrder (player forWhichPlayer, unit neutralStructure, string unitToBuild, real x, real y) returns boolean |
| native IssueNeutralPointOrderById (player forWhichPlayer, unit neutralStructure, integer unitId, real x, real y) returns boolean |
| native IssueNeutralTargetOrder (player forWhichPlayer, unit neutralStructure, string unitToBuild, widget target) returns boolean |
| native IssueNeutralTargetOrderById (player forWhichPlayer, unit neutralStructure, integer unitId, widget target) returns boolean |
| native IssuePointOrder (unit whichUnit, string order, real x, real y) returns boolean |
| native IssuePointOrderById (unit whichUnit, integer order, real x, real y) returns boolean |
| native IssuePointOrderByIdLoc (unit whichUnit, integer order, location whichLocation) returns boolean |
| native IssuePointOrderLoc (unit whichUnit, string order, location whichLocation) returns boolean |
| function IssuePointOrderLocBJ (unit whichUnit, string order, location whichLocation) returns boolean |
| function IssueTargetDestructableOrder (unit whichUnit, string order, widget targetWidget) returns boolean |
| function IssueTargetItemOrder (unit whichUnit, string order, widget targetWidget) returns boolean |
| native IssueTargetOrder (unit whichUnit, string order, widget targetWidget) returns boolean |
| function IssueTargetOrderBJ (unit whichUnit, string order, widget targetWidget) returns boolean |
| native IssueTargetOrderById (unit whichUnit, integer order, widget targetWidget) returns boolean |
| function IssueTrainOrderByIdBJ (unit whichUnit, integer unitId) returns boolean |
| function IssueUpgradeOrderByIdBJ (unit whichUnit, integer techId) returns boolean |
| native IsSuspendedXP (unit whichHero) returns boolean |
| native IsTowered (unit target) returns boolean |
| constant native IsUnit (unit whichUnit, unit whichSpecifiedUnit) returns boolean |
| constant native IsUnit (unit whichUnit, unit whichSpecifiedUnit) returns boolean |
| function IsUnitAliveBJ (unit whichUnit) returns boolean |
| constant native IsUnitAlly (unit whichUnit, player whichPlayer) returns boolean |
| function IsUnitDeadBJ (unit whichUnit) returns boolean |
| constant native IsUnitDetected (unit whichUnit, player whichPlayer) returns boolean |
| constant native IsUnitEnemy (unit whichUnit, player whichPlayer) returns boolean |
| constant native IsUnitFogged (unit whichUnit, player whichPlayer) returns boolean |
| constant native IsUnitHidden (unit whichUnit) returns boolean |
| function IsUnitHiddenBJ (unit whichUnit) returns boolean |
| constant native IsUnitIllusion (unit whichUnit) returns boolean |
| function IsUnitIllusionBJ (unit whichUnit) returns boolean |
| constant native IsUnitInForce (unit whichUnit, force whichForce) returns boolean |
| constant native IsUnitInGroup (unit whichUnit, group whichGroup) returns boolean |
| constant native IsUnitInRange (unit whichUnit, unit otherUnit, real distance) returns boolean |
| constant native IsUnitInRange (unit whichUnit, unit otherUnit, real distance) returns boolean |
| constant native IsUnitInRangeLoc (unit whichUnit, location whichLocation, real distance) returns boolean |
| constant native IsUnitInRangeXY (unit whichUnit, real x, real y, real distance) returns boolean |
| native IsUnitInRegion (region whichRegion, unit whichUnit) returns boolean |
| constant native IsUnitInTransport (unit whichUnit, unit whichTransport) returns boolean |
| constant native IsUnitInTransport (unit whichUnit, unit whichTransport) returns boolean |
| function IsUnitInTransportBJ (unit whichUnit, unit whichTransport) returns boolean |
| function IsUnitInTransportBJ (unit whichUnit, unit whichTransport) returns boolean |
| constant native IsUnitInvisible (unit whichUnit, player whichPlayer) returns boolean |
| constant native IsUnitLoaded (unit whichUnit) returns boolean |
| function IsUnitLoadedBJ (unit whichUnit) returns boolean |
| constant native IsUnitMasked (unit whichUnit, player whichPlayer) returns boolean |
| constant native IsUnitOwnedByPlayer (unit whichUnit, player whichPlayer) returns boolean |
| native IsUnitPaused (unit whichHero) returns boolean |
| function IsUnitPausedBJ (unit whichUnit) returns boolean |
| constant native IsUnitRace (unit whichUnit, race whichRace) returns boolean |
| constant native IsUnitSelected (unit whichUnit, player whichPlayer) returns boolean |
| constant native IsUnitType (unit whichUnit, unittype whichUnitType) returns boolean |
| constant native IsUnitVisible (unit whichUnit, player whichPlayer) returns boolean |
| native KillUnit (unit whichUnit) returns nothing |
| function LockGuardPosition (unit targ) returns nothing |
| function MakeUnitRescuableToForceBJ (unit whichUnit, boolean isRescuable, force whichForce) returns nothing |
| function MeleeCheckAddedUnit (unit addedUnit) returns nothing |
| function MeleeCheckLostUnit (unit lostUnit) returns nothing |
| function MeleeGrantItemsToHero (unit whichUnit) returns nothing |
| function ModifyHeroSkillPoints (unit whichHero, integer modifyMethod, integer value) returns boolean |
| function ModifyHeroStat (integer whichStat, unit whichHero, integer modifyMethod, integer value) returns nothing |
| native PauseUnit (unit whichUnit, boolean flag) returns nothing |
| function PauseUnitBJ (boolean pause, unit whichUnit) returns nothing |
| function PlaySoundOnUnitBJ (sound soundHandle, real volumePercent, unit whichUnit) returns nothing |
| native QueueUnitAnimation (unit whichUnit, string whichAnimation) returns nothing |
| function QueueUnitAnimationBJ (unit whichUnit, string whichAnimation) returns nothing |
| function RectContainsUnit (rect r, unit whichUnit) returns boolean |
| native RecycleGuardPosition (unit hUnit) returns nothing |
| function ReformUntilTargetDead (unit target) returns nothing |
| native RemoveGuardPosition (unit hUnit) returns nothing |
| native RemoveItemFromStock (unit whichUnit, integer itemId) returns nothing |
| function RemoveItemFromStockBJ (integer itemId, unit whichUnit) returns nothing |
| native RemoveUnit (unit whichUnit) returns nothing |
| native RemoveUnitFromStock (unit whichUnit, integer unitId) returns nothing |
| function RemoveUnitFromStockBJ (integer unitId, unit whichUnit) returns nothing |
| function ReplaceUnitBJ (unit whichUnit, integer newUnitId, integer unitStateMethod) returns unit |
| function RescueUnitBJ (unit whichUnit, player rescuer, boolean changeColor) returns nothing |
| function ResetUnitAnimation (unit whichUnit) returns nothing |
| native ResetUnitLookAt (unit whichUnit) returns nothing |
| native ReviveHero (unit whichHero, real x, real y, boolean doEyecandy) returns boolean |
| native ReviveHeroLoc (unit whichHero, location loc, boolean doEyecandy) returns boolean |
| native SaveUnitHandle (hashtable table, integer parentKey, integer childKey, unit whichUnit) returns boolean |
| function SaveUnitHandleBJ (unit whichUnit, integer key, integer missionKey, hashtable table) returns boolean |
| native SelectHeroSkill (unit whichHero, integer abilcode) returns nothing |
| native SelectUnit (unit whichUnit, boolean flag) returns nothing |
| function SelectUnitAdd (unit whichUnit) returns nothing |
| function SelectUnitAddForPlayer (unit whichUnit, player whichPlayer) returns nothing |
| function SelectUnitForPlayerSingle (unit whichUnit, player whichPlayer) returns nothing |
| function SelectUnitRemove (unit whichUnit) returns nothing |
| function SelectUnitRemoveForPlayer (unit whichUnit, player whichPlayer) returns nothing |
| function SelectUnitSingle (unit whichUnit) returns nothing |
| native SetAllianceTarget (unit id) returns nothing |
| native SetCameraOrientController (unit whichUnit, real xoffset, real yoffset) returns nothing |
| function SetCameraOrientControllerForPlayerBJ (player whichPlayer, unit whichUnit, real xoffset, real yoffset) returns nothing |
| native SetCameraTargetController (unit whichUnit, real xoffset, real yoffset, boolean inheritOrientation) returns nothing |
| function SetCameraTargetControllerNoZForPlayer (player whichPlayer, unit whichUnit, real xoffset, real yoffset, boolean inheritOrientation) returns nothing |
| native SetExpansion (unit peon, integer id) returns boolean |
| native SetHeroAgi (unit whichHero, integer newAgi, boolean permanent) returns nothing |
| native SetHeroInt (unit whichHero, integer newInt, boolean permanent) returns nothing |
| native SetHeroLevel (unit whichHero, integer level, boolean showEyeCandy) returns nothing |
| function SetHeroLevelBJ (unit whichHero, integer newLevel, boolean showEyeCandy) returns nothing |
| function SetHeroStat (unit whichHero, integer whichStat, integer value) returns nothing |
| native SetHeroStr (unit whichHero, integer newStr, boolean permanent) returns nothing |
| native SetHeroXP (unit whichHero, integer newXpVal, boolean showEyeCandy) returns nothing |
| native SetItemTypeSlots (unit whichUnit, integer slots) returns nothing |
| native SetResourceAmount (unit whichUnit, integer amount) returns nothing |
| native SetTextTagPosUnit (texttag t, unit whichUnit, real heightOffset) returns nothing |
| function SetTextTagPosUnitBJ (texttag tt, unit whichUnit, real zOffset) returns nothing |
| native SetUnitAbilityLevel (unit whichUnit, integer abilcode, integer level) returns integer |
| function SetUnitAbilityLevelSwapped (integer abilcode, unit whichUnit, integer level) returns integer |
| native SetUnitAcquireRange (unit whichUnit, real newAcquireRange) returns nothing |
| function SetUnitAcquireRangeBJ (unit whichUnit, real acquireRange) returns nothing |
| native SetUnitAnimation (unit whichUnit, string whichAnimation) returns nothing |
| native SetUnitAnimationByIndex (unit whichUnit, integer whichAnimation) returns nothing |
| native SetUnitAnimationWithRarity (unit whichUnit, string whichAnimation, raritycontrol rarity) returns nothing |
| native SetUnitBlendTime (unit whichUnit, real blendTime) returns nothing |
| function SetUnitBlendTimeBJ (unit whichUnit, real blendTime) returns nothing |
| native SetUnitColor (unit whichUnit, playercolor whichColor) returns nothing |
| native SetUnitCreepGuard (unit whichUnit, boolean creepGuard) returns nothing |
| native SetUnitExploded (unit whichUnit, boolean exploded) returns nothing |
| function SetUnitExplodedBJ (unit whichUnit, boolean exploded) returns nothing |
| native SetUnitFacing (unit whichUnit, real facingAngle) returns nothing |
| native SetUnitFacingTimed (unit whichUnit, real facingAngle, real duration) returns nothing |
| function SetUnitFacingToFaceLocTimed (unit whichUnit, location target, real duration) returns nothing |
| function SetUnitFacingToFaceUnitTimed (unit whichUnit, unit target, real duration) returns nothing |
| function SetUnitFacingToFaceUnitTimed (unit whichUnit, unit target, real duration) returns nothing |
| native SetUnitFlyHeight (unit whichUnit, real newHeight, real rate) returns nothing |
| function SetUnitFlyHeightBJ (unit whichUnit, real newHeight, real rate) returns nothing |
| native SetUnitInvulnerable (unit whichUnit, boolean flag) returns nothing |
| function SetUnitLifeBJ (unit whichUnit, real newValue) returns nothing |
| function SetUnitLifePercentBJ (unit whichUnit, real percent) returns nothing |
| native SetUnitLookAt (unit whichUnit, string whichBone, unit lookAtTarget, real offsetX, real offsetY, real offsetZ) returns nothing |
| native SetUnitLookAt (unit whichUnit, string whichBone, unit lookAtTarget, real offsetX, real offsetY, real offsetZ) returns nothing |
| function SetUnitManaBJ (unit whichUnit, real newValue) returns nothing |
| function SetUnitManaPercentBJ (unit whichUnit, real percent) returns nothing |
| native SetUnitMoveSpeed (unit whichUnit, real newSpeed) returns nothing |
| native SetUnitOwner (unit whichUnit, player whichPlayer, boolean changeColor) returns nothing |
| native SetUnitPathing (unit whichUnit, boolean flag) returns nothing |
| native SetUnitPosition (unit whichUnit, real newX, real newY) returns nothing |
| native SetUnitPositionLoc (unit whichUnit, location whichLocation) returns nothing |
| function SetUnitPositionLocFacingBJ (unit whichUnit, location loc, real facing) returns nothing |
| function SetUnitPositionLocFacingLocBJ (unit whichUnit, location loc, location lookAt) returns nothing |
| native SetUnitPropWindow (unit whichUnit, real newPropWindowAngle) returns nothing |
| function SetUnitPropWindowBJ (unit whichUnit, real propWindow) returns nothing |
| function SetUnitRallyDestructable (unit whichUnit, destructable targDest) returns nothing |
| function SetUnitRallyPoint (unit whichUnit, location targPos) returns nothing |
| function SetUnitRallyUnit (unit whichUnit, unit targUnit) returns nothing |
| function SetUnitRallyUnit (unit whichUnit, unit targUnit) returns nothing |
| native SetUnitRescuable (unit whichUnit, player byWhichPlayer, boolean flag) returns nothing |
| native SetUnitRescueRange (unit whichUnit, real range) returns nothing |
| native SetUnitScale (unit whichUnit, real scaleX, real scaleY, real scaleZ) returns nothing |
| function SetUnitScalePercent (unit whichUnit, real percentScaleX, real percentScaleY, real percentScaleZ) returns nothing |
| native SetUnitState (unit whichUnit, unitstate whichUnitState, real newVal) returns nothing |
| native SetUnitTimeScale (unit whichUnit, real timeScale) returns nothing |
| function SetUnitTimeScalePercent (unit whichUnit, real percentScale) returns nothing |
| native SetUnitTurnSpeed (unit whichUnit, real newTurnSpeed) returns nothing |
| function SetUnitTurnSpeedBJ (unit whichUnit, real turnSpeed) returns nothing |
| native SetUnitTypeSlots (unit whichUnit, integer slots) returns nothing |
| native SetUnitUseFood (unit whichUnit, boolean useFood) returns nothing |
| function SetUnitUseFoodBJ (boolean enable, unit whichUnit) returns nothing |
| native SetUnitUserData (unit whichUnit, integer data) returns nothing |
| native SetUnitVertexColor (unit whichUnit, integer red, integer green, integer blue, integer alpha) returns nothing |
| function SetUnitVertexColorBJ (unit whichUnit, real red, real green, real blue, real transparency) returns nothing |
| native SetUnitX (unit whichUnit, real newX) returns nothing |
| native SetUnitY (unit whichUnit, real newY) returns nothing |
| native ShowUnit (unit whichUnit, boolean show) returns nothing |
| function ShowUnitHide (unit whichUnit) returns nothing |
| function ShowUnitShow (unit whichUnit) returns nothing |
| function SleepUntilTargetDead (unit target) returns nothing |
| native StoreUnit (gamecache cache, string missionKey, string key, unit whichUnit) returns boolean |
| function StoreUnitBJ (unit whichUnit, string key, string missionKey, gamecache cache) returns boolean |
| native SuspendHeroXP (unit whichHero, boolean flag) returns nothing |
| function SuspendHeroXPBJ (boolean flag, unit whichHero) returns nothing |
| function TransmissionFromUnitWithNameBJ (force toForce, unit whichUnit, string unitName, sound soundHandle, string message, integer timeType, real timeVal, boolean wait) returns nothing |
| function TriggerRegisterDistanceBetweenUnits (trigger trig, unit whichUnit, boolexpr condition, real range) returns event |
| native TriggerRegisterFilterUnitEvent (trigger whichTrigger, unit whichUnit, unitevent whichEvent, boolexpr filter) returns event |
| native TriggerRegisterUnitEvent (trigger whichTrigger, unit whichUnit, unitevent whichEvent) returns event |
| native TriggerRegisterUnitInRange (trigger whichTrigger, unit whichUnit, real range, boolexpr filter) returns event |
| function TriggerRegisterUnitInRangeSimple (trigger trig, real range, unit whichUnit) returns event |
| function TriggerRegisterUnitLifeEvent (trigger trig, unit whichUnit, limitop opcode, real limitval) returns event |
| function TriggerRegisterUnitManaEvent (trigger trig, unit whichUnit, limitop opcode, real limitval) returns event |
| native TriggerRegisterUnitStateEvent (trigger whichTrigger, unit whichUnit, unitstate whichState, limitop opcode, real limitval) returns event |
| native UnitAddAbility (unit whichUnit, integer abilityId) returns boolean |
| function UnitAddAbilityBJ (integer abilityId, unit whichUnit) returns boolean |
| native UnitAddIndicator (unit whichUnit, integer red, integer green, integer blue, integer alpha) returns nothing |
| function UnitAddIndicatorBJ (unit whichUnit, real red, real green, real blue, real transparency) returns nothing |
| native UnitAddItem (unit whichUnit, item whichItem) returns boolean |
| native UnitAddItemById (unit whichUnit, integer itemId) returns item |
| function UnitAddItemByIdSwapped (integer itemId, unit whichHero) returns item |
| function UnitAddItemSwapped (item whichItem, unit whichHero) returns boolean |
| native UnitAddItemToSlotById (unit whichUnit, integer itemId, integer itemSlot) returns boolean |
| native UnitAddSleep (unit whichUnit, boolean add) returns nothing |
| native UnitAddSleepPerm (unit whichUnit, boolean add) returns nothing |
| native UnitAddType (unit whichUnit, unittype whichUnitType) returns boolean |
| function UnitAddTypeBJ (unittype whichType, unit whichUnit) returns boolean |
| native UnitAlive (unit id) returns boolean |
| native UnitApplyTimedLife (unit whichUnit, integer buffId, real duration) returns nothing |
| function UnitApplyTimedLifeBJ (real duration, integer buffId, unit whichUnit) returns nothing |
| native UnitCanSleep (unit whichUnit) returns boolean |
| function UnitCanSleepBJ (unit whichUnit) returns boolean |
| native UnitCanSleepPerm (unit whichUnit) returns boolean |
| native UnitCountBuffsEx (unit whichUnit, boolean removePositive, boolean removeNegative, boolean magic, boolean physical, boolean timedLife, boolean aura, boolean autoDispel) returns integer |
| function UnitCountBuffsExBJ (integer polarity, integer resist, unit whichUnit, boolean bTLife, boolean bAura) returns integer |
| native UnitDamagePoint (unit whichUnit, real delay, real radius, real x, real y, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType) returns boolean |
| function UnitDamagePointLoc (unit whichUnit, real delay, real radius, location loc, real amount, attacktype whichAttack, damagetype whichDamage) returns boolean |
| native UnitDamageTarget (unit whichUnit, widget target, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType) returns boolean |
| function UnitDamageTargetBJ (unit whichUnit, unit target, real amount, attacktype whichAttack, damagetype whichDamage) returns boolean |
| function UnitDamageTargetBJ (unit whichUnit, unit target, real amount, attacktype whichAttack, damagetype whichDamage) returns boolean |
| function UnitDropItem (unit inUnit, integer inItemID) returns item |
| native UnitDropItemPoint (unit whichUnit, item whichItem, real x, real y) returns boolean |
| function UnitDropItemPointBJ (unit whichUnit, item whichItem, real x, real y) returns boolean |
| function UnitDropItemPointLoc (unit whichUnit, item whichItem, location loc) returns boolean |
| native UnitDropItemSlot (unit whichUnit, item whichItem, integer slot) returns boolean |
| function UnitDropItemSlotBJ (unit whichUnit, item whichItem, integer slot) returns boolean |
| native UnitDropItemTarget (unit whichUnit, item whichItem, widget target) returns boolean |
| function UnitDropItemTargetBJ (unit whichUnit, item whichItem, widget target) returns boolean |
| function UnitGenerateAlarms (unit whichUnit, boolean generate) returns boolean |
| function UnitHasBuffBJ (unit whichUnit, integer buffcode) returns boolean |
| native UnitHasBuffsEx (unit whichUnit, boolean removePositive, boolean removeNegative, boolean magic, boolean physical, boolean timedLife, boolean aura, boolean autoDispel) returns boolean |
| native UnitHasItem (unit whichUnit, item whichItem) returns boolean |
| function UnitHasItemOfTypeBJ (unit whichUnit, integer itemId) returns boolean |
| native UnitIgnoreAlarm (unit whichUnit, boolean flag) returns boolean |
| native UnitIgnoreAlarmToggled (unit whichUnit) returns boolean |
| function UnitInventoryCount (unit whichUnit) returns integer |
| native UnitInventorySize (unit whichUnit) returns integer |
| function UnitInventorySizeBJ (unit whichUnit) returns integer |
| native UnitInvis (unit id) returns boolean |
| native UnitIsSleeping (unit whichUnit) returns boolean |
| function UnitIsSleepingBJ (unit whichUnit) returns boolean |
| native UnitItemInSlot (unit whichUnit, integer itemSlot) returns item |
| function UnitItemInSlotBJ (unit whichUnit, integer itemSlot) returns item |
| native UnitMakeAbilityPermanent (unit whichUnit, boolean permanent, integer abilityId) returns boolean |
| function UnitMakeAbilityPermanentBJ (boolean permanent, integer abilityId, unit whichUnit) returns boolean |
| native UnitModifySkillPoints (unit whichHero, integer skillPointDelta) returns boolean |
| native UnitPauseTimedLife (unit whichUnit, boolean flag) returns nothing |
| function UnitPauseTimedLifeBJ (boolean flag, unit whichUnit) returns nothing |
| native UnitRemoveAbility (unit whichUnit, integer abilityId) returns boolean |
| function UnitRemoveAbilityBJ (integer abilityId, unit whichUnit) returns boolean |
| function UnitRemoveBuffBJ (integer buffcode, unit whichUnit) returns boolean |
| native UnitRemoveBuffs (unit whichUnit, boolean removePositive, boolean removeNegative) returns nothing |
| function UnitRemoveBuffsBJ (integer buffType, unit whichUnit) returns nothing |
| native UnitRemoveBuffsEx (unit whichUnit, boolean removePositive, boolean removeNegative, boolean magic, boolean physical, boolean timedLife, boolean aura, boolean autoDispel) returns nothing |
| function UnitRemoveBuffsExBJ (integer polarity, integer resist, unit whichUnit, boolean bTLife, boolean bAura) returns nothing |
| native UnitRemoveItem (unit whichUnit, item whichItem) returns nothing |
| native UnitRemoveItemFromSlot (unit whichUnit, integer itemSlot) returns item |
| function UnitRemoveItemFromSlotSwapped (integer itemSlot, unit whichHero) returns item |
| function UnitRemoveItemSwapped (item whichItem, unit whichHero) returns nothing |
| native UnitRemoveType (unit whichUnit, unittype whichUnitType) returns boolean |
| function UnitRemoveTypeBJ (unittype whichType, unit whichUnit) returns boolean |
| native UnitResetCooldown (unit whichUnit) returns nothing |
| function UnitSetCanSleepBJ (unit whichUnit, boolean canSleep) returns nothing |
| native UnitSetConstructionProgress (unit whichUnit, integer constructionPercentage) returns nothing |
| native UnitSetUpgradeProgress (unit whichUnit, integer upgradePercentage) returns nothing |
| native UnitSetUsesAltIcon (unit whichUnit, boolean flag) returns nothing |
| function UnitSetUsesAltIconBJ (boolean flag, unit whichUnit) returns nothing |
| native UnitShareVision (unit whichUnit, player whichPlayer, boolean share) returns nothing |
| function UnitShareVisionBJ (boolean share, unit whichUnit, player whichPlayer) returns nothing |
| native UnitStripHeroLevel (unit whichHero, integer howManyLevels) returns boolean |
| native UnitSuspendDecay (unit whichUnit, boolean suspend) returns nothing |
| function UnitSuspendDecayBJ (boolean suspend, unit whichUnit) returns nothing |
| native UnitUseItem (unit whichUnit, item whichItem) returns boolean |
| function UnitUseItemDestructable (unit whichUnit, item whichItem, widget target) returns boolean |
| native UnitUseItemPoint (unit whichUnit, item whichItem, real x, real y) returns boolean |
| function UnitUseItemPointLoc (unit whichUnit, item whichItem, location loc) returns boolean |
| native UnitUseItemTarget (unit whichUnit, item whichItem, widget target) returns boolean |
| native UnitWakeUp (unit whichUnit) returns nothing |
| function UnitWakeUpBJ (unit whichUnit) returns nothing |
| native Unsummon (unit unitid) returns nothing |
| native WaygateActivate (unit waygate, boolean activate) returns nothing |
| function WaygateActivateBJ (boolean activate, unit waygate) returns nothing |
| function WaygateGetDestinationLocBJ (unit waygate) returns location |
| native WaygateGetDestinationX (unit waygate) returns real |
| native WaygateGetDestinationY (unit waygate) returns real |
| native WaygateIsActive (unit waygate) returns boolean |
| function WaygateIsActiveBJ (unit waygate) returns boolean |
| native WaygateSetDestination (unit waygate, real x, real y) returns nothing |
| function WaygateSetDestinationLocBJ (unit waygate, location loc) returns nothing |
![]()
| Copyright (c) 2003 Jeff Pang Not affiliated or endorsed by Blizzard Entertainment |
|