BFME 2 - ROTWK Code Refence  1.0
RefundDie Class Reference

Public Attributes

DeathTypeFilter DeathTypes
 
ObjectStatus ExemptStatus
 
ObjectStatus RequiredStatus
 
FloatingPoint DamageAmountRequired
 
Degrees MinKillerAngle
 
Degrees MaxKillerAngle
 
Upgrade UpgradeRequired
 
ObjectFilter BuildingRequired
 
Percentage RefundPercent
 

Detailed Description

Behavior = RefundDie ModuleTag_TheRefundDie

; L01F2EA00:   
DeathTypes = NONE + CRUSHED; L00E6D050: ALL / NONE Filter
ExemptStatus = SOLD; SUB_L00C118B0: BitStatus //May not have this Status
RequiredStatus = DEATH_3; SUB_L00C118B0: BitStatus //Must have this Status
DamageAmountRequired = 15.0; SUB_L006D46C0:Float Point Value//Damage required before this behavior can occur
MinKillerAngle = -46; SUB_L006D4B70:Float Point Value //Degrees
MaxKillerAngle = 46; SUB_L006D4B70:Float Point Value //Degrees
; L01EA8450:   
UpgradeRequired = Upgrade_MarketplaceUpgradeDefiance; L00E6C460:Upgrade //Required upgrade for the bonus percentage
BuildingRequired = ANY + GondorMarketPlace; SUB_L00EDCA00:Object Filter //At least one of the objects required in order to allow refund
RefundPercent = 50 % ; SUB_L006D4D20:Percentage //% of the beginning cost of the structure that gets refunded

End

Member Data Documentation

◆ ExemptStatus

ObjectStatus ExemptStatus

May not have this Status

◆ RequiredStatus

ObjectStatus RequiredStatus

Must have this Status

◆ DamageAmountRequired

FloatingPoint DamageAmountRequired

Damage required before this behavior can occur

◆ MinKillerAngle

Degrees MinKillerAngle

◆ MaxKillerAngle

Degrees MaxKillerAngle

◆ UpgradeRequired

Upgrade UpgradeRequired

Required upgrade for the bonus percentage

◆ BuildingRequired

ObjectFilter BuildingRequired

At least one of the objects required in order to allow refund

◆ RefundPercent

Percentage RefundPercent

% of the beginning cost of the structure that gets refunded