Home   Help Search Login Register  

Author Topic: hover/heli  (Read 486 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
hover/heli
« 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

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:hover/heli
« Reply #1 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.
« Last Edit: 19 Mar 2005, 23:49:02 by THobson »