Portal Documentation
Discord GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

SetPlayerSoldier

Sets a target Player soldier using a provided PlayerSoldiersItem. The soldier selected should be one that is available from that player team’s faction, otherwise, the soldier will not be set. (ex. if a team’s faction is Bad Company 2 US, that player may only select Bad Company 2 US soldiers).

Inputs

  1. Player
  2. PlayerSoldiersItem

SetPlayerSoldier