bbb on 19/10/2016 at 17:01
I tried doing a search but could not come up with a solution related to my specific problem. I am doing my least favorite duty in the building FM process - objectives.
I have an objective (objective #2) where you are required to go to a vault. I am doing this in T2 NewDark (can't remember which version I am on but it is not the latest). The objective was set up as a incomplete, visible, "no-type" objective (same for all difficulty levels) and this was all done using TOW. I have a concrete room with a CD link to a QVAR trap with the QVAR using "=3: goal_state_2". When you enter the vault, it properly checks off the objective in red as failed which is what I want to happen. The problem is when you leave the vault/concrete room, the objective unchecks itself. I then realized I would probably have to make it irreversible and added "quest_create_mis goal_irreversible_2, 1" which I thought would fix the problem and it does not. The objective still unchecks itself when you leave the concrete room.
I must be doing something stupid that I can't see. Any ideas?
Thanks in advance
ps: if there is anything I hate doing more than conversations, it is objectives. Thank God for TOW.
nicked on 19/10/2016 at 17:19
Have you tried using a Boundstrigger instead of a Concrete room? Not sure it'd work, but might be worth a try.
nightshifter on 19/10/2016 at 17:19
how about using rsouls goalmaster?(
http://www.ttlg.com/forums/showthread.php?t=145938) http://www.ttlg.com/forums/showthread.php?t=145938
then doing objectives actually gets fun:D
ofcourse you can link the concrete room via a relaytrap ( once/no off) to the qvar.
nicked on 19/10/2016 at 17:20
Or you could get the room to trigger a one-off simple conversation where a blue room actor frobs a switch that controls the QVar.
Unna Oertdottir on 19/10/2016 at 17:24
Set a relay trap between the room and the QVar Trap: Trap Control Flags: Once, No off
R Soul on 19/10/2016 at 17:55
You could probably put Once, NoOff on the QuestVarTrap itself since it's a trap and the property is called TrapControlFlags. Not every script ending with Trap has to obey those flags, but it should.
Yandros on 19/10/2016 at 19:32
Quote Posted by bbb
added "quest_create_mis goal_irreversible_2, 1"
The comma is your problem here. Although putting a Once, NoOff flag on the QVTrap or on a relay between the roombrush and the QVTrap should also work.
Renault on 19/10/2016 at 20:17
Err, what's wrong with the comma? I thought that was the correct syntax. Not to mention he's using TOW anyway.
bbb on 19/10/2016 at 21:14
Relay trap, set control flag - DAH!! So logical but when you have not used it in a long while, the knowledge seems to vanish. I will take a look tonight to see if the QVAR trap has control flags. In any case thanks to all for the quick response. I was struggling with this and once again, the great members here came to the rescue.
Much appreciated.
BBB
Yandros on 19/10/2016 at 23:48
Quote Posted by Brethren
Err, what's wrong with the comma? I thought that was the correct syntax. Not to mention he's using TOW anyway.
Nothing... nothing is wrong with it. I was going from memory and thought you're not supposed to use a comma on the commandline. As you were, sorry for the confusion.