GetWorkshopResourceDamage - ObjectReference
Revision as of 22: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.
Syntax[edit | edit source]
float Function GetWorkshopResourceDamage(ActorValue akAV = None) native
Parameters[edit | edit source]
- akAV : A Resource-type Actor Value.
Return Value[edit | edit source]
The amount of damage for the specified actor value across all relevant items in the Workshop.
Examples[edit | edit source]
; What's the total amount of Food damage on all food producers in SanctuaryWorkshopRef?
float allDamage = SanctuaryWorkshopRef.GetWorkshopResourceDamage( Food )