UAddDevicesToStock

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

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

uAddDevicesToStock(#device_name, Amount);

Adds device_name to current ship with how many available to any free slots in the ship config menu. Where entry appears is based on numbers in the sets line of the device.


Example:

uAddDevicesToStock(#weap_widebeam_phaser1, 1);


Sets 1 30 100 32 110 ; //will appear in the heavy weapons line(32)