Skip to content

zCMessageFilter

Quick Infos

Class Name: zCMessageFilter
Version Identifiers:
β€” Gothic I: 0
β€” Gothic II: 0
Sources:
β€” spacerhilfedatei.sph
β€” zk.gothickit.dev

Transforms any incoming OnTrigger and OnUntrigger events before passing them on to the trigger target. All OnTrigger and OnUntrigger messages received by this zCMessageFilter VObject are transformed according to onTrigger and onUntrigger and then passed on to the VObject with the name specified in the triggerTarget.

Class members

Class member overview

onTrigger

The type of event to emit to the triggerTarget if this VObject receives an OnTrigger message.

Accepted values:

  • MT_NONE β€” Don't emit another event.
  • MT_TRIGGER β€” Emit an OnTrigger event.
  • MT_UNTRIGGER β€” Emit an OnUntrigger event.
  • MT_ENABLE β€” Emit an Enable event.
  • MT_DISABLE β€” Emit a Disable event.
  • MT_TOGGLE_ENABLED β€” Emit a ToggleEnabled event.

onUntrigger

The type of event to emit to the triggerTarget if this VObject receives an OnUntrigger message.

Accepted values:

  • MT_NONE β€” Don't emit another event.
  • MT_TRIGGER β€” Emit an OnTrigger event.
  • MT_UNTRIGGER β€” Emit an OnUntrigger event.
  • MT_ENABLE β€” Emit an Enable event.
  • MT_DISABLE β€” Emit a Disable event.
  • MT_TOGGLE_ENABLED β€” Emit a ToggleEnabled event.