EntityHasBeenDamagedBy Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Determines whether this entity has been damaged by the specified entity.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public bool HasBeenDamagedBy(
	Entity entity
)

Parameters

entity
Type: RageEntity
The entity to determine whether this entity has been damaged by.

Return Value

Type: Boolean
Returns true if this entity has been damaged by the specified entity; otherwise, returns false.
See Also

Reference