Jump to content
  • 0

Disable pets on Gold Room? (SOLVED)


rakuzas

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

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
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  132
  • Reputation:   8
  • Joined:  07/19/12
  • Last Seen:  

643,32 // Pet Incubator. 

The documentation of item_noequip.txt is pretty straight forward

Edited by Valiente
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

3 minutes ago, Valiente said:

643,32 // Pet Incubator. 

 

Not try yet.. But I solved it already.. Thanks for reply.. ^_^

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  132
  • Reputation:   8
  • Joined:  07/19/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

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.. ^_^

Link to comment
Share on other sites

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.

×
×
  • Create New...