Proliffia on 20/5/2018 at 19:59
I'm trying to implement an objective similar to Framed, where the player has to leave an object in a particular room.
I've got TOW working, but there doesn't seem to be a goal category that corresponds to this.
So I'm not really sure where to even begin?
Proliffia on 21/5/2018 at 01:08
I've figured it out on my own, by reverse-engineering the setup in Framed. In case anyone's interested, I'll leave my solution here.
Create the objective in TOW. Under Type, just give it "No Type."
On the object you want to have dropped in a particular place, give it the script "TrigRoomDeposit"
Make a QuestVarTrap in your mission (they're classified under fnord in the object hierarchy).
Make a controldevice link from the object to be dropped to the QuestVarTrap.
In the QuestVarTrap's properties, add Trap>Quest Var and in the field, type "=1:goal_state_x", no quotes, where X is the number of the appropriate objective (as assigned in TOW).
In the room where you want the object dropped, you need the surrounding roombrush to be a concrete room, with a Route link from the dropped object to the roombrush.
I may have missed something here but this is the process as I understand it, if I got anything wrong, anyone feel free to correct me.
nicked on 21/5/2018 at 05:32
^ That looks correct to me!
You could also trigger the QVar with an Act/React response if you wanted an objective like "Leave the object on a table".
Yandros on 21/5/2018 at 10:40
FYI, there are surely numerous threads already covering this, and a quick search would have turned them up instead of adding another one to that heap. Generally it's better to search and find rather than create a new thread.
FireMage on 21/5/2018 at 11:32
Your mistake is that "TrigRoomDeposit" should be set to the destination room, not the object
The object should have a route link to the room.
The room should be CD linked to your goal ! ;)
Renault on 21/5/2018 at 15:10
Quote Posted by Yandros
FYI, there are surely numerous threads already covering this, and a quick search would have turned them up instead of adding another one to that heap.
Yes, this, and also check the (
http://www.ttlg.com/forums/showthread.php?t=131800) Tutorials page, there is actually a tut there by R Soul (under the Objectives heading) that discusses this very issue.