1

get unit direction

Тема: get unit direction

Dears,

I am trying to get the unit direction (rotation angle), I enabled the rotation on the icon settings but how can i get the rotation angle.

please advise,

Regards,
Mina Fouad

2

get unit direction

Re: get unit direction

You need to get unit position object (via update_data_flags or search_item).

Direction will be present in "c" field:

"c":<int>,        /* course */
3

get unit direction

Re: get unit direction

thanks in advance, really a great support