Hi, i'm implementing my own custom camera system. I have a gameobject parameter to hold the camera target.
During combat or dialogue i need to change that value accordingly so the camera will move from combatant to combatant.
The main nodes that deals with external scripts in Ork seems to be change fields and call function, but how can i make them pass for example a combatant actor present in an ork event?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I am trying to store the starting object game object's name and then send it as a string parameter of the call function node so i can make a gameobject.find into the function itself to recover the gameobject that i want to set the target with.
The select gameobject stores the object as selected data, i think i need to pass that value into a variable to be able to send it as a parameter in the call function node.
I don't know if what i am trying to do is logical or not however...
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I now have wrappers for camera and controls . I also used a similar script like in the otii camera example to change the target object, so i can now change the camera target in ork events with the same node. Awesome!