TheWindmiller's Forum Posts

  • Can I, for example have a tile map with black tiles and blue tiles, can I detect all my placed black tiles (same Tile ID) and place a specific object on all of them, and place another such on all blue tiles.

    Thanks in advance, and sorry if its been discussed I just can't find this specific scenario wich eludes me so far.

    Cheers!

    P.S. Place an object on Load Layout for example, by placin something on the X, Y coordinates of each and every tile of the picked sort (for example, black)

  • Hey, thanks a million!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey Thanks....erm, how do I go about doing that?

  • Hey there, new here. actually I've been playing around with construct 2 for something like 2 weeks now but I'm hooked big time.

    I have this issue, you see, I want to call a function that picks a random tile object that I have and sends another object (via Pathfinder) to its X, Y. Nothing revolutionary. You see, I want to make the Function keep in mind the context of the instance of the object I want to find a path for (instance of object Pather), but it ignores the Picked Instance Condition (that calls the Function) and juts sends all of the instances of said object down the path. It looks something of the sort:

    On Call Function (Wander): Pather: Find path to Tile.X, Tile.Y

    Pick Random instance of Tile: Pather: Move along Path

    and then I call the function with

    Pick Instance by Evaluate *something*: Function (Wander)

    but it doesn't pick the instance of the evaluate condition, but instead does the function for all instances of the object (Pather)... A bit of redundancy in my describtion, I apologize but I really want to get the message across. Thanks!