Hey guys,
I'm struggling with scripting as a novice. Don't understand why when I try to add statuses I get "Failed to fill variable data. Status 'NewStatus' is unknown." in script editor, but it's identical to existing code. Picture of problem
https://imgur.com/a/l04iBEDIT:
Holy fuck realised the problem wasn't in script editor. My new status was under StatusSPARK, not StatusCONSUME in the Stats editor. This caused the game to ignore it some reason. Saved everything and restarted, it worked.
Had no idea why the script editor wouldn't recognise (or turn blue) when I add a new status variable.