Simple-ish question

ougitou1

Invisible Black
Veteran
Joined
Dec 9, 2015
Messages
109
Reaction score
10
First Language
en-
Primarily Uses
N/A
Hello all i have a question that despite the topic may of may not be as simple as i original thought. anyway the question is as follows

how do i get the index of a window's elements?

 the reason i need this is because id like to use the index as flags for triggering windows to hide or show.

i really need help with this. 
 

Jeremy Cannady

Coldfire
Veteran
Joined
Oct 25, 2015
Messages
449
Reaction score
262
First Language
English
Depends on where you want the index data. 

If you want the index inside of the window code then call this.index();

If you want the window index during a scene code then call this.wateverWindow._index;
 

ougitou1

Invisible Black
Veteran
Joined
Dec 9, 2015
Messages
109
Reaction score
10
First Language
en-
Primarily Uses
N/A
thanks coldfire i'll try it now.
 

ougitou1

Invisible Black
Veteran
Joined
Dec 9, 2015
Messages
109
Reaction score
10
First Language
en-
Primarily Uses
N/A
it works thnks a bunch. 
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Been parallax mapping nigh all night. :D
2nd character based on the same random inputs
the coffee shop i go to for open mic every friday only has 2 more open mics left and then they're done :'( i'm gonna die!
Everytime someone says Intel "kabylake" I hear either baby lake or ladycake.
Either I just had one of those dreams where you think you're awake, or I have time traveled. I woke up at 6:58am this morning, heard my father leaving for work, laid back down, now its 1:16am.

Forum statistics

Threads
93,383
Messages
911,875
Members
122,886
Latest member
unisity
Top