![]() |
Array of Gui Buttons.
Hi, I am currently trying to make a GUI based inventory system, and for some reason using a loop will not work.
i is the column count I could say, after 8 it should become 0 and j which is the row number should be added to 1. Anyone have any ideas? PHP Code:
|
this.j isn't accessible to the child in the parent object, change your variables to temp ones and you'll be able to access them.
PHP Code:
|
I believe thiso.j should work and/or container.j should work as well
|
Thanks for the help on that question , but now kinda another problem and it seems so easy but I cant figure it out. :cry:
the name of my gui controls are "Ron_TD_EnemyImage_ 0-14" and I created them all at the same time using a loop, I also need to move them all at the same time using a loop but the problem is I've tried like PHP Code:
Anyone got any ideas? Please and thank u! |
Take your pick:
PHP Code:
PHP Code:
|
It's generally preferred not to use makevar.
|
All times are GMT +2. The time now is 09:07 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.