How do I create object from object that was destroyed

Get help using Construct 2

Post » Thu Dec 03, 2015 1:43 pm

@Kribzy
I have tried to do what you say, but it didn't work.

@LittleStain
i'm working with IID to set text from array. how do i set text from array index without using IID? :)


thanks :)
B
9
S
2
G
1
Posts: 28
Reputation: 671

Post » Thu Dec 03, 2015 1:46 pm

Maybe you are looking for Something like this..

[Edit] New version Ajax to Array fixed. In original version Tmp was not fully transfered to ArrayID and ArrayName [/edit]
Last edited by LittleStain on Thu Dec 03, 2015 2:09 pm, edited 1 time in total.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Dec 03, 2015 1:50 pm

fahmijufri wrote:@Kribzy
I have tried to do what you say, but it didn't work.

@LittleStain
i'm working with IID to set text from array. how do i set text from array index without using IID? :)


thanks :)


Like I said IID changes..
It's a much better idea to use instance variables or UID, for variables only change if you tell them to and UID stays the same for an object during his lifetime..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Dec 04, 2015 12:27 am

LittleStain wrote:Maybe you are looking for Something like this..

[Edit] New version Ajax to Array fixed. In original version Tmp was not fully transfered to ArrayID and ArrayName [/edit]


thank you for your help, in the file that you provide, when the size of my array 5. and when the size becomes < 4, green object is not destroyed and text becomes 0.
and its order changed, not like before.

Can events like the picture below is performed only once? because if done repeatedly, then the order will be changed.

Image
B
9
S
2
G
1
Posts: 28
Reputation: 671

Post » Fri Dec 04, 2015 6:01 am

I just tried something.capx
I'm not even sure... I understood how it should look like... :?
Image
B
63
S
23
G
7
Posts: 1,475
Reputation: 10,776

Post » Fri Dec 04, 2015 9:42 pm

Me too :(
B
18
S
2
Posts: 23
Reputation: 957

Post » Sun Dec 06, 2015 3:28 am

sorry for not replying in few days,
now it's work thank you @korbaach and thank you for everyone else who has helped me
:)
B
9
S
2
G
1
Posts: 28
Reputation: 671

Previous

Return to How do I....?

Who is online

Users browsing this forum: conker23, Davlin, eryson27, SoldjahBoy and 4 guests