DCS func getDrawArgumentValue: Difference between revisions
From DCS World Wiki - Hoggitworld.com
No edit summary |
No edit summary |
||
| Line 36: | Line 36: | ||
|optType2= | |optType2= | ||
|examples= | |examples= When checking the Huey | ||
local u = Unit.getByName('whoopwhoop') | |||
if u:getDrawArgument(43) == 1 then | |||
-- left gunner door open | |||
else | |||
-- left gunner door closed | |||
end | |||
|related= [[DCS_Class_Unit|'''Unit Functions:''']] {{listOfScriptingUnitFuncs}} | |related= [[DCS_Class_Unit|'''Unit Functions:''']] {{listOfScriptingUnitFuncs}} | ||
