ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_SetPlayerOwner

Changes the player owner of spawned and despawned squads in an SGroup.

On this page
SGroup_SetPlayerOwner(sgroup, owner)

Description

Changes the player owner of spawned and despawned squads in an SGroup.

Parameters

  • sgroupSGroupIDrequired
  • ownerPlayerIDrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/groups.scar