Author Topic: Tweens concat  (Read 9369 times)

pcutile

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 81
    • View Profile
Tweens concat
« on: October 31, 2016, 06:04:32 AM »
from documentation:

You can have tweens trigger each other in a daisy chain by having one tween's OnFinished notification trigger another tween's Play() function.

I make this with a tweenposition that when end must be activate (and play) another trigger with tween alpha and when this finished active another trigger position.

BUt i have this--

Could not find method 'Play' on TweenAlpha.  <------------------ ERROR IN EDITOR LOG

First of all fr play a must set all tween on, so every tween begin at the same time.

tweenposition--->>tweenalpha---->tweenposition

this is what i want, and they seems works (if i make it all enabled frm begin), but in editor it show the above error, and each tween begin at init and so it's played always. why can't activate tween when on fnished the previos?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Tweens concat
« Reply #1 on: November 03, 2016, 08:05:51 AM »
The Play function expects a parameter. Use PlayForward or PlayReverse instead.

pcutile

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 81
    • View Profile
Re: Tweens concat
« Reply #2 on: November 30, 2016, 05:23:56 AM »
Thanks Aren Mook, consider hovewer that is not clear via documentation.