Přeskočit obsah

zCTriggerList

Quick Infos

Class Name: zCTriggerList
Version Identifiers:
— Gothic I: 59776
— Gothic II: 5505
Sources:
spacerhilfedatei.sph
gothic-library.ru
zk.gothickit.dev

A special trigger which emits the OnTrigger events emitted by the zCTrigger to multiple targets. How the events are sent can be configured through listProcess. The triggerTarget and fireDelaySec properties of zCTrigger should be ignored.

OnUntrigger events sent to the trigger list are propagated to all targets in the list.

Class members

Class member overview

listProcess

Controls how events are sent to the targets.

Accepted values:

  • LP_ALL — Every target in the trigger list is sent the OnTrigger event sequentially. The fireDelay of each target is taken into account so that target n is fired after sum(fireDelay0, ..., fireDelayN-1) seconds.
  • LP_NEXT_ONE — The event is sent to the next target in the list.
  • LP_RAND_ONE — The event is sent to a random target in the list.

triggerTarget

The name of the VObject to send events to. Behaves like triggerTarget.

fireDelay

The delay after which to fire the event to the target. Behaves like fireDelaySec.

actTarget

Unknown.

Warning

This property is only available in saved games.

sendOnTrigger

Unknown.

Warning

This property is only available in saved games.