Jump to content
  • 0

[REQUEST]ShowEvent?


REKT

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   11
  • Joined:  12/06/11
  • Last Seen:  

Oh, i'm new 'RENEWALS' uhm :3 just wanted to ask if how to make those script with 'showevent'

for ex: i would like to 'REQUEST' a script that shows in the head 'Exclamatory' if there is QUEST.

i just see it in the YouTube that's why i ask for help if someone could do for me.

After you finish the 'Quest' it won't pop-up anymore, can i request based on 'Quest Log System'

with 'dispbottom' /05 Poring Kills. (For Novice Quest)

Regards,

Melody :3

Does anyone would willing to 'HELP' me for my REQUEST?

Thank you!

Melody :3

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Well..there is alot way to do so...

to collect the count for killed monster...

you can do it in this way..


- script Sample -1,{
OnNPCKillEvent:
if( killedrid == 1002 ){
set Count,Count + 1;
dispbottom "You have killed "+Count+" Poring.";
}
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   11
  • Joined:  12/06/11
  • Last Seen:  

Well..there is alot way to do so...

to collect the count for killed monster...

you can do it in this way..


- script Sample -1,{
OnNPCKillEvent:
if( killedrid == 1002 ){
set Count,Count + 1;
dispbottom "You have killed "+Count+" Poring.";
}
end;
}

Oh thanks for that, but i want to make it as a QUEST. please refert o my 1st Post.

:3

Melody

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

you can try do it like this... ( Un-tested )

prontera,155,181,5 script Sample 757,{
if( Class != 0 ){
mes "only Novice can do this Quests.";
}else if( Count < 6 ){
mes "Please go kill 5 Poring.";
set Count,1;
}else{
mes "Thank you, you have done.";
set Count,0;
}
close;
OnNPCKillEvent:
if( killedrid == 1002 && Count && Class == 0 ){
set Count,Count + 1;
dispbottom "You have killed "+( Count - 1 )+" Poring.";
}
end;
OnPCLoadMapEvent:
showevent 1,1;
end;
}
prontera mapflag loadevent

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   11
  • Joined:  12/06/11
  • Last Seen:  

This should i want to 'EDIT' please help a little the script i made.

Add with 'setarray[0]' for CLASS and MONSTER.

prontera.gat,155,185,4	script	Quest	57,{

showevent 1,0; // Meaning there is a 'QUEST'

if (.PQC == 1) {
mes "[name]";
mes "Congrats you have completed the Quest";
mes "Job well, done!";
getitem 1201,1;
showevent 1,1 // Finish Quest and it won't Pop-UP again.
close;

}

mes "[name]";
mes "You currenty killed " + PQM+"/10 "+strmobinfo(1, killedrid) + ".";
set .PQ,1;
close;

OnNPCKillEvent:
if (PQ == 1 && killedrid == 1002){
	if (PQF == 1) end;
	set PQM, PQM +1;
	announce "[Quest System]: You have killed "+PQM+"/10 "+strmobinfo(1, killedrid)+".",bc_self;
}
if (PQM == 10) set PQF, 1;
if (PQM == 10) {
	announce "[Quest System]: 'Poring Quest' has been finished.",bc_self;
	set .PQC,1;
	end;
}
end;

}

Regards,

Melody :3

Edited by Melody
Link to comment
Share on other sites

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.

×
×
  • Create New...