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
87
S
22
G
16
Posts: 715
Reputation: 16,785

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
86
S
43
G
71
Posts: 601
Reputation: 43,619

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
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Sun Aug 10, 2014 6:24 pm

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

Post » Sun Aug 10, 2014 6:29 pm

ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Mon Aug 11, 2014 2:42 am

@blackhornet

I think that it is for runtime, not for edittime.
B
108
S
26
G
259
Posts: 4,433
Reputation: 145,689

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
87
S
22
G
16
Posts: 715
Reputation: 16,785


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests