InstantDummyCaster
Sourceint DUMMY_CASTER_UNIT_ID
Source
int DUMMY_ROOT_ABIL_ID
Source
class InstantDummyCaster
Source
Dummy caster for casting instant spells.
vec3 can be used for casterpos so that any effects/projectiles on/from caster will be on given height.
Can't cast channeling spells or impale.
If not specified otherwise, any damage from spells will be inflicted by DUMMY_PLAYER.
Spells are recommended to be 0 cooldown, 92083 cast range and 0 manacost.
unit caster
Source
Source
Source
Source
Source
function castPoint(player owner, int abilityId, int lvl, int orderId, vec2 targetPos, vec3 casterPos) returns boolean
Source
function castPoint(player owner, int abilityId, int lvl, int orderId, vec2 targetPos) returns boolean
Source
function castPoint(player owner, int abilityId, int lvl, string order, vec2 targetPos) returns boolean
Source
function castPoint(player owner, int abilityId, int lvl, string order, vec2 targetPos, vec3 casterPos) returns boolean
Source
function castPoint(player owner, int abilityId, int lvl, string order, vec2 targetPos, vec2 casterPos) returns boolean
Source
function castPoint(player owner, int abilityId, int lvl, int orderId, vec2 targetPos, vec2 casterPos) returns boolean
Source
Source
Source
Source
Source
Source
Source