Difference between revisions of "DCS func setUnitInternalCargo"
From DCS World Wiki - Hoggitworld.com
Line 41: | Line 41: | ||
|optType2= | |optType2= | ||
− | |examples= trigger.action.setUnitInternalCargo('Jek Porkins', | + | |examples= The following simulates what would happen if your momma was a passenger in the aircraft. |
+ | |||
+ | local yoMomma= 5000 | ||
+ | trigger.action.setUnitInternalCargo('Jek Porkins', yoMomma) | ||
+ | |||
|related= | |related= | ||
[[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} | [[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} |