GlobalVariables has static functions, but MainCamera does not - that's why you need to refer to the "KickStarter" instance instead.
Any errors in the console? Know that you can always just place a "Camera: Switch" Action in a Cutscene and run that Cutscene through script instead - just call it's "Interact" function.
Comments
The GlobalVariables and LocalVariables classes can be used to read/write global and local variables respectively.
AC.MainCamera - has no functions found - just like when all functions are private, but looking into the class, they are all public.
I have also tried looking at Kickstarter:
Anyway, hope you can help. It's giving me a headache haha
Any errors in the console? Know that you can always just place a "Camera: Switch" Action in a Cutscene and run that Cutscene through script instead - just call it's "Interact" function.
Got it working. Same code with kickstarter, but this time works. lol
To run an interaction through code - how is this achievable ?
┈┈┈┈┈┈▕▔╲
┈┈┈┈┈┈┈▏▕
┈┈┈┈┈┈┈▏▕▂▂▂
▂▂▂▂▂▂╱┈▕▂▂▂▏
▉▉▉▉▉┈┈┈▕▂▂▂▏
▉▉▉▉▉┈┈┈▕▂▂▂▏
▔▔▔▔▔▔╲▂▕▂▂▂I