KaRRiLLioN 0 Posted January 25, 2007 Is there a way to find the number of non-cargo slots in a vehicle using the getText command? I could have sworn there were some entries, although the ones I remember were boolean in nature, i.e. hasdriver=1; hasgunner=1;etc. I have a simple workaround atm, but it'd be great for spawning manned tanks, etc. If anyone remembers Backoff's old OFP spawn group script, you'll have some idea how this might simplify things a lot. Currently, I create 3 soldiers, have them moveInDriver, moveInGunner, moveInCommander. If vehicle soldier == soldier after that, I delete the soldier. Ugly, but it works. Share this post Link to post Share on other sites
raedor 8 Posted January 25, 2007 Yes, you should be able to check the positions with getNumber (hasGunner, hasDriver, hasCommander)... 0 means no such position, 1 means there is a driver/... Share this post Link to post Share on other sites
KaRRiLLioN 0 Posted January 25, 2007 Ah, another command. No wonder. Well, I figured there might be something for bool or number out there. I'm grateful for the flexibility of ArmA, but the sheer size of the commands list is somewhat intimidating even to one who was used to OFP's. Finding something to suit a need is a little more difficult even with search on the Wiki. Thanks! Share this post Link to post Share on other sites
RN Malboeuf 12 Posted January 26, 2007 But note that hasGunner for ex. is defined for every turret not the whole vehicle like in old good OFP Share this post Link to post Share on other sites