Hi Chris, I had no idea that was an option, thank you. I've attached NavMesh agent and NavMesh integration on the NPCS, I have a problem, the characters are still trying to walk into a place where they shouldn't. There's a block in the middle of the…
Hi Chris,
Thanks for that. All the items now get removed.
Only issue is now is that new items for category 5 don't get added anymore (the script is supposed to clear all the stuff in the inventory and then new items get added after), but if I disab…
Hi Chris, I've updated and changed the code to use that, it's still not working?What I've found is that the code now removes /most/ of the items and stops anything else from being added afterwards.
Do you mind copy pasting what the script should loo…
Hi Chris, I tried that and nothing is working. It's a massive actionlist so I won't show all of it but the beginning is the important part-- it will only run if the time is 0:0Then it removes everything that's already there and then adds the new one…
Hey Chris, thanks for that,I've put what you said in a script, put that script on a gameobject and put it in assets, now I'm trying to 'call event' on it in an action list but I'm getting a whole bunch of stuff come up, for example:(Image)
Can you…
Hi Chris,That worked, just one issue-- I can only assign the actionlist if the game object is in scene. If I try to assign it in the prefab in the resources/try to save it from the scene to a prefab, it doesn't let me/resets the actionlist field bac…
Hi,
I (somehow) managed to make it detect the collision via script, but I'm struggling for it to call an actionlist. I have: using AC; at the top but after that I'm lost..I've tried this but I'm getting errors about actList not existing and No overl…
Ok one more question and I'll go awayWhen I try to compare if speakingCharacter is equal to test, it says Operator `==' cannot be applied to operands of type `AC.Char' and `string'
My code:using UnityEngine;using System.Collections;using AC;
public…
Hi Chris,
What do I have to do to 'create' the myAudioClip variable? Or what do I replace it with? Because when I use it in game or replace myAudioClip with something else it just does this
error CS0103: The name `myAudioClip' does not exist in the …