Auryn Posted June 18, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 147 Reputation: 1 Joined: 01/26/12 Last Seen: April 27, 2018 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted June 18, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 4 hours ago Share Posted June 18, 2012 you can try something like this http://upaste.me/a2ad50144bfda4d Quote Link to comment Share on other sites More sharing options...
Auryn Posted June 18, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 147 Reputation: 1 Joined: 01/26/12 Last Seen: April 27, 2018 Author Share Posted June 18, 2012 Taking a look, thank you Emistry . Quote Link to comment Share on other sites More sharing options...
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 AurynLink to comment
Share on other sites
2 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.