def declare_and_load(self): """Declares and loads the resource file. Typically used when a script is loaded. """ es.loadevents('declare', str(self)) es.loadevents(str(self))
def loadevents(argv): es.loadevents(*argv)
def es_map_start(event_var): es.loadevents('addons/eventscripts/wcs/wcsevents/wcsevents')
def load(): es.loadevents('declare', 'addons/eventscripts/wcs/wcsevents/wcsevents.res') es.loadevents('addons/eventscripts/wcs/wcsevents/wcsevents.res')
def load(self): """Loads the resource file. Typically used on map start and when a script is loaded. """ es.loadevents(str(self))
def es_map_start(ev): es.loadevents('addons/eventscripts/rpg/Events/rpg_events.res')
def load(): es.loadevents('declare', 'addons/eventscripts/rpg/Events/rpg_events.res') es.loadevents('addons/eventscripts/rpg/Events/rpg_events.res')