setSpeedMode – Talk
Jump to navigation
Jump to search
Posted on 17 May 2008
Paul-Hewson
In Multiplayer, this command is overwritten by itself to NORMAL or FULL (i don't know which one, but it's fast move) when you ask the unit to move via script (ex : _unit doMove (getMarkerPos "destination"); )
The solution to solve this problem is to initialize the setSpeedMode after your order the unit to move.
So basically it gives you :
_unit doMove (getMarkerPos "destination");
_unit setSpeedMode "LIMITED";
If you plan to move the unit again after it reaches its destination, you will have to set the speed mode to LIMITED again like i did just above.
Killzone Kid (talk | contribs) (→Notes needing confirmation: new section) |
Lou Montana (talk | contribs) m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ") |
||
Line 1: | Line 1: | ||
== Notes needing confirmation == | == Notes needing confirmation == | ||
<dd class="notedate">Posted on 17 May 2008 | <dd class="notedate">Posted on 17 May 2008</dd> | ||
<dt class="note>'''[[User:Paul-Hewson|Paul-Hewson]]''' | <dt class="note>'''[[User:Paul-Hewson|Paul-Hewson]]''' | ||
<dd class="note">In Multiplayer, this command is overwritten by itself to NORMAL or FULL (i don't know which one, but it's fast move) when you ask the unit to move via script (ex : _unit doMove (getMarkerPos "destination"); ) | <dd class="note">In Multiplayer, this command is overwritten by itself to NORMAL or FULL (i don't know which one, but it's fast move) when you ask the unit to move via script (ex : _unit doMove (getMarkerPos "destination"); ) |