(Quote)
Amend the code block you shared to read as follows:
ConstantID fieldID = field.GetComponent<ConstantID> ();if (fieldID){ if (!field.gameObject.activeInHierarchy && fieldID.constantID == 0) { UnityVersionHandler.Ad…
Welcome to the community, @georgiabrok.
Open up AC's Player script and look for the following around line 1141:
for (int i = 0; i < playerData.attachmentPointDatas.Length; i++)
Replace this with:
for (int i = 0; i < heldObjectsToSpawn.Leng…
It might be worth splitting it into two scripts - one with the InitialiseVariables function, another with OnVariableChange. Have one with the former be in the first AC scene of the game (so that InitialiseVariables is only run once), and have the o…
@doglobster Here's an alternative version of the wiki's ACYarnVariables script that should save the visited nodes:
https://paste.ofcode.org/PZcDehGEcMJzjTnehmCmdZ
To use it, create a global String variable named "NodeVisited", and have t…
I have recreated the issues, yes - thank you for your patience.
The item deselection issue can be solved by unchecking Left-click deselects active item? in the Settings Manager.
This'll be a temporary fix, as it then means you can't deselect an it…
Version 1.81.7:
* Fixed: Issue when re-assigning UI objects to duplicated Menu Elements
* Fixed: Issue with spawning multiple instances of the same prefab in v1.81.6
* Fixed: Error when subtitles containing rich text are displayed in AC menus with …
I haven't used it myself, but there is a Steam achievement Action available on the AC wiki:
https://adventure-creator.fandom.com/wiki/Unlock_Steam_Achievement_(AC_Action)
Welcome to the community, @Noosphere.
I'd say that's the right solution - and the fault is mine if they were set as Legacy by default. I will look into the TutorialFiles package and make this correction - thanks for raising the issue, and apologie…
As speech audio can come from various sources, it's not possible for AC to "know" that a given language doesn't have associated audio.
What you can do, however, is use a custom script that - once the user clicks - changes the selected lan…
There's no concept of a global/master volume in AC, but a Float variable, linked to Options Data, could be used to update the attentuation with a custom script.
Welcome to the community, @doglobster.
Variables can't be generated at runtime, but it may be possible to have AC keep track of visited nodes separately within the ACYarnVariables script - I'll have a look into it.
@pulpaulaa I'm not sure how much…
Welcome to the community, @AnotherAndrea.
Firstly, uncheck Can skip with mouse clicks? in the Speech Manager to prevent mouse clicks by themselves from skipping speech. Speech can then only be skipped by invoking an input named "SkipSpeech&qu…
The main/active scene will need to be an AC one in order for it to run correctly. Sub-scenes can also be AC scenes, but this is not a requirement.
The default camera / PlayerStart fields can be bypassed in favour of a Cutscene in the added scene t…