PickN

From NexusWiki
Revision as of 01:59, 19 June 2009 by LordValarian (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

PickN(list, index);

It returns the given list’s ’index’th element. The indexing begins from 0. E.g. to send out a ship’s 2. bomber squadron: Select(0, S.weapon & S.owner=ship & S.devType=60); WeaponMode(PickN(0, 1), 1, target); it is suitable to make the selection between the same type of weapons on one ship.