Call function after delay

New releases and general discussions.

Post » Sun Sep 13, 2009 12:36 pm

Can we add "remember, or forget" to the function objects expression "call function after delay"?
Im using a timed function on a family and I need it to remember what was picked.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Sun Sep 13, 2009 1:07 pm

no. u cant. have to use variable.
B
2
S
2
G
4
Posts: 259
Reputation: 1,968

Post » Sun Sep 13, 2009 7:20 pm

I already know I cant, hence the posting in [u:24lv6s7u]Feature Requests[/u:24lv6s7u]. :P
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Sun Sep 13, 2009 7:23 pm

What about the timer behavior, which is designed to remember selected objects?

(You can add a behavior to all members of a family then use it as a family behavior.)
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sun Sep 13, 2009 7:59 pm

That's probably what I'll do for now, or add condition to compare a pv, but it just seems like it should be there with the other calls.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Sun Sep 13, 2009 8:03 pm

It originally wasn't done because it raises problems such as objects being destroyed (and then if all the objects got destroyed should the function still be triggered?).
Scirra Founder
B
357
S
214
G
72
Posts: 22,946
Reputation: 178,228

Post » Sun Sep 13, 2009 8:20 pm

Ok, well in that case timer or a pv are a reasonable solution.
Thanks
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Mon Sep 14, 2009 1:45 am

at newt

sorry if that confused you. i saw something similar to what ashley posted in another thread, but since the search thingy isnt optimal... the timer thing wasnt mentioned back then tho
B
2
S
2
G
4
Posts: 259
Reputation: 1,968


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest