XML:BINA/OBJC/TRIG: Difference between revisions

m
should be equal to DOOR and CONS
m (...)
m (should be equal to DOOR and CONS)
Line 87: Line 87:
::(example: when you set 360 (at offset 0x75) and 120 (at offset 0x77) then the laser gets disabled after 6 seconds for 2 seconds, then loops; note that the laser will be off all if you set 0x75 to 0 and 0x77 to a number bigger than 0)
::(example: when you set 360 (at offset 0x75) and 120 (at offset 0x77) then the laser gets disabled after 6 seconds for 2 seconds, then loops; note that the laser will be off all if you set 0x75 to 0 and 0x77 to a number bigger than 0)
* <Events>
* <Events>
:* <Script Function="''BSL_function''" /> : (calls ''BSL_function'' (continuously as long as causer stays in laser))
:*   <Script Function="calling_this_BSL_function" />  
:* <ActivateTurret TargetId="''ID''" /> : (activates a turret with id ''ID'' (integer decimal number))
:*    <ActivateTurret TargetId="Id" />
:: (You can have more than one and different event types - functions and turrets - at same time.)
:*    <DeactivateTurret TargetId="Id" />
:*    <ActivateConsole TargetId="Id" />
:*    <DeactivateConsole TargetId="Id" />
:*    <ActivateAlarm TargetId="Id" />
:*    <DeactivateAlaram TargetId="Id" />
:*    <ActivateTrigger TargetId="Id" />
:*    <DeactivateTrigger TargetId="Id" />
:*   <LockDoor TargetId="Id" />  
:*    <UnlockDoor TargetId="Id" />
:: (You can have more than one and different event types at same time.)
8,018

edits