purerange86
2014-09-20 23:08:06
Was wondering if there's a way to do this. Right now I have an array of integer that I'm using to click some slots in the inventory using a modification of the itemcoords() function.
I want to reassign the slot numbers so that I can click the slots in a different order. I could just do
etc, but I was wondering if there was perhaps a better way to do this, perhaps with another array?
Thanks!
var
slot[1..28] of integer;
I want to reassign the slot numbers so that I can click the slots in a different order. I could just do
slot[1] := 5
slot[2] := 6
slot[3] := 19
slot[4] := some other random specified number
etc, but I was wondering if there was perhaps a better way to do this, perhaps with another array?
Thanks!