Hey guys!
Newbie here. I'm writing my first chopper script using a standard node/task based framework, and I want to introduce a way to dynamically select a task (position, target, endconditions) when my script starts.
More specifically, I'm looking for some code magic that will run once on start, hold a few pieces of data, and be referable from within any of my node classes. Unfortunately I'm new to programming, so I'm clueless as to where I would even start searching for such a thing.
I attempted coding a task object which held static variables and was instantiated in my main script class, but I ran into goofy runtime errors that have me thinking there's a better way to accomplish my goal.