02-19-2012, 03:18 PM
For example:
Now the item's macro keeps checking will change, as he goes from item 1 to item 2 item 3 and so on. Is it somehow posible to make a variable containing the name of the bmp, in this case 5 ITEM.bmp. And put that instead of the actual name so it's like this:
where CurentItem.txt contains the name of the bmp: 5 ITEM.bmp, than variable "item" takes it. In the next loop it will contain 6 ITEM.bmp for example ect.
This would be extremly usefull as i wouldnt have to rewrite the entire macro and functions for every diferent item he needs to check. This way code stays the same and when the loop starts he will just change the name of the item bmp in CurentItem.txt and use it trought the macro..
I hope managed to describe where im going wiith this. If i need to explain more please let me know.
Thank you for your help.
Update: I managed to do similar thing using image macros bmp's and to change the contents of the "item" using the code
Now the item's macro keeps checking will change, as he goes from item 1 to item 2 item 3 and so on. Is it somehow posible to make a variable containing the name of the bmp, in this case 5 ITEM.bmp. And put that instead of the actual name so it's like this:
where CurentItem.txt contains the name of the bmp: 5 ITEM.bmp, than variable "item" takes it. In the next loop it will contain 6 ITEM.bmp for example ect.
This would be extremly usefull as i wouldnt have to rewrite the entire macro and functions for every diferent item he needs to check. This way code stays the same and when the loop starts he will just change the name of the item bmp in CurentItem.txt and use it trought the macro..
I hope managed to describe where im going wiith this. If i need to explain more please let me know.
Thank you for your help.
Update: I managed to do similar thing using image macros bmp's and to change the contents of the "item" using the code