Has anyone been able to get a custom dialog inventory fully functional? The only way I can think of doing it is by still using some of the functionality of the built-in inventory system but you would pretty much have to code every item into variables with the actual item/button/icon/etc I already have 100 items created just in data editor not looking forward to putting them all in triggers also
I'm in the process of doing something like this. I think you're correct, I'm using record arrays to store all the items, and then using the unit type of unit function on item carried by triggering unit in slot x function, and comparing it to whatever is in the record. I might post a crude example.
let me know if you figure anything out, i have a pretty good idea of how to do it, right now im trying to figure out if i want to have my own variables to tell me where stuff is located and/or empty slots or if i can just mirror the hidden built in inventory
anyone have any idea if there is any equivalent to "onmousedown" when you click a dialog button it doesnt register until the mouse button is released. I'm trying to get a drag function to move items but i cant figure out how to register the click
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Has anyone been able to get a custom dialog inventory fully functional? The only way I can think of doing it is by still using some of the functionality of the built-in inventory system but you would pretty much have to code every item into variables with the actual item/button/icon/etc I already have 100 items created just in data editor not looking forward to putting them all in triggers also
Is there a reason you can't / don't want to use the regular inventory system? It's pretty functional.
@viridiansky: Go
its functional but really limited. you cant even move it
I'm in the process of doing something like this. I think you're correct, I'm using record arrays to store all the items, and then using the unit type of unit function on item carried by triggering unit in slot x function, and comparing it to whatever is in the record. I might post a crude example.
@Metatr0n: Go
let me know if you figure anything out, i have a pretty good idea of how to do it, right now im trying to figure out if i want to have my own variables to tell me where stuff is located and/or empty slots or if i can just mirror the hidden built in inventory
anyone have any idea if there is any equivalent to "onmousedown" when you click a dialog button it doesnt register until the mouse button is released. I'm trying to get a drag function to move items but i cant figure out how to register the click