I'm not enough experienced on rAthena Scripting And I'm stuck on something I wanna do.
I would like to have:
- an Npc Area (like 50x50)
- With globale and looping timer (like each 600s)
- Doing a function for EACH player in the area at the given moment.
So there is multiple problems I dont succeed to overcome.
First of all I dont want to do the same effect on all player in the area.
I dont want to do the effect after 600s when a player enter the zone (I want the all the effects to be at the same times and be independant of each player)
Question
roy_raider
Hi everyone.
I'm not enough experienced on rAthena Scripting And I'm stuck on something I wanna do.
I would like to have:
- an Npc Area (like 50x50)
- With globale and looping timer (like each 600s)
- Doing a function for EACH player in the area at the given moment.
So there is multiple problems I dont succeed to overcome.
First of all I dont want to do the same effect on all player in the area.
I dont want to do the effect after 600s when a player enter the zone (I want the all the effects to be at the same times and be independant of each player)
so in the perfect world
npc zone 50x50 {
OnTimerXX:
Foreach players as player in area {
dosomething random to player
}
initTimer again
}
Could you help me to figure this out ?
Link to comment
Share on other sites
3 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.