Hey,
every RL after a bit of tinkering has different speeds, effects that work after a while, and effects which only last a certain amount of time.
So a standard valkyrie object with 2 add methods :
timeline.add( actor , howmanytimeunitsfromnowwillitact? );
timeline.add( actor , whenwillthetimedeffectstartexpressedinunitsoftimefromnow? , whenwillthetimedeffectendexpressedintimeunitsfromthestartofthetimedeffect? )
The first method would add the actor to the timeline-slot, once the timeslot is reached it would call the 'doYourThing' method of the actor
The second method would also add the actor to the timeline-slot, also call 'doYourThing' but then once the actor should stop it would call 'stopYourThing'.
Ofcourse I leave the naming up to you ;)
then finally I would need a timeline.run or something to call from the main method ;)
He Who Sheds Light,
T.