grab instance uid at edit time?

For developers using the Construct 2 Javascript SDK

Post » Sun Aug 10, 2014 5:47 pm

How can I grab the uid during edit time to save it to a variable?

IE: var id = uid
www.h1k3.tech

We are here for you!
B
92
S
24
G
16
Posts: 716
Reputation: 17,082

Post » Sun Aug 10, 2014 5:56 pm

during edit time? like in c2?
click it, it tells it's UID in the properties bar.
B
88
S
43
G
71
Posts: 601
Reputation: 43,669

Post » Sun Aug 10, 2014 5:58 pm

@spacedoubt

I appreciate that answer but I'm referring to the edittime file for plugins. The programming behind the construct 2 software that you use.
www.h1k3.tech

We are here for you!
B
92
S
24
G
16
Posts: 716
Reputation: 17,082

Post » Sun Aug 10, 2014 6:24 pm

oh, my mistake!
That I do not know...
B
88
S
43
G
71
Posts: 601
Reputation: 43,669

Post » Sun Aug 10, 2014 6:29 pm

ImageImageImage
B
71
S
22
G
267
Posts: 3,806
Reputation: 147,743

Post » Mon Aug 11, 2014 2:42 am

@blackhornet

I think that it is for runtime, not for edittime.
B
110
S
28
G
293
Posts: 4,530
Reputation: 163,158

Post » Mon Aug 11, 2014 11:01 am

It is for runtime. I gave up trying to grab it at edit time. I found a different way to work out what I was trying to do. Thanks for all the help though everyone. :)
www.h1k3.tech

We are here for you!
B
92
S
24
G
16
Posts: 716
Reputation: 17,082


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests