What command can be used to change the speed of a unit?

Interesting mapping tools and mapping help.

Moderator: Morax

What command can be used to change the speed of a unit?

Postby Ghoustaq » 14 Apr 2018, 17:46

SetSpeedThroughGoal SetSpeed SetMaxSpeed SetSpeedMult?
which one works? and how to use it? or what variable needs defining?
User avatar
Ghoustaq
Avatar-of-War
 
Posts: 65
Joined: 25 Dec 2017, 13:54
Has liked: 10 times
Been liked: 0 time
FAF User Name: Ghoustaq

Re: What command can be used to change the speed of a unit?

Postby Ghoustaq » 15 Apr 2018, 06:51

I found SetSpeedMult is useful. Unit:SetSpeedMult(2) will make a unit get a double rate of speed.
User avatar
Ghoustaq
Avatar-of-War
 
Posts: 65
Joined: 25 Dec 2017, 13:54
Has liked: 10 times
Been liked: 0 time
FAF User Name: Ghoustaq

Re: What command can be used to change the speed of a unit?

Postby Uveso » 15 Apr 2018, 08:43

Maybe usefull, a documentation with (all?) lua commands for supreme commander:
http://supcom.wikia.com/wiki/LUADOC_1.5.3599
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso


Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest