How do I get the x or y position of UID, IID

Get help using Construct 2

Post » Sun Apr 13, 2014 11:30 am

Hello,

I would like to have the syntax formula to get the x and y position of a single instance (among several ones) of an object using UID or IID.

So for instance every tick->find path to (object instance 1, or object uid 4)
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Sun Apr 13, 2014 1:40 pm

Pick By Comparison:
Object: Your Object
Expression: Object.UID
Comparison: Equal to
Value: your UID you want to pick.

and then in the action set position x,y to Object.X and Object.Y
B
22
S
7
G
4
Posts: 154
Reputation: 3,709


Return to How do I....?

Who is online

Users browsing this forum: MassimoF and 21 guests