Entity::hasBeenDamagedBy: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 12: Line 12:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:06, 1 May 2024

Entity 1 = Victim
Entity 2 = Attacker

p2 seems to always be 1

Syntax

entity.hasBeenDamagedBy(entity2, p2);

Required Arguments

  • entity2: Entity handle or object
  • p2: Boolean

Return value

  • Boolean

Example

// todo

See also