fanthasywarlock1 Posted June 9, 2020 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 06/07/20 Last Seen: June 23, 2020 Share Posted June 9, 2020 (edited) 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 June 9, 2020 by fanthasywarlock1 Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted June 9, 2020 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 10 hours ago Share Posted June 9, 2020 \conf\battle\drops.conf item_auto_get: no >>> yes Quote Link to comment Share on other sites More sharing options...
0 fanthasywarlock1 Posted June 9, 2020 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 06/07/20 Last Seen: June 23, 2020 Author Share Posted June 9, 2020 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. Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted June 9, 2020 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 10 hours ago Share Posted June 9, 2020 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. Quote Link to comment Share on other sites More sharing options...
0 fanthasywarlock1 Posted June 9, 2020 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 06/07/20 Last Seen: June 23, 2020 Author Share Posted June 9, 2020 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. It happens when detonating the mine Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted June 9, 2020 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 10 hours ago Share Posted June 9, 2020 Check temporary variables that hold item id (Ex. .@Rewards) Quote Link to comment Share on other sites More sharing options...
0 fanthasywarlock1 Posted June 9, 2020 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 06/07/20 Last Seen: June 23, 2020 Author Share Posted June 9, 2020 Adjusted, thank you very much friend for the support! Quote Link to comment Share on other sites More sharing options...
Question
fanthasywarlock1
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 fanthasywarlock1Link to comment
Share on other sites
6 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.