Skip to content

zCMoverControler

Quick Infos

Type: Virtual Object
Format Name: ZenGin Archive
File Extension: .ZEN
Class Name: zCMoverControler
Version Identifiers:
— Gothic I: 0
— Gothic II: 0
ZenKit Class: VMoverController
Sources:
spacerhilfedatei.sph
gothic-library.ru

A VObject used to control zCMover objects of type NSTATE_SINGLE_KEYS specifically. zCMoverControler objects react to incoming OnTrigger events to send a pre-configured event to the target mover object named by the triggerTarget propery, controlling its animation. Mover controllers can make movers go to a specific keyframe in their animation or just step one keyframe back and forth at a time.

Properties

moverMessage

The type of event to emit to the triggerTarget when this controller receives an OnTrigger event.

  • GOTO_KEY_FIXED_DIRECTLY — Make the target mover directly go to the keyframe specified in gotoFixedKey, skipping all intermediate keyframes.
  • GOTO_KEY_FIXED_ORDER — Make the target mover go to the keyframe specified in in gotoFixedKey while still going through all intermediate keyframes.
  • GOTO_KEY_NEXT — Make the target mover go to the next keyframe in sequence. Wraps around to the first keyframe.
  • GOTO_KEY_PREV — Make the target mover go to the previous keyframe in sequence. Wraps around to the last keyframe.

gotoFixedKey

The keyframe of the mover referred to by triggerTarget to move to.

Warning

Only relevant if moverMessage is GOTO_KEY_FIXED_DIRECTLY or GOTO_KEY_FIXED_ORDER.