Page 1 of 1

How do I: "Find Path to" Instanced Sprite with variable

PostPosted: Sun Jun 07, 2015 3:35 pm
by AdiJager
I have several instances and every one have different numerical variable.
I want to use pathfinding to move "playersprite" to instance with number, that i choose. How to do this?

Re: How do I: "Find Path to" Instanced Sprite with variable

PostPosted: Sun Jun 07, 2015 8:09 pm
by briggybros
Image

Re: How do I: "Find Path to" Instanced Sprite with variable

PostPosted: Sat Jun 13, 2015 8:08 am
by AdiJager
Can't use "condition" for this - i need something like this:

object | is arrrived --- Find Path to (object. X, Object.Y) with var = 0

Re: How do I: "Find Path to" Instanced Sprite with variable

PostPosted: Sat Jun 13, 2015 9:45 am
by LittleStain
You mean something like this?

player on pathfinding arrived
system pick object where variable = 0
> player find path to object.x,object.y