zCCodeMaster¶
Quick Infos
Type: Virtual Object
Format Name: ZenGin Archive
File Extension: .ZEN
Class Name: zCCodeMaster
Version Identifiers:
— Gothic I: 0
— Gothic II: 0
ZenKit Class: zCCodeMaster
Source:
— spacerhilfedatei.sph
— gothic-library.ru
zCCodeMaster
VObjects keep a list of 'slave' VObjects and keep track of events received by them. If the master
receives an OnTrigger
event from a slave, it remembers that it did. After it has receives an OnTrigger
message
from all slaves, it emits an OnTrigger
event to the triggerTarget
. Receiving or sending an
OnTrigger
event is also referred to as an 'activation' for this purpose.
- zCVob
- zCTriggerBase
- zCCodeMaster
- CodeMaster
- orderRelevant = FALSE
- OrderRelevant
- firstFalseIsFailure = TRUE
- triggerTargetFailure = ""
- OrderNotRelevant
- untriggerCancels = FALSE
- slaveVobName ... = ""
- CodeMaster
- zCVob
- zCTriggerBase
- zCCodeMaster
- CodeMaster
- orderRelevant = FALSE
- OrderRelevant
- firstFalseIsFailure = TRUE
- triggerTargetFailure = ""
- OrderNotRelevant
- untriggerCancels = FALSE
- slaveVobName ... = ""
- CodeMaster
- zCVob
- zCTriggerBase
- zCCodeMaster
- CodeMaster
- orderRelevant = FALSE
- OrderRelevant
- firstFalseIsFailure = TRUE
- triggerTargetFailure = ""
- OrderNotRelevant
- untriggerCancels = FALSE
- slaveVobName ... = ""
- CodeMaster
- zCVob
- zCTriggerBase
- zCCodeMaster
- CodeMaster
- orderRelevant = FALSE
- OrderRelevant
- firstFalseIsFailure = TRUE
- triggerTargetFailure = ""
- OrderNotRelevant
- untriggerCancels = FALSE
- slaveVobName ... = ""
- numSlavesTriggered = 0
- slaveTriggered ... = NULL
- CodeMaster
Properties¶
orderRelevant
¶
-
Controls whether the master should keep track of the order it receives messages from its slaves.
TRUE
— Only send anOnTrigger
event to thetriggerTarget
if the slaves have fired in the exact order they are configured here. Also counts multiple activations.FALSE
— Send anOnTrigger
event to thetriggerTarget
after all slaves have fired at least once, regardless of order.
firstFalseIsFailure
¶
-
Controls when the slave activation sequence is considered to be incorrect. After the sequence is marked as incorrect an
OnTrigger
event is sent totriggerTargetFailure
.TRUE
— The sequence is considered to be incorrect as soon as one slave is activated out-of-order.FALSE
— The sequence is considered to be incorrect only after all slaves have been activated at least once and they were activated out-of-order.
Warning
Only relevant if
orderRelevant
is set toTRUE
.
triggerTargetFailure
¶
-
The name of the VObject to emit an
OnTrigger
event to if the activation sequence fails. This is controlled byfirstFalseIsFailure
.Warning
Only relevant if
orderRelevant
is set toTRUE
.
untriggerCancels
¶
-
Controls whether slaves can emit
OnUntrigger
events to the master VObject to mark themselves as deactivated.TRUE
— When the master receives anOnUntrigger
event from the slave, it marks it as not having been activated.FALSE
— The master ignoreOnUntrigger
events from its slaves.
Warning
Only relevant if
orderRelevant
is set toFALSE
.
slaveVobName
¶
- The name of a slave VObject.
numSlavesTriggered
¶
-
Unknown.
Warning
This property is only available in saved games.