Hey,
I'm currently working on an inspect mode in my game, where you can pick up stuff from the world and inspect them in front of your camera in 3D with turning and using buttons on that object, etc.
I've got that running so far. Only the reset function which I made an AssetFile-AssetList isn't working properly. I'm using one asset list to activate the action from a menu. Since these can't take other parameters than ints I'm calling another asset file from in there which parameters are set on activating the inspect mode on the item.
1. You click the item.
2. It gets parented to your camera and sets the parameters of the reset function to its own parameters, so both of them know they're working with the same object.
3. you reset the inspected item by clicking the x-button
It works just fine for one item, but as soon as I pick up the next one the parameters aren't set to the new variables. I can either leave their old values there or delete the parameters. But the new one's are just never set.
I just can't find my mistake.
Thanks for your help.
Comments
Which versions of both AC and Unity are you using, and how are you setting the parameters? Through code, or either the "ActionList: Run" or "ActionList: Set parameter" Actions?
Would you be abe to post some screenshots that illustrate the issue? I'm afraid there isn't enough detail about how you're going about this - and I'll need to be able to recreate the problem in order to help.
As it sounds like you're using this for quite a complex operation, see if you can reproduce it with a much more simple chain of Actions - for example, setting a string parameter that the player can say in their speech text (using the [param:X] token). If you can share details or steps that can be followed to get the issue to occur, that would be great.