TTLG|Thief|Bioshock|System Shock|Deus Ex|Mobile
Results 1 to 6 of 6

Thread: Issues with objectives.

  1. #1
    Member
    Registered: Jun 2009
    Location: Argentina

    Issues with objectives.

    Okay so I'm finishing a mission and all that's left is setting up the objectives, except some of them don't work properly.

    Issue #1: I have an optional "don't kill anyone or anything" objective, but it makes you lose (even though you shouldn't lose as it is OPTIONAL) if you kill only humans and doesn't count the rest of living creatures (goal_target is set to the "creatures" archetype, not only humans).

    Issue #2: There's an objective that requires you to find several loot objects scattered over the map, but it doesn't complete when you get them all. All of them have the TrigWorldFrob script and FrobInfo>Move, Script on them, and they are linked to a RequireAll trap which is linked to a QuestVar that has =1:goal_state_3.


  2. #2
    Member
    Registered: Jun 2009
    Location: Argentina
    Issue #2 solved. The solution was to link the RequireAllTrap to another QuestVar trap with =1:goal_visible_3 in addition to the other QuestVar trap.

    I'm still unable to make the player NOT LOSE when they fail to complete the "don't kill" objective

  3. #3
    Member
    Registered: Jan 2006
    Location: On the tip of your tongue.
    Is this for Thief 1 by any chance? Thief 1 does not support optional objectives.

  4. #4
    Member
    Registered: Jun 2009
    Location: Argentina
    Nope, this is T2. I just decided to make it non-optional but available in expert only.
    Last edited by DarkMax; 2nd Jul 2018 at 07:29.

  5. #5
    Member
    Registered: Jan 2001
    Location: Formby, NW England
    The VictoryCheck script probably doesn't test failed goals to see if they're also optional.

    All AI have the JAccuse script which can send a J'Accuse message to the player. The VictoryCheck script will either complete or fail the goal

    I think the only way to allow an optional no kill would be to replace JAccuse with something that cancels a goal rather than sending that J'Accuse message. It might be possible to write one with a Squirrel script. A brief look at the documentation suggests it can get the ID of the 'culprit' object, and that's 2/3rds of the battle.

  6. #6
    Member
    Registered: May 2002
    Location: Texas
    On the loot objective would you have to make it irreversible? It seems that if the player picks up a non-qualifying loot item after triggering the objective then the objective will become uncompleted.

    Edit: I just answered my own question. In a test I was able to take two loot items and then a non-linked loot item and the objective remained completed even without making it irreversible.
    Last edited by john9818a; 6th Jul 2018 at 14:29.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •