Jump to content
  • 0

Request > Sample of use progress bar


Question

Posted

hye i need a sample simple use of progress bar, 

situasion :

player click to npc, npc will ask start or cancel,

if player pick start it will start progress bar for 1 minute,

if player move during 1 minute progress bar will cancel all process are cancel

if player complete that 1 mins progress bar, player recive item

i just need a sample or an example to make this type of script...

2 answers to this question

Recommended Posts

  • 0
Posted (edited)
new_1-3,114,64,6    script    Stone Pile    11003,{

    mes "Hello!";
    next;
    addtimer 10,strnpcinfo(0)+"::OnTest";
    progressbar "0x00ff00",5;
    mes "OK";
    close;
OnTest:
    end;

}

 

Edited by Dolphin86
  • 0
Posted

Hey

new_1-3,114,64,6	script	Stone Pile	1_JOURNEY_STONE_D,{

	mes "I need to stay put for 60 seconds so that the stones can activate.";
	next;
	if (select("Start", "Cancel") == 2) {
		close;
	}
	mes "Let's start.";
	close2;

	progressbar "3131FF",60;
	getitem 720, 1;
	
	specialeffect EF_FLOWERCAST;
	end;
}

 

  • Upvote 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...