So, I got it like this (yeah, I thought it should be with 's'):
main:
//////////////////
level waittill spawn
//////////////////
thread prep
thread objs
end
objs:
//handles the objectives for the mission.
$documents_tirgger waittill trigger
waitthread global/objectives.scr::add_objectives 1 2 "Steal the documents." $documents.origin //compass!
waitthread global/objectives.scr::current_objectives 1
end
objective1:
$player playsound pickup_papers
$documents remove
iprintln "Document taken."
end
(I took out all the useless stuff (well, useless in this case))
So, when I trigger the docs, they disappear, that's fine. What doesn't work is that I don't really "obey my orders", that is, do what's said when hitting tab. I can take the documents (btw, when doing so, I get a message in German, although all the rest I scripted is in English) but then the compass still points to where they actually were...
I checked with the m2/1 script and just took over some things...
What do I have to change or add to make things work smooth?
Btw, I got a setthread on (?) the trigger (cnt/1 and setthread/objectives1)...