playMaker

Author Topic: [SOLVED]moving along a path node by node  (Read 2374 times)

ivam

  • Playmaker Newbie
  • *
  • Posts: 34
[SOLVED]moving along a path node by node
« on: July 04, 2015, 10:10:25 AM »
hello,

iam doing a brief work on a boardgame in digital form and would require the character to obviously move along a fixed path over "tiles" i solved this by creating a mvoe to path, the question is how can i, say, only move the character a certain amount of nodes along the path?

or preferable does anyone else have a smart idea as to how to solve the issues of moving the character via tiles for a set amount of tiles pre defined by a dice roll between 1 and 6 ?

thank you
« Last Edit: July 04, 2015, 03:20:58 PM by ivam »

ivam

  • Playmaker Newbie
  • *
  • Posts: 34
Re: moving along a path node by node
« Reply #1 on: July 04, 2015, 03:19:52 PM »
solved it by using arraymaker, i added the nodes into the list, then cycled through an event chain getting the next list object , moving the player and adding variable counts to check how many tiles were moved in relation to the dice roll, this if i roll the dice now, the player will move node by node untill he reached the amount of nodes passed given by the dice.