You'll want to link your Stamina bar's value to a Global Float variable, and then use a custom script to deplete that variable while the Player runs. When the value hits zero, prevent running.
Linking it to a variable means you can then use e.g. V…
Tricky. You might be able to do it by altering the expected input when the dials are selected. Something like this:
using UnityEngine;using AC;public class DialInputs : MonoBehaviour{ void Start () { AC.KickStarter.playerInput.InputG…
I believe the issue of Events not being included in the gather process has since been addressed in the latest release.
For your custom line: AC won't know that this is part of your game if it isn't directly referenced in a scene or Manager. See th…
Situation understood, but sadly it would be more of a case of having a script that references the variables by ID.
As an alternative to variables, however, is it possible to consider Inventory items? They have much more in the way of extentions, b…
When Hotspots are disabled, their GameObects are still enabled - they get put onto a different layer.
You would need a custom script that reads the Hotspot's IsOn function and enables/disables the child object accordingly.
This wouldn't be an AC behaviour - check your project settings, it might be that there's a "background mode" been set that causes it to continue while out of focus.
By default, Label elements will set the colour of your Text components - not the background.
If you want to alter the background, use scripting attached to the UI prefab:
using UnityEngine.UI;using UnityEngine;using AC;public class SetBackgroundSp…
Don't worry, your game won't be lost. But I will need to understand the issues clearly.
If you can PM me your project with clear instructions on what you want me to look at, I will investigate.
If your directly-controlled Menu runs during gameplay, you'll need to specifically allow for direct navigation using the Engine: Manage systems Action.
See the Manual's "Navigating menus directly" chapter for details.
(Quote)
Is the Inve…
Speech event tokens will run no matter the animation engine - but the animation engine will determine what code you can run in such an event.
Spine isn't an official integration, but if its controlling the character's skeleton each frame then there…
How are you adjusting the volume?
You can set the relative volume of a Sound component with the ChangeRelativeVolume function - this'll factor in both the relative volume, and the global volume for its volume type.
AC has a Timer system that can be set to run ActionLists each tic / upon ending, but for something this specific I'd recommend a custom route that you can tailor to your exact need.