GSBmodders Posted June 9, 2012 Posted June 9, 2012 this may or may need be simple, I am in need of a script to show a popup message which displays a single book page when a specific container is closed or at least when the container I assign it to is closed. I will also need to be able to close that page, i imagine there would be a lot of pissed off people if they were to be stuck in popup message hell. I thought that I could get away with using quest updates but that will not work for what I have in mind.
Guest ThatOne Posted June 22, 2012 Posted June 22, 2012 You can possibly make a script that will start when the chest is closed, activate a book containing that one page you want (possibly a new id with just that one page?) and end the script. Remember to flag the book as unable to be taken. I'm not sure how to go about flagging the script to start when the chest is closed; perhaps assign it an OnActivate script? Or a MenuMode one? If you just want the message to pop up after an item was picked up, you can use an "onAdd" script as well. It's probably easier. Just my two cents, though I realize it's not much. -TO
GSBmodders Posted June 22, 2012 Author Posted June 22, 2012 You can possibly make a script that will start when the chest is closed' date=' activate a book containing that one page you want (possibly a new id with just that one page?) and end the script. Remember to flag the book as unable to be taken. I'm not sure how to go about flagging the script to start when the chest is closed; perhaps assign it an OnActivate script? Or a MenuMode one? If you just want the message to pop up after an item was picked up, you can use an "onAdd" script as well. It's probably easier. Just my two cents, though I realize it's not much. -TO [/quote'] thanks i'll give on add a try
Grumpf Posted July 2, 2012 Posted July 2, 2012 Need to know what you mean by "when is closed" as there is no close sequence/animation for chests, only for doors. You can modify the fQuestDelayTime variable of your main quest in the container script to speed up things. So your chest script will be Begin OnActivate Set myquest.fQuestDelayTime to 0.1 Set myquest.DoOnce to 1 Activate End And your quest script would be Short DoOnce Float fQuestDelayTime Begin Gamemode If DoOnce == 1 Set DoOnce to 0 Set FQuestDelayTime to 5 ;Display your page EndIf
Recommended Posts
Archived
This topic is now archived and is closed to further replies.