nightshifter on 12/6/2016 at 06:58
I think this must be simple but I'm stumped
I have a book contained in a safe.
I want my objective to be triggered after reading the book.
what script should I set on the book?
If I remove the contains-link it works ( the book got StdButton)
FrenchDecay on 12/6/2016 at 10:10
Maybe a TrigWorldFrob would work? I have never tried using it for a book that is contained though
Daraan on 12/6/2016 at 10:52
I think there is a Script somewhere that listens for FrobInvEnd(?) you can just use NVRelayTrapOn to get it done on the book.
In Cragscleft the scroll in the save is it an inventory read trigger as well?
Check
(
http://dromed.whoopdedo.org/public_scripts/basepostread)
and the 2 related scripts.
Unna Oertdottir on 12/6/2016 at 10:56
Try TrigInvFrob
Frobinfo-->Inv Action: Script
R Soul on 12/6/2016 at 11:36
BasePostRead or TrigInvFrob will both work, but the latter will activate just before the book page loads. If you want a new objective, or a VO, to be the result, I suggest the former.
Yandros on 12/6/2016 at 14:30
I would recommend NVRelayTrap with NVRelayTrapOn="FrobInvEnd" and a small value for NVRelayTrapDelay so it happens after they finish reading. BasePostRead will achieve the same thing as R Soul suggested, but it's in PublicScript which you may not already be using.
nightshifter on 12/6/2016 at 17:19
thank you Yandros, that did the trick.
realize that with this setup, i could have saved on objects. now i have placed relays with a timer between my readables and the questvartraps :D