Forged Alliance Forever Forged Alliance Forever Forums 2016-11-01T22:46:09+02:00 /feed.php?f=3&t=13380 2016-11-01T22:46:09+02:00 2016-11-01T22:46:09+02:00 /viewtopic.php?t=13380&p=138194#p138194 <![CDATA[Re: IssueMove completed event]]>
Still, if you want to see the code, here you go:

* https://github.com/JeroenDeDauw/FinalRu ... ua#L70-L80
* https://github.com/JeroenDeDauw/FinalRu ... r.lua#L109

Statistics: Posted by EntropyWins — 01 Nov 2016, 22:46


]]>
2016-10-30T15:45:38+02:00 2016-10-30T15:45:38+02:00 /viewtopic.php?t=13380&p=138080#p138080 <![CDATA[Re: IssueMove completed event]]> Statistics: Posted by speed2 — 30 Oct 2016, 15:45


]]>
2016-10-30T15:32:27+02:00 2016-10-30T15:32:27+02:00 /viewtopic.php?t=13380&p=138078#p138078 <![CDATA[Re: IssueMove completed event]]>
speed2 wrote:
Code:
while transport:IsUnitState('Moving')) do
    WaitSeconds(.5)
end

Is this enough?


That works. Not exactly pretty, but it works.

Exotic_Retard wrote:
if its in the unit script you can do:
Code:
    OnMotionHorzEventChange = function(self, new, old)
        if new == 'Stopped' then
            --damn, look at this amazing code im running here
        end
    end,



I'm not sure what a unit script is (though can guess) and suppose this is not, since it's the code of a map.

Statistics: Posted by EntropyWins — 30 Oct 2016, 15:32


]]>
2016-10-29T01:48:13+02:00 2016-10-29T01:48:13+02:00 /viewtopic.php?t=13380&p=138006#p138006 <![CDATA[Re: IssueMove completed event]]>
Code:
    OnMotionHorzEventChange = function(self, new, old)
        if new == 'Stopped' then
            --damn, look at this amazing code im running here
        end
    end,

Statistics: Posted by Exotic_Retard — 29 Oct 2016, 01:48


]]>
2016-10-29T01:17:59+02:00 2016-10-29T01:17:59+02:00 /viewtopic.php?t=13380&p=138004#p138004 <![CDATA[Re: IssueMove completed event]]>
Code:
while transport:IsUnitState('Moving')) do
    WaitSeconds(.5)
end

Is this enough?

Statistics: Posted by speed2 — 29 Oct 2016, 01:17


]]>
2016-10-29T01:06:46+02:00 2016-10-29T01:06:46+02:00 /viewtopic.php?t=13380&p=138002#p138002 <![CDATA[IssueMove completed event]]> Statistics: Posted by EntropyWins — 29 Oct 2016, 01:06


]]>