BFME 2 - ROTWK Code Refence  1.0
ModelConditionUpgrade Class Reference

Public Attributes

Upgrades TriggeredBy
 
Upgrades ConflictsWith
 
Boolean RequiresAllTriggers
 
Boolean RequiresAllConflictingTriggers
 
AnimAndDuration CustomAnimAndDuration
 
Boolean Permanent
 
ConditionFlags AddConditionFlags
 
ConditionFlags RemoveConditionFlags
 
ModelConditionFlagRange RemoveConditionFlagsInRange
 
ModelConditionFlag AddTempConditionFlag
 
FloatingPoint TempConditionTime
 

Detailed Description

Behavior = ModelConditionUpgrade ModuleTag_TheModelConditionUpgrade

;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...
; L01F53AB0:   
AddConditionFlags = WEAPONSET_TOGGLE_1; SUB_L00952AC0:Model Condition Flags
RemoveConditionFlags = MOUNTED; SUB_L00952AC0:Model Condition Flags
RemoveConditionFlagsInRange = CREATE_A_HERO_00 CREATE_A_HERO_65; L01253900:Condition Flag Range //All flags between these two
AddTempConditionFlag = ModelConditionState : USER_2; L01253440
TempConditionTime = 20; SUB_L006D46C0:Float Point Value

End

Member Data Documentation

◆ TriggeredBy

Upgrades TriggeredBy

List of Upgrades
Must have these upgrades

◆ ConflictsWith

Upgrades ConflictsWith

List of Upgrades
May not have these upgrades

◆ RequiresAllTriggers

Boolean RequiresAllTriggers

All "TriggeredBy" Upgrades required! (meaning that if only one is present the module is not active)

◆ RequiresAllConflictingTriggers

Boolean RequiresAllConflictingTriggers

All "ConflictsWith" Upgrades required! (meaning that if only one is present the module is not 'disabled')

◆ CustomAnimAndDuration

AnimAndDuration CustomAnimAndDuration

Animation State - Time - Delay
Animtime:0 = set flag forever

◆ Permanent

Boolean Permanent

For ever... and ever... and ever, even if the upgrades are lost...

◆ RemoveConditionFlagsInRange

ModelConditionFlagRange RemoveConditionFlagsInRange

All flags between these two