Preparing Game Data Starcraft 2 ★ Recommended & Recommended

This is where beginners usually get lost. You have a statue (Actor) and a box of numbers (Unit). You have to staple them together.

actions = [] for event in replay.events: if hasattr(event, 'second'): actions.append( 'time_sec': event.second, 'event_type': event.name, 'player': getattr(event, 'player', None), 'unit_type': getattr(event, 'unit_type_name', None), 'position': getattr(event, 'location', None) ) df = pd.DataFrame(actions) preparing game data starcraft 2

Starcraft 2 game data can be categorized into several types: This is where beginners usually get lost

Then, back in the , he had to set up the Animation Triggers . 'second'): actions.append( 'time_sec': event.second