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)
. - patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
real
- Source code
-
native GetUnitDefaultPropWindow takes unit whichUnit returns real