# Clear Alliance

Grammar — Clear alliance for sourcePlayer towards player targetPlayer
FlagsAction | Internal

# Arguments

  • int — Source Player
  • int — Target Player

Returns — void

void libNtve_gf_ClearAlliance(
	int lp_sourcePlayer,
	int lp_targetPlayer,
);

Category: Player / Alliances / Internal

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3681

    // Implementation
    if ((lp_sourcePlayer != lp_targetPlayer)) {
        libNtve_gf_ClearAlliance(lp_sourcePlayer, lp_targetPlayer);
        autoC4A67CFA_val = lp_alliance;
        if (autoC4A67CFA_val == libNtve_ge_AllianceSetting_Ally) {

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3108

    // Implementation
    if ((lp_sourcePlayer != lp_targetPlayer)) {
        libNtve_gf_ClearAlliance(lp_sourcePlayer, lp_targetPlayer);
        autoC4A67CFA_val = lp_alliance;
        if (autoC4A67CFA_val == libNtve_ge_AllianceSetting_Ally) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:8423

    // Implementation
    if ((lp_sourcePlayer != lp_targetPlayer)) {
        libNtve_gf_ClearAlliance(lp_sourcePlayer, lp_targetPlayer);
        libCOMI_gf_SetAllianceAspectCoop(lp_sourcePlayer, c_allianceIdVision, lp_targetPlayer, false);
        auto9570F556_val = lp_alliance;