nvh Posted August 16, 2021 Share Posted August 16, 2021 How to add 100 point stats for item in slot 7??? "this_item_im_using" just a example because I don't know how to call the item in that slot "Equipment[7]" is slot Weapon. "== -1" is slot empty. thank you! Link to comment Share on other sites More sharing options...
0 Cheshire Posted August 16, 2021 Share Posted August 16, 2021 I believe the equipment array stores the inventory slot of the equipped item so you should be able to find it through there. nvh 1 Link to comment Share on other sites More sharing options...
0 nvh Posted August 16, 2021 Author Share Posted August 16, 2021 7 hours ago, Cheshire said: I believe the equipment array stores the inventory slot of the equipped item so you should be able to find it through there. Do you have specific code suggestions? Link to comment Share on other sites More sharing options...
0 nvh Posted August 17, 2021 Author Share Posted August 17, 2021 9 hours ago, Cheshire said: I believe the equipment array stores the inventory slot of the equipped item so you should be able to find it through there. i try "Items[7].StatBuffs[0] += 1000;" it adds up to an item in inventory slot 7 Link to comment Share on other sites More sharing options...
0 Cheshire Posted August 17, 2021 Share Posted August 17, 2021 I think you might want to read what I said again. The equipment array holds the inventory slot that the item that's equipped is in.  So it'd be Items[Equipment[7]] if memory serves me right. nvh 1 Link to comment Share on other sites More sharing options...
0 nvh Posted August 17, 2021 Author Share Posted August 17, 2021 6 hours ago, Cheshire said: I think you might want to read what I said again. The equipment array holds the inventory slot that the item that's equipped is in.  So it'd be Items[Equipment[7]] if memory serves me right. is there a way to update the parameters on the device?? I added successfully but it doesn't show the number of added on itemdescwindow Link to comment Share on other sites More sharing options...
0 Cheshire Posted August 17, 2021 Share Posted August 17, 2021 That's because you'd have to actually send the information to the client. It doesn't do that on its own when you change things server side. Link to comment Share on other sites More sharing options...
Question
nvh
How to add 100 point stats for item in slot 7???
"this_item_im_using" just a example because I don't know how to call the item in that slot
"Equipment[7]" is slot Weapon.
"== -1" is slot empty.
thank you!
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now