Sensut on 8/5/2014 at 21:36
Come on, Telliamed's OnScreenText script and Once,NoOff script flag, thats all, you'll see the text only once triggered during the game without any other settings.
BotaniciTraffici on 9/5/2014 at 18:00
Allelujaaaaaaaaaaaaaaaaa! :thumb:
(using tnhscript)
Code:
- Marker -> Trap Trig (-2123)
--- book -> Text: filename
--- s -> script -> OnscreenText
--- script -> Trap Control Flags: Once + NoOff
- Container
--- ControlDevice from container to Trap Trig
Sorry for stress, but this was my first time whit scripts...
Thank you guys!
LarryG on 9/5/2014 at 18:29
Glad Sensut was able to point you in the right direction. I still would like to know why you only want to see the text once when the container is frobbed. If the text has to do with what was in the container and not the container itself, then it would make more sense (to me) and be simpler to implement (I believe) to have the text show up when the item is contained by the player.
BotaniciTraffici on 9/5/2014 at 18:49
Sorry Larry, i lost you last message.
My Answer is: "I don't know!"
I'm new on DromEd, i use it in the past, but a long time ago; i never use script in DromEd: everything is a big mystery at the moment for me, but i want to learn everything i need for make my mission. And again... i don't speck english very well e i don't understand 100% of what i read.
Now i try to explain what i thought at the beginning: containers can be filled, but also empty; if i found solution for filled container, i don't have the answer for those empty for a default message like "Nothing there". And what i need if container has 2 or more object inside? In this case i have 3 problem to solve, oterwise only one.
I hope I have spelled it right and Thank you again ;)
LarryG on 9/5/2014 at 23:42
Hmm. So opening the container and finding nothing or getting something in your inventory as a result isn't enough? I can understand (sort of) the case for when you get given multiple items by the container. Only the last one given will show up. But I don't think there is a single case in the OMs where multiple items are given. [Some authority on the Thief missions will now point out a case where this is done, but it certainly isn't commonly done, and can easily be avoided.] Why put multiple items in containers? There is no need. Just because you can do something doesn't mean you should or that it will lead to improved game play.