$Value

From GECK
Jump to: navigation, search

Weapon Smith

Description

Will set the value in caps of the weapon attachment. The value of the attachment will get added to the parent weapon when attached. Weapon value calculation: WeaponValue:float + AttachmentValue:float

Syntax

$Value: value:float

Example

;Inside "WeaponAttachments\Global_Config.ini"

   $EditorID: MySilencerAttachment
   $Name: Silencer Mod
   $Value: 500

Will set the value of MySilencerAttachment to 500 caps. If MySilencerAttachment is then attached to a weapon, that weapon's value will increase by 500.

Notes

  • Is a global exclusive function.