View Full Version : [SOLVED] Gossip loop

02-18-2016, 10:40 AM
Hellou guy's.

I have a question.
I want to make loop on gossip npc.
Hmm like something.
When you select one chooise, you get messege 5 after one second 4 after one second 3,... to 0.


02-18-2016, 11:42 AM
Not sure I understand ..
Do you mean that the player has for example 10 seconds to click an option out of 10 options and the amount of options gets reduced every second?
Or do you mean that there are 10 options and once the player clicks one, he is offered with 9 options .. and so on.

02-18-2016, 11:43 AM
I'm not sure if this is what you wanted, but I made an attempt to script this.
This script uses a command to open a gossip (player gossip) window, with one option to start the loop.
Once you click on the option, it will loop through x (depending on how many messages you added to the table) messages.

To test it, simply add the script and type '.gossiploop' ingame.

Script: http://paste2.org/kaczIP2a

02-18-2016, 12:00 PM
Thank you so much! Exacly what I needed.