BFME 2 - ROTWK Code Refence
1.0
|
Behavior = ReplenishUnitsBehavior ModuleTag_TheReplenishUnitsBehavior
; L01F3A228:
StartsActive = No; SUB_L006D3400:Boolean //Requires upgrade to turn on
ReplenishDelay = 5000; SUB_L00E6CB10:Unsigned Integer Value //How often can I replenish a unit?
ReplenishRadius = 120.0; SUB_L006D46C0:Float Point Value //Only replenish needed units if they are this close.
NoReplenishIfEnemyWithinRadius = 200.0f; SUB_L006D46C0:Float Point Value //If enemies are this close, don't replenish!
ReplenishFXList = FX_SpellHealUnitHealBuff; SUB_L00E6BD90:FXList //Triggers an FXList when unit is replenished (sound and/or particle system)
ReplenishStatii = RIDERLESS; SUB_L00C118B0: BitStatus //Only objects with this status can get replenished.
ReplenishHordeMembersOnly = Yes; SUB_L006D3400:Boolean //Only replenish these horde's members?
;L01E97D40:
TriggeredBy = Upgrade_ElvenGift Upgrade_RohanFireArrows; L00BE9600: List of Upgrades //Must have these upgrades
ConflictsWith = Upgrade_TheodenKingsFavor Upgrade_TheodenLeadership; L00BE9600: List of Upgrades //May not have these upgrades
RequiresAllTriggers = Yes; SUB_L006D3400:Boolean //All "TriggeredBy" Upgrades required! (meaning that if only one is present the module is not active)
RequiresAllConflictingTriggers = Yes; SUB_L006D3400:Boolean //All "ConflictsWith" Upgrades required! (meaning that if only one is present the module is not 'disabled')
CustomAnimAndDuration = AnimState : USER_3 AnimTime : 0 TriggerTime : 0; L010ED8E0: Animation State - Time - Delay // Animtime:0 = set flag forever
Permanent = Yes; SUB_L006D3400:Boolean //For ever... and ever... and ever, even if the upgrades are lost...
End
Boolean StartsActive |
Requires upgrade to turn on
UnsignedInteger ReplenishDelay |
How often can I replenish a unit?
FloatingPoint ReplenishRadius |
Only replenish needed units if they are this close.
FloatingPoint NoReplenishIfEnemyWithinRadius |
If enemies are this close, don't replenish!
ObjectStatus ReplenishStatii |
Only objects with this status can get replenished.
Boolean ReplenishHordeMembersOnly |
Only replenish these horde's members?
Boolean RequiresAllTriggers |
All "TriggeredBy" Upgrades required! (meaning that if only one is present the module is not active)
Boolean RequiresAllConflictingTriggers |
All "ConflictsWith" Upgrades required! (meaning that if only one is present the module is not 'disabled')
AnimAndDuration CustomAnimAndDuration |
Animation State - Time - Delay
Animtime:0 = set flag forever
Boolean Permanent |
For ever... and ever... and ever, even if the upgrades are lost...