Page 1 of 1

BA Waypoint Dragger

Posted: 26 Mar 2013, 14:12
by Broker
if i change
local selUnitsTbl = sprGetSelectedUnits()
to
local selUnitsTbl = GetTeamUnits(Spring.GetMyTeamID)

do i can drag waypoint with out selecting units?

Re: BA Waypoint Dragger

Posted: 27 Mar 2013, 11:30
by Broker
Broker wrote:if i change
local selUnitsTbl = sprGetSelectedUnits()
to
local selUnitsTbl = GetTeamUnits(Spring.GetMyTeamID)

do i can drag waypoint with out selecting units?

Help plz )))))

Re: BA Waypoint Dragger

Posted: 27 Mar 2013, 12:08
by Forboding Angel
Try it and see?

Re: BA Waypoint Dragger

Posted: 28 Mar 2013, 10:51
by Broker
Forboding Angel wrote:Try it and see?
It is LIVE))))))

now you can drag waypoint with out selection unit before.

Re: BA Waypoint Dragger

Posted: 28 Mar 2013, 12:31
by Silentwings
edit: Posted onto wrong thread, ops.

Re: BA Waypoint Dragger

Posted: 28 Mar 2013, 12:38
by Broker
Silentwings wrote:edit: Posted onto wrong thread, ops.
I think this is the answer about the Factory and destination point.

I added a condition unitDefID.isFactory == false. it works.