Jump to content
  • 0

Requesting for reward giver if stay on map in 15 minutes


Question

Posted

Is this possible? Example you stayed in prontera and completed 15 minutes of staying there. You will get a 1 cash point.

More example. I go to prontera in 5 minutes then go other map. The 5 minutes will be counted until it completed the 15 minutes and will give cash points. Thank you if its possible.

up

8 answers to this question

Recommended Posts

Posted


- script dummy -1,{

OnPCLoadMapEvent:

if ( strcharinfo(3) == "prontera" && @on_prontera == 0 ) {

addtimer 10000, strnpcinfo(3) + "::OnLoop";

@on_prontera = 1;

}

end;

OnLoop:

if ( strcharinfo(3) != "prontera" )

@on_prontera = 0;

else {

@timer_ += 10;

if ( @timer_ % (15*60) )// reward after 15*60 secs

#CASHPOINTS += 1;

addtimer 10000, strnpcinfo(3) + "::OnLoop";

}

end;

}

prontera mapflag loadevent

Posted
-	script	dummy	-1,{
OnPCLoadMapEvent:
	if ( strcharinfo(3) == "prontera" && @on_prontera == 0 ) {
		addtimer 10000, strnpcinfo(3) + "::OnLoop";
		@on_prontera = 1;
	}
	end;
OnLoop:
	if ( strcharinfo(3) != "prontera" )
		@on_prontera = 0;
	else {
		@timer_ += 10;
		if ( @timer_ % (15*60) )// reward after 15*60 secs
			#CASHPOINTS += 1;
		addtimer 10000, strnpcinfo(3) + "::OnLoop";
	}
	end;
}

prontera	mapflag	loadevent

how can i make it the reward is goldcoins? thank you

Posted

How to make it for WOE maps? Multiple locations?

just change the map name "prontera"

i dunno how to make it multiple locations but i think you can add it manually. 

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