GetWorkshopResourceDamage - ObjectReference
Revision as of 23:32, 19 October 2016 by imported>Qazaaq (added category)
Member of: ObjectReference Script
Returns the total amount of damage on either the given resource actor value across all items in the Workshop.
SyntaxEdit
float Function GetWorkshopResourceDamage(ActorValue akAV = None) native
ParametersEdit
- akAV : A Resource-type Actor Value.
Return ValueEdit
The amount of damage for the specified actor value across all relevant items in the Workshop.
ExamplesEdit
; What's the total amount of Food damage on all food producers in SanctuaryWorkshopRef?
float allDamage = SanctuaryWorkshopRef.GetWorkshopResourceDamage( Food )