Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BurnUserAction.c
Go to the documentation of this file.
1
class
BurnUserAction
:
ScriptedUserAction
2
{
3
override
void
PerformAction(IEntity pOwnerEntity, IEntity pUserEntity)
4
{
5
DamageManagerComponent
dmgManager =
DamageManagerComponent
.Cast(pOwnerEntity.FindComponent(
DamageManagerComponent
));
6
if
(!dmgManager)
7
return
;
8
9
HitZone
mainHz = dmgManager.GetDefaultHitZone();
10
mainHz.SetDamageOverTime(
EDamageType
.FIRE, 2.0);
11
12
Print(
"Burn baby!"
);
13
}
14
};
HitZone
Definition:
HitZone.c:12
ScriptedUserAction
Definition:
ScriptedUserAction.c:12
BurnUserAction
Definition:
SCR_BurnUserAction.c:1
EDamageType
EDamageType
Definition:
EDamageType.c:12
DamageManagerComponent
Definition:
DamageManagerComponent.c:12
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
UserActions
SCR_BurnUserAction.c
Generated by
1.8.17