HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: (Solved) Path follower that stops and resumes  (Read 910 times)

Prometheus2012

  • General Accounts
  • *
  • Posts: 660
    • View Profile
    • Exile-Online
(Solved) Path follower that stops and resumes
« on: Mar 05, 15, 05:24:59 AM »

Ive been playing around with the path follower and waypoints. Im trying to make a follower that stops at some point along its path for a few seconds and then resumes following the path.

This would be for something like a subway train that stops at a platform for 5 or so seconds and then resumes. Ive been trying it with the speed setting but cant quite seem to get it working how i want it.
« Last Edit: Mar 08, 15, 10:28:01 PM by Prometheus2012 »
Logged

FI-ScottZ

  • General Accounts
  • *
  • Posts: 1407
    • View Profile
    • Forever Interactive, Inc.
Re: Path follower that stops and resumes
« Reply #1 on: Mar 05, 15, 11:34:39 AM »

What if you use the Pause field of the follower, then unpause it after a timer fires?
Logged
Scott Zarnke
Lead Programmer, Visions of Zosimos
CTO, Forever Interactive, Inc.

Prometheus2012

  • General Accounts
  • *
  • Posts: 660
    • View Profile
    • Exile-Online
Re: Path follower that stops and resumes
« Reply #2 on: Mar 06, 15, 09:22:49 AM »

got it almost right just using the speed setting.

[0:0.1:L][0.345:0.06615:L][0.4:0.0017:L][0.405:0.000150001:L][0.41:0.0017:L][0.445:0.06355:L][1:0.1:L]L;0.9

Stops it at the platform and a couple seconds later it creeps of and then gets up to full speed :)

Prometheus2012

  • General Accounts
  • *
  • Posts: 660
    • View Profile
    • Exile-Online
Re: (Solved) Path follower that stops and resumes
« Reply #3 on: Mar 08, 15, 10:28:36 PM »

The speed setting on path follower can be used to great effect.