ItemBinding to Properties in Modules

airoll

Member
Hi, I have an attribute of an inventory item that I would like to bind to a property of a ShootableAction. In V2, this was possible since everything I was interested in was a property of the ShootableWeapon. Now that a lot of properties are only exposed via modules, how would I be able to bind it? Do I have to add a custom setter in ShootableAction that modifies the property in the relevant module?
 
No need for extra code, you can use the "Bindings" list to add an "ItemObjectBinding" object that allows you to bind an item attribute to a property on the module.

Here you can see a screenshot:

You can also do a "Ctrl+F Bind" on that documenation page to find all the relevant pasages talking about binding item attributes to properties of the item
 
Top