Auryn Posted June 18, 2012 Posted June 18, 2012 (edited) [solved] Hi there, I'm beginning scripting, and I'm asking myself 1001 questions about it all.I've been reading & learning slowly but surely, but there is something I'm asking myself right now, and I don't know how to do it : Taking this script for example : - script PoringEvent -1,{ OnMinute00: monster "prontera",0,0,"Poring",1002,1,strnpcinfo(3)+"::OnPoringDead"; announce "A special poring has spawned in Prontera!",0; end; OnPoringDead: // announce strcharinfo(0)+" has killed the Poring !",0; getitem 7539,1; end; } How can I make the poring spawn in any fields map from a list ? And how about setting more random rewards, and different monsters ? I guess this is similar. Edited June 18, 2012 by Auryn Quote
Emistry Posted June 18, 2012 Posted June 18, 2012 you can try something like this http://upaste.me/a2ad50144bfda4d Quote
Question
Auryn
[solved]
Hi there, I'm beginning scripting, and I'm asking myself 1001 questions about it all.I've been reading & learning slowly but surely, but there is something I'm asking myself right now, and I don't know how to do it :
Taking this script for example :
- script PoringEvent -1,{
OnMinute00:
monster "prontera",0,0,"Poring",1002,1,strnpcinfo(3)+"::OnPoringDead";
announce "A special poring has spawned in Prontera!",0;
end;
OnPoringDead:
// announce strcharinfo(0)+" has killed the Poring !",0;
getitem 7539,1;
end;
}
How can I make the poring spawn in any fields map from a list ?
And how about setting more random rewards, and different monsters ?
I guess this is similar.
Edited by Auryn2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.