s&
box
News
Api
History
Sign in through
STEAM
DamageInfo
.
HasAllTags
list
Api Index
feed
DamageInfo
class
DamageInfo
Properties
data_object
Attacker
data_object
Body
data_object
BoneIndex
data_object
Damage
data_object
Force
data_object
Hitbox
data_object
Position
data_object
Tags
data_object
Weapon
Methods
push_pin
FromBullet
( hitPosition, hitForce, damage )
push_pin
FromExplosion
( sourcePosition, force, damage )
push_pin
Generic
( damage )
code
HasAllTags
( tags )
code
HasAnyTag
( tags )
code
HasTag
( tag )
code
UsingTraceResult
( result )
code
WithAttacker
( attacker, weapon )
code
WithBone
( bone )
code
WithDamage
( damage )
code
WithForce
( force )
code
WithHitBody
( body )
code
WithPosition
( position )
code
WithTag
( tag )
code
WithTags
( tags )
code
WithWeapon
( weapon )
HasAllTags
Sandbox.Game
bool
HasAllTags
(
string
[]
tags
,
)
Summary
Returns true if this DamageInfo has ALL of the following tags
Parameters
string
[]
tags
,
Return Value
bool
output