GradualMover
Allows a specific tag and time to be set for each sequence in the mover's keyframe.
Adds three new states: GradualTriggerOpenTimed, GradualTriggerPound, GradualTriggerToggle.
(can the original Mover states be used with this class?)
Properties
- OpenTimes[6]
- OpenTimes[n] is the time taken to open to keyframe n+1. Eg, The mover opens to keyframe 1 in OpenTimes[0] seconds.
- CloseTimes[6]
- CloseTimes[n] is the time taken to close to keyframe n. Eg, The mover closes back to keyframe 0 in OpenTimes[0] seconds.
- Tags [6]
- Tags[n] is the event the GradualMover listens for when at keyframe n.
- Events [6]
- Event[n] is the triggering string for all actors with a matching tag when at keyframe n.
Discussion
Xian: I must be missing something... I see a lot of references here such as Tags[KeyNum] or Events[KeyNum]. There are 8 keyframes and 6 gradual Tags/Events. Won't this lead to an array out of bounds error ?