Jump to content
  • 0

Disable pets on Gold Room? (SOLVED)


Question

Posted (edited)

Hi,

Im using gold room script.. But how to disable pet? I tried making player cannot enter if they have pet.. But after they enter, they hatch the pet within the gold room.. I tried using restricted mapflag.. But not working..
 

at the end of gold room script :

gold_room	mapflag	restricted	1


in item_noequip.txt

643,1 // Pet Incubator

Or any other suggestion that works?

Thank you..

EDIT :

I just change item_db for pet incubator.. ^_^ Its working now.. Thanks..

Edited by rakuzas

4 answers to this question

Recommended Posts

  • 0
Posted
18 minutes ago, Valiente said:

Your solution is not considered best practice though. But glad you have it working now. :)

I not use this.. And its not good too using this method.. Im using other method.. Instead of bpet in item script, I make new script with function and then, in the item script I make callfunc the script I make.. When player in that map, player cannot hatch it.. Other than that map, player can hatch the egg.. Its quite easy.. But I dont have the idea before.. ^_^

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...