@hedgefield Nah now i get
Assets/Scripts/ChangeColor.cs(66,39): error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
and it would not accept the ==
@skitt2501 :( did as you said problem is that AC wont accept the gun (model) in the Moveable object slot! crazy
when i click to select it I get no models available and when i drag it into the slot it wont accept it.
@ChrisIceBox now i get this
Assets/Scripts/ChangeColor.cs(66,39): error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
if(AC.GlobalVariables.GetIntegerValue (idvar) == "1")
i will throw a party…
@ChrisIceBox with that syntax you suggested i get :
Assets/Scripts/ChangeColor.cs(66,20): error CS0103: The name `GlobalVariables' does not exist in the current context
Thanks man @ChrisIceBox, I am not blaming, I am just pointing out problems. I like this product and want to support it and make the best use of it. This code was suggested by you. I must have not read the update in this on 1.32. I will follow tutori…
Something goes wrong all the time whenever there is an upgrade. I had to install and uninstall the package 3 times to get it to work. I Checked GlobalVariables and they were renamed, I changed the code on one script but i am still getting errors and…
I also have seen this or a similar situation were the player or an NPC eventhough has reached the trigger and should stop it keeps moving the legs as if he is walking but stays on the same spot. Strange thing is that other times he stops at the corr…
I am in no way a great programmer and I am new to Unity. I understand you have build a framework for AC to work @ChrisIceBox. What you suggest look simpler yes :) I was just pointing to @Guran that "things" are not as simple as he suggests…
@Guran Evere tried it ? just to get a variable from AC to the code of Unity you'll need all this : GameObject.FindWithTag (Tags.persistentEngine).GetComponent <RuntimeVariables>().GetVarValue (2);
Very nice Chris. I think there should be a very clear way for AC to "talk" (read write to variables in code) to the code made in Unity this will make AC "big", my advice work on that