Skip to content

Commit

Permalink
add SetSpeedThroughGoal
Browse files Browse the repository at this point in the history
  • Loading branch information
clyfordv committed Nov 6, 2023
1 parent 700b564 commit 8691d3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions units/XRL0302/XRL0302_Script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,13 @@ local DeathWeaponEMP = ClassWeapon(Weapon) {
self:FireWeapon()
end
end
self.unit:GetNavigator():SetSpeedThroughGoal(true)
self.chasing = true
end
end
elseif new == 'Stopped' then
self:SetEnabled(true)
self.unit:GetNavigator():SetSpeedThroughGoal(false)
self.chasing = nil
end
end,
Expand Down

0 comments on commit 8691d3a

Please sign in to comment.