PickN

From NexusWiki
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.