ProjectileManager 
s
c
#
ChangeTrackingProjectileSpeed(abilityCDOTABaseAbility, speedint): nil
s
c
#

Update speed.
CreateLinearProjectile(optionsCreateLinearProjectileOptions): ProjectileID
s
c
#
CreateLinearProjectileOptions
EffectName?: string
Source?: CDOTA_BaseNPC
vSpawnOrigin?: Vector
vVelocity?: Vector
vAcceleration?: Vector
fMaxSpeed?: float
fDistance?: float
fStartRadius?: float
fEndRadius?: float
fExpireTime?: float
iUnitTargetTeam?: DOTA_UNIT_TARGET_TEAM
iUnitTargetFlags?: DOTA_UNIT_TARGET_FLAGS
iUnitTargetType?: DOTA_UNIT_TARGET_TYPE
bIgnoreSource?: bool
bHasFrontalCone?: bool
bDrawsOnMinimap?: bool
bVisibleToEnemies?: bool
bProvidesVision?: bool
iVisionRadius?: uint
iVisionTeamNumber?: DOTATeam_t
ExtraData?: Record<string, string | number | boolean>

Creates a linear projectile and returns the projectile ID.
CreateTrackingProjectile(optionsCreateTrackingProjectileOptions): nil
s
c
#
CreateTrackingProjectileOptions
EffectName?: string
Source?: CDOTA_BaseNPC
vSourceLoc?: Vector
Target?: CDOTA_BaseNPC
iMoveSpeed?: int
flExpireTime?: float
bDodgeable?: bool
bIsAttack?: bool
bReplaceExisting?: bool
iSourceAttachment?: DOTAProjectileAttachment_t
bDrawsOnMinimap?: bool
bVisibleToEnemies?: bool
bProvidesVision?: bool
iVisionRadius?: uint
iVisionTeamNumber?: DOTATeam_t
ExtraData?: Record<string, string | number | boolean>

Creates a tracking projectile.
DestroyLinearProjectile(projectileProjectileID): nil
s
c
#

Destroys the linear projectile matching the argument ID.
GetLinearProjectileLocation(projectileProjectileID): Vector
s
c
#

Returns current location of projectile.
GetLinearProjectileRadius(projectileProjectileID): float
s
c
#

Returns current radius of projectile.
GetLinearProjectileVelocity(projectileProjectileID): Vector
s
c
#

Returns a vector representing the current velocity of the projectile.
ProjectileDodge(unitCDOTA_BaseNPC): nil
s
c
#

Makes the specified unit dodge projectiles.
UpdateLinearProjectileDirection(projectileProjectileID, directionVector, speedfloat): nil
s
c
#

Update velocity.