Zoro on 15/4/2016 at 09:18
(Solved)Greetings,
Earlier I've asked for a "Stay as a ghost" objective. Well, it was successful... but now I'm having trouble with a final objective - "Get out when your other objectives are done."
"Get out" uses:
goal_type_9: 4
goal_state_9: 0
goal_final_9: 1
goal_target_9: 4 (It's proper target, I've checked and the "WelcomeRoom" script is in there"
The "stay as a GHOST" uses:
goal_type_8: 0
goal_state_8: 0
It gets failed via guards AI's AlertResponse and stuff like VarTrap.
So here's a question - how can I make it so, so if the other objectives - except 8th and 9th, - are Completed, 9th (Get out if your other objectives are finished) upon being Completed, checks the 8th (Stay as ghost) as Completed as well? Any idea?
Inline Image:
https://pp.vk.me/c633330/v633330118/2c88d/x6GveWbMgqA.jpgP.S. Sorry for my Trickster's English.
Unna Oertdottir on 15/4/2016 at 10:45
You could put TrigRoomplayer instead of WelcomeRoom on the end room brush and link the have-to-do goals (0+1+2+final room, 3 should be optional) to a RAT.
The RAT is linked to a final goal marker.
=1:goal_state_9
Yandros on 15/4/2016 at 10:51
If goal 8 has no type, you will have to manually complete it when all other goals have succeeded, so that 9 will work as a final goal.
Zoro on 15/4/2016 at 14:14
Quote:
link the have-to-do goals (0+1+2+final room, 3 should be optional) to a RAT.
But how to make the check, like "If goal_state_0 == 1" or something like that, to make that "RAT" actually working?
R Soul on 15/4/2016 at 14:26
There's no need for TrigRoomPlayer. The ghost objective should be 'reverse'.
goal_reverse_8: 1
This applies to any "don't do something" goal, and ghost means "don't get altert anyone".
You don't need goal_type_8. 0 isn't even a valid number. It won't do any harm but it's nice to keep the quest var window as clear as possible.
Unna Oertdottir on 15/4/2016 at 14:30
With a quest var Trigger for each goal =1:goal_state_x (x=goal number) This is linked to the RAT.
Zoro on 15/4/2016 at 15:32
Thank you very much :)
The problem has been solved for now.