OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 19 Mar 2005, 19:48:28

Title: hover/heli
Post by: 456820 on 19 Mar 2005, 19:48:28
what is a line of code to see if a chopper has men in cargo and also the code for when there cargo is empty
Title: Re:hover/heli
Post by: THobson on 19 Mar 2005, 20:00:22
if (count ((crew chopper) - [driver chopper,gunner chopper]) > 0) then {hint"Loons in cargo"} else {hint"No loons in cargo"}

Just tested it.  It works.