scn H52DTBOSRef ActorRef WeaponRef DamageBegin Onhitwithset Weapon to GetHitWithSet Damage to GetAttackDamage WeaponSet Actor to GetActionRefIf Damage < 4 && GetWeaponIsAutomatic Weapon == 1Actor.RestoreAV Health DamageEndIfEnd
scn H52DTBOSRef ActorRef WeaponRef DamageBegin Onhitwithset Weapon to GetHitWithSet Damage to GetAttackDamage WeaponSet Actor to GetActionRefIf Damage < 4 && GetWeaponIsAutomatic Weapon == 1Actor.RestoreAV Health DamageEndIfEnd
int bEquippedref rContainerBegin OnEquip set bEquipped to 1 set rContainer to GetContainerEndBegin GameMode if bEquipped ; Do stuff using rContainer endifEndBegin OnUnequip set bEquipped to 0End