Missile System Overview
The Missile system provides tracking and information about spell projectiles in the game. This includes abilities like Fireball, Ice Lance, or any other visible spell projectile.
Accessing Missiles
-- Get all active missiles
Aurora.missiles:each(function(missile)
-- Work with each missile
end)
-- Get missiles from a specific unit
local player = Aurora.UnitManager:Get("player")
Aurora.missiles:each(function(missile)
if missile.creator == player then
-- Work with player's missiles
end
end)
Basic Properties
missile.spellid -- ID of the spell that created the missile
missile.creator -- Unit that created the missile
missile.target -- Target unit of the missile
missile.progress -- Percentage of journey completed (0-100)
missile.distancetraveled -- Distance traveled so far
Next Steps
- Learn about Missile Properties