Figured out the debug issue, but Call Function is still not working for me.
EDIT- restarting Unity fixed it. no changes were made to the event or scipts.
EDIT - I FIGURED IT OUT, IT WAS MY MISTAKE, check previous comment for explanation
I added Init and Spawn events to the combatant and added base>debug to them and the order of execution now is:
1. Init combatant (3 times as i have 3 combatants i…
EDIT - I FIGURED IT OUT, IT WAS MY MISTAKE
For others if they see this, i made 2 mistakes
1. My way of storing the variable was wrong, in the image you can see that i was using a variable name to set the variable name, instead just enter whatever yo…
How would i print values like number of combatants/allies/enemies using the base>debug?
And Call Function doesnt work for me or i dont understand how to use it
In this battle start event, i am first printing Start Battle to confirm that the ev…
Please don't post Unity projects with the full ORK version, send me the link by PM or email :)
Understood.
Is your CameraController derived from MonoBehaviour?
Yes it is.
In the repro project i attached a blank script derived from monobehaviour t…
But here is a repro project anyway
Project just has a camera, light and game starter.
Camera is a single object with no parent or child. I have attached a BoxCollider to it and that is what i try to disable in the custom control.
public class Blo…
ORK.Game.Camera.name = "Test";
I tested and it changed the correct camera object name.
ORK.Control.AddCameraControl(this);
using code to set behavior works
My camera is spawned later, but Camera.main returns the correct camera. i checked by printing the name of the parent of Camera.main. So if you cant think of anything else, i will try to create a small project that can reproduce the issue.
is there …
Could it be possible that ORK is using some other camera? There are other cameras in the scene which also have "MainCamera" tags but they are disabled. How can i check which camera ORK is using?
I havent actually tested the issue in a separate proj…
the component class name is correct "CameraController", but i see that it is under a namespace. does that matter? Nmae space is CMF, should i use "CMF.CameraController" as the component/Behaviour name in Custom Control?
EDIT - i tried that, and it …
the components are not on child objects. in the screenshot provided you can see that the Camera gameobject with the "MainCamera" tag has a parent called "CameraTarget", that again has a parent called "CameraControls". the "CameraControls" gameobject…
I think i know why this is happening, but thats also a bug.
When i exit play mode the ORK project changes back to the default, so my changes were not being saved in the correct project.
Steps to recreate:
1. Import ORK
2. In Editor Tab, in About…
@gamingislove i tried using Move Position to move battle spots but if i change even one of them, all are changed.
These are my settings
If i select use local space then all spots are placed on a different position than i set. If i deselect local…
Create a new game event (use a button to call this event in game) add a Switch Player node. You can use this node to change player to the next or previous member of the group. So i guess this can be used to cycle through players.
Use Move AIs on al…
Found a bug where in order to open the Event Tab in ORK Framework Window, you have to force save previous changes.
When i click on the Event tab, it asks me to save changes, but i dont want to save those changes. So i click on cancel then reload se…
How to see attack animation :
1. Create Battle Event
2. Use a Combat Animation node to play animation
This is what you are using.
So when setting up animations, add all 3 attack animations there
Now in the event, before using the Combat Animation n…
Unmark New Data: Select if and when new data will be marked as seen (i.e. removing new data mark):
- None: Doesn't unmark new data.
- View: When viewing the data (e.g. in a menu list).
- Selection: When selecting the data (e.g. selecting/highlightin…