Lord Ganja Posted November 10, 2013 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Share Posted November 10, 2013 (edited) Is there like a script like 'onpcloadmapevent' that summons the pet BACK to egg when the char enters a certain map? and a script that avoid pet hatching when inside this map? Can anyone help me with this? thanks in advance! Edited November 11, 2013 by Lord Ganja Quote Link to comment Share on other sites More sharing options...
Capuche Posted November 11, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted November 11, 2013 There are none command to force the pet to return into its eggs, but you can restrict the access to the map. prontera,163,185,5 script warp event 56,{ if ( petstat(PET_CLASS) ) { mes "You can enter with your pet."; close; } warp "<event map>",0,0; end; } + mapflag itemnoequip and restricted like Kido said. 1 Quote Link to comment Share on other sites More sharing options...
Capuche Posted November 10, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted November 10, 2013 You mean : disabled pet on castle map during guild war ? conf/battle/pet.conf#L77 Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted November 10, 2013 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted November 10, 2013 You mean : disabled pet on castle map during guild war ? conf/battle/pet.conf#L77 Something like that. But i'll use it in an event not woe. That's why I needed a script similar to that, that functions outside woe. Do you have any idea about it? Anyway thanks. Quote Link to comment Share on other sites More sharing options...
Kido Posted November 10, 2013 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted November 10, 2013 why not delete them from your item_db ? i mean, if you don't want anyone to use pets, maybe deleting them would be a good opbtion Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted November 11, 2013 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted November 11, 2013 why not delete them from your item_db ? i mean, if you don't want anyone to use pets, maybe deleting them would be a good opbtion I enable pet attack.. I also have custom pets that helps their masters to level up, kill mobs and monsters.. But I have this event wherein their master needs to attack a mob, but pet shouldn't help them.. That's why I need to disable them when their master is inside or entered the event. Quote Link to comment Share on other sites More sharing options...
Kido Posted November 11, 2013 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted November 11, 2013 why not delete them from your item_db ? i mean, if you don't want anyone to use pets, maybe deleting them would be a good opbtion I enable pet attack.. I also have custom pets that helps their masters to level up, kill mobs and monsters.. But I have this event wherein their master needs to attack a mob, but pet shouldn't help them.. That's why I need to disable them when their master is inside or entered the event. Like Capuche said, you can disable the pets on a castle map, If you are going to make an event on a certain map, why not to disable the pets for WoE and use a castle map for the event o:? Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted November 11, 2013 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted November 11, 2013 why not delete them from your item_db ? i mean, if you don't want anyone to use pets, maybe deleting them would be a good opbtion I enable pet attack.. I also have custom pets that helps their masters to level up, kill mobs and monsters.. But I have this event wherein their master needs to attack a mob, but pet shouldn't help them.. That's why I need to disable them when their master is inside or entered the event. Like Capuche said, you can disable the pets on a castle map, If you are going to make an event on a certain map, why not to disable the pets for WoE and use a castle map for the event o:? I was asking if there's a script to disable pet.. Plus, if I were to use a castle map, pets are not disabled if woe is not active... Anyway, I don't want to use a castle map. It doesn't suit the event for it.. I only wanted the script that functions like disabling pet in woe. Quote Link to comment Share on other sites More sharing options...
Kido Posted November 11, 2013 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted November 11, 2013 well, you will have to wait for someone to help you, all i can think is to restrict the pet incubator and the eggs on itemnoequip and restricted ): sorry i was not helpfull at all Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted November 11, 2013 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted November 11, 2013 well, you will have to wait for someone to help you, all i can think is to restrict the pet incubator and the eggs on itemnoequip and restricted ): sorry i was not helpfull at all Oh. I didn't think of this at all, to disable pet hatching using itemnoequip This really helps me kido. Thank you! There are none command to force the pet to return into its eggs, but you can restrict the access to the map. prontera,163,185,5 script warp event 56,{ if ( petstat(PET_CLASS) ) { mes "You can enter with your pet."; close; } warp "<event map>",0,0; end; } + mapflag itemnoequip and restricted like Kido said. Thanks also for this Capuche.. This solves my problem. Thanks to both of you Quote Link to comment Share on other sites More sharing options...
Question
Lord Ganja
Is there like a script like 'onpcloadmapevent' that summons the pet BACK to egg when the char enters a certain map?
and a script that avoid pet hatching when inside this map?
Can anyone help me with this?
thanks in advance!
Edited by Lord GanjaLink to comment
Share on other sites
9 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.