Yandros on 5/9/2017 at 12:22
No, it was me missing something obvious, sorry. OnscreenText requires a TurnOn message to activate, but it's not getting that from the frobinfo, it's getting the FrobWorldEnd message instead. What you need to do is just remove from the plaque the Book > Text and frobinfo properties (you didn't need frobinfo anyway, it was the same as what it is inheriting from the Plaque archetype). Change the script on the plaque to TrigWorldFrob. Make a marker and add the OnscreenText script and the Book > Text prop to it, then ControlDevice link from the plaque to the marker. That should work fine, I just tested it.
trefoilknot on 5/9/2017 at 13:10
Thanks! I'll try it out when I get home from work!
Yandros on 5/9/2017 at 14:57
You can do it without the extra object if you want to also use NVScript. If you have a lot of these in your mission I would advise it, but if this is just a one-off readable then it won't matter.
trefoilknot on 5/9/2017 at 23:25
success! thank you! No way to change font size, is there? (I know--I'm greedy :) )
Yandros on 6/9/2017 at 00:50
With onscreen text, no, it's relative to the resolution the player is using. That is true of regular onscreen text (a plaque) as well as via tnhScript.
trefoilknot on 6/9/2017 at 00:52
Ok, now I'm *very* confused. It works perfectly on one computer, but when I try on another computer it doesn't. Even if I take the exact files and folder structure from one computer, it doesn't work on the other. Both computers have all the necessary scripts installed.
Yandros on 6/9/2017 at 01:13
Make doubly sure that tnhScript is in the root and the monolog says it's being loaded. Make sure the /books folder is in the right place and that your file is there. Test the file to see if it works on a standard gold plaque.
trefoilknot on 6/9/2017 at 01:20
Check, check and check. Same version of tnhScript.osm is in the root on both computers, monolog says it loaded successfully, and it works if I use StdBook. Moreover, if I load it up in FM Select, it works. But not when I go into game mode from DromEd. Any thoughts?
Yandros on 6/9/2017 at 01:31
Have you restarted Dromed since copying the .str file over?
trefoilknot on 6/9/2017 at 01:43
Yes, indeed. Since it works in FM select, maybe I'll just not worry about it :)