Jump to content
  • 0

MVP Summon Help~


Question

Posted

Hi guys, i'm new in scripting. Just want to ask you guys to help me improve this and correct the strings.

-	script	World Boss	-1,{

OnHour09: //Nyd
killmonster "hu_fild06","All";
monster hu_fild06,143,298,"Great Nidhoggr",2022,1,strnpcinfo(0)+"::OnKilled";
announce "Siege Guardian : Great Nidhoggr has been revived by the Elder spirits.";
end;

OnHour03: //FBH
killmonster "ve_fild07","All";
monster ve_fild07,103,85,"Great Hibram",1871,1,strnpcinfo(0)+"::OnKilled";
announce "Siege Guardian : Great Hibram has been revived by the Elder spirits.";
end;

OnHour15: //Great Bapho
killmonster "All";
monster prt_fild06,69,255,"Great Baphomet",1039,1,strnpcinfo(0)+"::OnKilled";
announce "Siege Guardian : Great Baphomet has been revived by the Elder spirits.";
end;

OnHour21: //Satan
killmonster "All";
monster moc_fild12,221,286,"Great Satan",1916,1,strnpcinfo(0)+"::OnKilled";
announce "Siege Guardian : Great Satan has been revived by the Elder spirits.";
end;

OnKilled:
announce "Siege Guardian : Peace has been restored! Thank you!";
end;
}

Script structure is, OnHour: a certain mvp will spawn in a certain map(exact spot) -> announce "spawned" -> onkill: announce.

and if you guys can add a getitem to all players that participated in the event. (like consolation price) TIA

3 answers to this question

Recommended Posts

  • 0
Posted
43 minutes ago, Tofee said:

Hi guys, i'm new in scripting. Just want to ask you guys to help me improve this and correct the strings.


-	script	World Boss	-1,{

OnHour09: //Nyd
killmonster "hu_fild06","All";
monster hu_fild06,143,298,"Great Nidhoggr",2022,1,strnpcinfo(0)+"::OnKilled";
announce "Siege Guardian : Great Nidhoggr has been revived by the Elder spirits.";
end;

OnHour03: //FBH
killmonster "ve_fild07","All";
monster ve_fild07,103,85,"Great Hibram",1871,1,strnpcinfo(0)+"::OnKilled";
announce "Siege Guardian : Great Hibram has been revived by the Elder spirits.";
end;

OnHour15: //Great Bapho
killmonster "All";
monster prt_fild06,69,255,"Great Baphomet",1039,1,strnpcinfo(0)+"::OnKilled";
announce "Siege Guardian : Great Baphomet has been revived by the Elder spirits.";
end;

OnHour21: //Satan
killmonster "All";
monster moc_fild12,221,286,"Great Satan",1916,1,strnpcinfo(0)+"::OnKilled";
announce "Siege Guardian : Great Satan has been revived by the Elder spirits.";
end;

OnKilled:
announce "Siege Guardian : Peace has been restored! Thank you!";
end;
}

Script structure is, OnHour: a certain mvp will spawn in a certain map(exact spot) -> announce "spawned" -> onkill: announce.

and if you guys can add a getitem to all players that participated in the event. (like consolation price) TIA

you mean get item to the party members who participated?

  • 0
Posted
6 minutes ago, Cyro said:

you mean get item to the party members who participated?

i mean all the players that participated/dealt damage on the mvp spawned. is it possible?

  • 0
Posted (edited)
OnKilled:
announce "Siege Guardian : Peace has been restored! Thank you!";
set .map$,strcharinfo(3);
addrid 5,0,.map$;
getitem 501,1;
end;

untested @Tofee ;) thats reward for all player on the map where boss spawned.

Edited by Valor

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