Setting Alliances

Reviewed For: SDK 2.1

Player Alliances can be set on game initialization for both multiplayer and colony scenarios. For a full alliance, remember to set both players as allied to each other. See sample below.

From Player.h

class OP2 _Player
    void AllyWith(int playerNum);
int InitProc()

- Go Back to Programming a Scenario
- Go Back to Outpost 2 Software Development Kit
- Go Back to Outpost 2 Main page
- Go Back to Wiki Home Page

  • op2_sdk/setting_alliances.txt
  • Last modified: 2016/12/17 17:30
  • by vagabond