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

TYPES | FUNCTIONS | VARIABLES

Type unittype

Global Variables | Functions That Return | Functions That Take

Ancestor Types:handle > unittype
Children Types:none
Location:common.j, line 49

BACK TO TOP

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

Global variables of type unittype:

common.j:
UNIT_TYPE_ANCIENT, UNIT_TYPE_ATTACKS_FLYING, UNIT_TYPE_ATTACKS_GROUND, UNIT_TYPE_DEAD, UNIT_TYPE_ETHEREAL, UNIT_TYPE_FLYING, UNIT_TYPE_GIANT, UNIT_TYPE_GROUND, UNIT_TYPE_HERO, UNIT_TYPE_MAGIC_IMMUNE, UNIT_TYPE_MECHANICAL, UNIT_TYPE_MELEE_ATTACKER, UNIT_TYPE_PEON, UNIT_TYPE_PLAGUED, UNIT_TYPE_POISONED, UNIT_TYPE_POLYMORPHED, UNIT_TYPE_RANGED_ATTACKER, UNIT_TYPE_RESISTANT, UNIT_TYPE_SAPPER, UNIT_TYPE_SLEEPING, UNIT_TYPE_SNARED, UNIT_TYPE_STRUCTURE, UNIT_TYPE_STUNNED, UNIT_TYPE_SUMMONED, UNIT_TYPE_TAUREN, UNIT_TYPE_TOWNHALL, UNIT_TYPE_UNDEAD

BACK TO TOP

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

Functions that return type unittype (     common.j,      common.ai,      Blizzard.j):

constant native ConvertUnitType (integer i) returns unittype

BACK TO TOP

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

Functions that take type unittype as a parameter (     common.j,      common.ai,      Blizzard.j):

constant native IsUnitIdType (integer unitId, unittype whichUnitType) returns boolean
constant native IsUnitType (unit whichUnit, unittype whichUnitType) returns boolean
native UnitAddType (unit whichUnit, unittype whichUnitType) returns boolean
function UnitAddTypeBJ (unittype whichType, unit whichUnit) returns boolean
native UnitRemoveType (unit whichUnit, unittype whichUnitType) returns boolean
function UnitRemoveTypeBJ (unittype whichType, unit whichUnit) returns boolean

BACK TO TOP

------------------------------------------------------------
Copyright (c) 2003 Jeff Pang
Not affiliated or endorsed by Blizzard Entertainment
SourceForge.net Logo