Get current speed of unit

Everything about mods can be found here.

Moderator: Morax

Get current speed of unit

Postby DDDX » 29 Oct 2019, 19:21

Hi guys.

Is there a way to get the current movement speed of a certain unit? So not just the difference between idle and moving, but the actual speed it has at a given moment.

Ty
Check out my 2 maps: "Survival_Mayhem&BO_3d_v1" "Survival_Mayhem&BO_3d_RPG"
as well as my mod: "Survival Mayhem&BO balance"
-- let me know of any bugs or issues regarding those 3.
DDDX
Avatar-of-War
 
Posts: 170
Joined: 21 Mar 2016, 16:13
Has liked: 18 times
Been liked: 16 times
FAF User Name: DDDX

Re: Get current speed of unit

Postby speed2 » 29 Oct 2019, 19:24

User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Get current speed of unit

Postby DDDX » 29 Oct 2019, 20:22

damn...that was fast, thank you.
What, mere 20 minutes passed?

I am going to test it out, but I assume the TODO means it's not yet available?
Check out my 2 maps: "Survival_Mayhem&BO_3d_v1" "Survival_Mayhem&BO_3d_RPG"
as well as my mod: "Survival Mayhem&BO balance"
-- let me know of any bugs or issues regarding those 3.
DDDX
Avatar-of-War
 
Posts: 170
Joined: 21 Mar 2016, 16:13
Has liked: 18 times
Been liked: 16 times
FAF User Name: DDDX

Re: Get current speed of unit

Postby speed2 » 29 Oct 2019, 20:25

It means its just not properly documented, like some other functions
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Get current speed of unit

Postby DDDX » 30 Oct 2019, 11:49

great. Thanks again for your help
Check out my 2 maps: "Survival_Mayhem&BO_3d_v1" "Survival_Mayhem&BO_3d_RPG"
as well as my mod: "Survival Mayhem&BO balance"
-- let me know of any bugs or issues regarding those 3.
DDDX
Avatar-of-War
 
Posts: 170
Joined: 21 Mar 2016, 16:13
Has liked: 18 times
Been liked: 16 times
FAF User Name: DDDX


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest