def global_warn(context, *args):
        """ This method can be used from a static context to print a warning.
        The first argument should be the name of the object / context, all
        other arguments should be the message. """
        if RPObject._OUTPUT_LEVEL > 1:
            return
        print(
            Fore.YELLOW + Style.BRIGHT + "[!] " + context.ljust(25) + Fore.YELLOW + Style.BRIGHT + " " +
            ' '.join([str(i) for i in args]) + Fore.RESET + Style.RESET_ALL
        )
 This method can be used from a static context to print a warning.
        The first argument should be the name of the object / context, all
        other arguments should be the message. 
metadrive/render_pipeline/rpcore/rpobject.py