Тема: 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
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
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
You need to get unit position object (via update_data_flags or search_item).
Direction will be present in "c" field:
"c":<int>, /* course */
thanks in advance, really a great support