Jump to content
  • 0

Monster drop straight to inventory


fanthasywarlock1

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  06/07/20
  • Last Seen:  

 

Hi guys, I would like my script items to fall directly from the player's inventory, can you help me? I tried several things but I was not successful.

explosive_mining.txt

Edited by fanthasywarlock1
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  928
  • Reputation:   170
  • Joined:  04/05/13
  • Last Seen:  

\conf\battle\drops.conf

item_auto_get: no >>> yes

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  06/07/20
  • Last Seen:  

6 minutes ago, Start_ said:

\conf\battle\drops.conf

item_auto_get: no >>> yes

 

In this case, I would like only my script item to fall into the inventory, not the whole game.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  928
  • Reputation:   170
  • Joined:  04/05/13
  • Last Seen:  

Change

makeitem .@Rewards,.@Amount,.@m$,.@x+rand(-.ScatArea,.ScatArea),.@y+rand(-.ScatArea,.ScatArea);

 

to
getitem .@Rewards,.@Amount;

 

and do the same with another makeitem commands.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  06/07/20
  • Last Seen:  

Thank you very much friend, solved my problem! ... script is working normally but in the emulator this is giving the following error. 

Can you help me in this part please.

Capturar.JPG

 It happens when detonating the mine

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  928
  • Reputation:   170
  • Joined:  04/05/13
  • Last Seen:  

Check temporary variables that hold item id (Ex. .@Rewards)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  06/07/20
  • Last Seen:  

Adjusted, thank you very much friend for the support!

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