We need a "Function call behavior"

Discussion and feedback on Construct 2

Post » Sun Jan 04, 2015 6:14 am

@R0J0hound Thanks again! This is exactly the info this thread needed. So calling functions, passing in UID as first param, then doing PickByUID is definitely the way to go. Beautiful.
B
13
S
4
Posts: 280
Reputation: 1,573

Post » Sun Jan 04, 2015 10:13 am

R0J0hound wrote:@locohost
According to the change log "pick by uid" works with a single look up since r127
The condition 'Pick by UID' has been reimplemented to work with a single lookup, rather than iterating every instance. This should make it faster, but it also is now the one condition that is the exception to the rule about picking newly created objects in subevents, i.e. you can call a function on a newly created object, passing its UID, and successfully pick the instance, which did not previously work.

https://www.scirra.com/construct2/releases/r127


Great to have confirmation! I should have been aware of this, since I'm using "Pick by UID" for newly created objects rather often. But apparently I didn't store the "single lookup" part in my brain. Thanks R0J0!
B
22
S
6
G
10
Posts: 1,034
Reputation: 7,514

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests