Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.09

Description

Description:Defines the owner of a bullet or detonation, for the purpose of getEngagements associations.

Syntax

Syntax:shot setOwner owner
Parameters:
  • shot: Object - Bullet, grenade, IED, or other explosion that can injure units.
  • owner: Object - Unit to associate with the shot.
Return Value:Nothing

Examples

Examples:
{_x setOwner player} forEach allShots "true";

Additional Information

See also: getEngagements, getShotOwner
Multiplayer:
Problems:

Notes