Forum rules - please read before posting.

Warnings after deleting objective

Deleting objectives seems to leave some loose references behind. After having deleted an objective (id 16), I get these warnings when running ActionObjectiveSet actions:

"An Objective with ID=16 could not be found."
"Cannot set the state of objective 16 because that ID does not exist!"

Comments

  • As expected, and intended.

    Deleting data from your Inventory Manager won't affect Actions that reference it, so it's right that Actions that previously relied on it should warn you about this.

  • edited November 2020

    My mistake - I forgot I had an action referring to that objective in a list called when setting any objectives.

  • Be aware that you can search your project for references made to a Document, Item, Menu or Variable. It's safest to do so before deleting something.

  • Yeah, that's good advice. This was just me trying something out in the nearest open list and of course then forgetting to delete it :P

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.