Editors Note: added 12/12/09 (alterecco)
Functions Documentation | |
Name | objGetNamedItems |
Syntax | (objGetNamedItems obj name) |
Argument List | obj: obj you want to get weapon of name: string defining what item you want to get |
Returns | list |
Category | 1.0, item, spaceobject |
Description | Returns data on one of the ships selected weapons |
Example | |
Comment | If name == 'selectedWeapon, returns a list of one item, where the item is the selected weapon. If name == 'selectedLauncher, returns a list of one item, where the item is the currently installed launcher. If name == 'selectedMissile, returns a list of one item, where the item is the selected missile. Returns Nil if no missiles installed. If the launcher does not use missiles (e.g., DM600), then returns the installed launcher. |