-
Notifications
You must be signed in to change notification settings - Fork 3
EquipmentInfo
Nebby edited this page Jul 12, 2021
·
1 revision
The EquipmentInfo scriptable object is used to give a variant an equipment. While Enemies normally dont use equipments except for Scavengers, Giving your variant the EquipmentInfo scriptable object will allow it to activate its equipment in a "Smart" way.
| Variable Name | Description |
|---|---|
| Equipment String | The Equipment to give to the variant, this must match the EquipmentDef's Internal name. |
| Animation Curve | Used to dictate how the variant uses the Equipment depending on it's remaining health. A detailed explanation can be found bellow. |
The animation curve is to let the variant know how and when to activate it's Equipment.
X Axis: How Much missing health the variant has Y Axis: The chance for the equipment to activate.
The AnimationCurve shown below causes the variant to not use the equipment until it's at 50% health, afterwards it has a 100% chance to activate its equipment as long as his target is close.
