Vehicle::setDamage

From RAGE Multiplayer Wiki
Revision as of 23:49, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Apply damage to vehicle at a location. Location is relative to vehicle model (not world).

Radius of effect damage applied in a sphere at impact location

Syntax

vehicle.setDamage(xOffset, yOffset, zOffset, damage, radius, p6);

Required Arguments

  • xOffset: float
  • yOffset: float
  • zOffset: float
  • damage: float
  • radius: float
  • p6: Boolean

Return value

  • Undefined

Example

// todo

See also