GetUnitDefaultPropWindow

Parameters
whichUnit unit

The unit of which to return the default prop window

comment

Returns a unit's default propulsion window angle in degrees.

note

This native is the odd case in the asymmetric prop window API, since the other prop window natives use radians. Therefore, to reset a unit's prop window you need the explicit conversion, i.e. SetUnitPropWindow(u, GetUnitDefaultPropWindow(u) * bj_DEGTORAD)

return type
real
Source code
native GetUnitDefaultPropWindow takes unit whichUnit returns real
Source
unit.j
wc3modding.com
GetUnitDefaultPropWindow