Home Download Forum My Account Store NPC/Item Drop Database

Need help with script @dev

READ FIRST: L2Divine Forum Rules

Need help with script @dev

Post by Zverie on Sun Mar 15, 2020 09:12 AM

Hello, today I created a very simple script for my party, but I need some help. So here's the script:

Battle:

BattleStart()
Delay(25000)
MoveTo(-xxxx, xxx, -xxx)
MoveTo(-yyyy, yyy, -yyy)
BattleStart()
Delay(25000)
MoveTo(-yyyy, yyy, -yyy)
MoveTo(-xxxx, xxx, -xxx) (these 2 move commands loc are the same as the other but inverted order)

Jump("Battle")

Now, as u can see clearly, this script works between two zones, when one is clear it walks to the next one and starts the battle. Im doing it by inputting a delay that it's kind of the exact time that I need to kill all the mobs, but instead of that, I'd like to know if there is a command along the lines of: "MobQty = 0" (as I havent found it on the guide) or something to make it move only when there are 0 mobs on the zone and not before that. Thanks for the help if anyone shows up
Avatar
Registered User
 
Posts: 17
Joined: Fri Nov 08, 2019 11:33 AM

RE: Need help with script @dev

Post by dev on Mon Mar 16, 2020 05:08 AM

Current script version does not support for this commnad (CountMob)

But you can use change area condition. (Setting > Area > Change when mob XXX)
Avatar
Developer
 
Posts: 6441
Joined:


Who is online

In total there is 5 user online
Registered users: rogemello10, albeerico, hardz, jecht10, ab352802
Legend: , , , Registered User

2006-2019 ☻ L2DIVINE.COM