• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Gossip loop

Status
Not open for further replies.

mjafko

Epic Member
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.

Greetings,
Marko!
 

Rochet2

Moderator / Eluna Dev
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.
?
 

Grandelf

Esteemed Member
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
 
Status
Not open for further replies.
Top