Forum Discussion

Re: Setting win condition for armed MCOM

On GameModeStarted, set a variable with the numbers of the mcoms.

Then, when a mcom destroyed, substract the variable of 1.

if then variable equals to 0, declare the victory.

I've tried and working! Have Fun!

3 Replies

  • creepnpeep's avatar
    creepnpeep
    Seasoned Ace
    4 years ago

    @Shark2782Hi mate, thanks for the input and replies.
    I can see the logic in your blocks.
    However, I can’t see anything in there that tells the game who destroyed the MCOM in order to determine the winning team.

    For example, if you make a game where both teams fight over 1 MCOM, you’d need to include some logic that says something like “if team 1 destroys the MCOM, then declare team 1 the winner” and vice versa.

    Also, if you have both teams trying to destroy 1 enemy MCOM then the same situation would apply.
    The game would need to know who destroyed the MCOM to know who the winner is.

    Any additional help would be appreciated 👍🏼

  • Shark2782's avatar
    Shark2782
    4 years ago

    If the mcom is not set as an allied or enemy (in which case you know who activates it), at the moment it cannot be done because the "MCOM" event block is missing, which should arrive with the next update.

  • creepnpeep's avatar
    creepnpeep
    Seasoned Ace
    4 years ago
    @Shark2782 Hi mate, yes, it doesn’t look like I’ll be able to use the MCOMS how I would like at the moment, which is a shame.
    I’ll just have to wait for them to add fully operational functionality of the MCOMS

About Battlefield 2042 General Discussion

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