Forum Discussion

creepnpeep's avatar
creepnpeep
Seasoned Ace
3 years ago
Solved

New block needed in rules editor

We need a new block to be added to the rules editor to allow the game to determine a “win” based on player numbers in a team. Currently, the game will only calculate a win based on score. We need a...
  • Shark2782's avatar
    Shark2782
    3 years ago

    @creepnpeep

    Create Rule: Ongoing/Global
    If(Equals) (CountOf)(FilteredArray(GetPlayers)AND(GetPlayerState) (CurrentArrayElement) (Is Alive) AND(GeatTeamId(CurrentArrayElement)(GeatTeamId( 1 )( 0 )
    Then EndGame(GeatTeamId2)

    Else if (Equals) (CountOf)(FilteredArray(GetPlayers)AND(GetPlayerState) (CurrentArrayElement) (IsAlive) AND(GeatTeamId(CurrentArrayElement)(GeatTeamId( 2 )( 0 )
    Then endgame(GeatTeamId)( 1 )

About Battlefield 2042 General Discussion

Discuss the latest news and game information around Battlefield 2042 in the community forums.16,120 PostsLatest Activity: 4 hours ago