Tourniquet effect.
More...
|
override void | ApplyEffect (notnull IEntity target, notnull IEntity user, IEntity item, ItemUseParameters animParams) |
| Apply consumable effect.
|
|
override bool | CanApplyEffect (notnull IEntity target, notnull IEntity user, out SCR_EConsumableFailReason failReason=SCR_EConsumableFailReason.NONE) |
| Condition whether this effect can be applied.
|
|
override bool | CanApplyEffectToHZ (notnull IEntity target, notnull IEntity user, ECharacterHitZoneGroup group, out SCR_EConsumableFailReason failReason=SCR_EConsumableFailReason.NONE) |
| Condition whether this effect can be applied to the specific hit zone.
|
|
override ItemUseParameters | GetAnimationParameters (IEntity item, notnull IEntity target, ECharacterHitZoneGroup group=ECharacterHitZoneGroup.VIRTUAL) |
|
void | SCR_ConsumableTourniquet () |
|
override bool | ActivateEffect (IEntity target, IEntity user, IEntity item, ItemUseParameters animParams=null) |
|
void | AddConsumableDamageEffects (notnull ChimeraCharacter char, IEntity instigator) |
|
float | GetItemRegenSpeed () |
|
override bool | UpdateAnimationCommands (IEntity user) |
| Update the animCommands for all animations related to consumable.
|
|
TAnimGraphCommand | GetReviveAnimCmnd (IEntity user) |
|
ECharacterHitZoneGroup | GetTargetHitZoneGroup () |
|
bool | GetDeleteOnUse () |
|
float | GetApplyToOtherDuraction () |
|
TAnimGraphCommand | GetApplyToSelfAnimCmnd (IEntity user) |
|
TAnimGraphCommand | GetApplyToOtherAnimCmnd (IEntity user) |
|
◆ SCR_ConsumableTourniquet()
void SCR_ConsumableTourniquet.SCR_ConsumableTourniquet |
( |
| ) |
|
◆ ApplyEffect()
override void SCR_ConsumableTourniquet.ApplyEffect |
( |
notnull IEntity | target, |
|
|
notnull IEntity | user, |
|
|
IEntity | item, |
|
|
ItemUseParameters | animParams ) |
Apply consumable effect.
- Parameters
-
[in] | target | is the character who is having the effect applied |
[in] | user | |
[in] | item | |
[in] | animParams | |
Implements SCR_ConsumableEffectHealthItems.
◆ CanApplyEffect()
override bool SCR_ConsumableTourniquet.CanApplyEffect |
( |
notnull IEntity | target, |
|
|
notnull IEntity | user, |
|
|
out SCR_EConsumableFailReason | failReason = SCR_EConsumableFailReason.NONE ) |
Condition whether this effect can be applied.
- Parameters
-
[in] | target | is the character who is having the effect applied |
[in] | user | |
[in] | failReason | is reason why CanApplyEffect returned false |
- Returns
Implements SCR_ConsumableEffectBase.
◆ CanApplyEffectToHZ()
override bool SCR_ConsumableTourniquet.CanApplyEffectToHZ |
( |
notnull IEntity | target, |
|
|
notnull IEntity | user, |
|
|
ECharacterHitZoneGroup | group, |
|
|
out SCR_EConsumableFailReason | failReason = SCR_EConsumableFailReason.NONE ) |
Condition whether this effect can be applied to the specific hit zone.
- Parameters
-
[in] | target | is the character who is having the effect applied |
[in] | user | |
[in] | group | the hitzonegroup which is having the effect applied |
[in] | failReason | |
Implements SCR_ConsumableEffectHealthItems.
◆ GetAnimationParameters()
override ItemUseParameters SCR_ConsumableTourniquet.GetAnimationParameters |
( |
IEntity | item, |
|
|
notnull IEntity | target, |
|
|
ECharacterHitZoneGroup | group = ECharacterHitZoneGroup::VIRTUAL ) |
The documentation for this interface was generated from the following file:
- Game/Components/Gadgets/SCR_ConsumableTourniquet.c