Checking when the game ends?

Topic created · 2 Posts · 60 Views
  • Is it possible to check when the game ends so I can send some messages during the last few seconds after everyone dies? Im quite new to modding.

  • // Variant 1
    level.OnNotify("game_ended", fun(args) {
        // magic
    });
    
    // Variant 2
    level.OnNotify("game_over", fun(args) {
        // magic
    });
    
    // Variant 3
    level.OnNotify("block_notifies", fun(args) {
        // magic
    });
    
Log in to reply