Forum rules - please read before posting.

Objective assigned at start of game

Issue:
I have an objective that I want to assign to the player as soon as the game loads.
I followed the "Objective 1: A Basic Quest" tutorial here https://adventurecreator.org/tutorials/objectives-1-basic-quest

In AC Game Controller > Menu > Objectives > "Objective properties", I have the "Enable on start?" box checked.
However, when I boot up the game, the objective list is blank.

Questions:
How can I assign the objective I created to the player as soon as the game loads?
How can I ensure the objective menu will display objectives?

Also, what is the Input System package action name to open the objective window?
Is it "toggleobjectives"?

Thank you for your time and diligence with this matter!

Comments

  • You'll need to run the Objective: Set state Action to set your Objective's State to Active when your game begins. If it's not appearing in the Menu, it may be that the Menu is being turned on before this Action is run as part of AC's startup process.

    Rather than checking "Enable on start?", try adding a Menu: Change state Action after "Objective: Set state" that turns on your Objectives menu.

    To run these Actions when your game starts, you can either place them in the OnStart cutscene of your game's first scene - or in the ActionList when start game asset in the Settings Manager. The latter is scene-independent, meaning it'll be run no matter which scene you start from.

    Also, what is the Input System package action name to open the objective window? Is it "toggleobjectives"?

    The default Objectives menu isn't configured to toggle on/off with Input, but you can do that by setting its Appear type to On Input Key. The name of the input you want to use can then be entered into the text box that will then appear beneath.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.