Forged Alliance Forever Forums
Moderator: PhilipJFry
while transport:IsUnitState('Moving')) do
WaitSeconds(.5)
end
OnMotionHorzEventChange = function(self, new, old)
if new == 'Stopped' then
--damn, look at this amazing code im running here
end
end,
speed2 wrote:
- Code: Select all
while transport:IsUnitState('Moving')) do
WaitSeconds(.5)
end
Is this enough?
Exotic_Retard wrote:if its in the unit script you can do:
- Code: Select all
OnMotionHorzEventChange = function(self, new, old)
if new == 'Stopped' then
--damn, look at this amazing code im running here
end
end,
Users browsing this forum: No registered users and 1 guest