Difference between revisions of "Count Down Object"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Generic Arguments)
Line 1: Line 1:
 
==Object==
 
==Object==
Use this to set a countdown timer on a switch
+
Use this to set a countdown timer on a switch, or a countdown on other switches.
  
 
==Parameters==
 
==Parameters==
Line 15: Line 15:
 
* '''Position Y''' - Y coordinate count down object in reference to the center of the room.
 
* '''Position Y''' - Y coordinate count down object in reference to the center of the room.
 
* '''Position Z''' - Z coordinate count down object in reference to the center of the room.
 
* '''Position Z''' - Z coordinate count down object in reference to the center of the room.
* '''Rotation Y''' - This determines whether count down the sound effect plays or not, needs to point south +1. (So 1,16385,32769, or 49153) ([[Rotation Values]])
+
* '''Multi-switch''' - Boolean. If set, the object operates in a mode where one switch initiates the countdown and three switches are unlocked when the countdown expires. Hidden by default.
 +
* '''Sound Effect''' - This determines whether count down the sound effect plays or not, needs to point south +1. (So 1,16385,32769, or 49153) ([[Rotation Values]])
 +
* '''Frames''' - This determines how many frames the object waits until it performs its action. Hidden by default.
 +
 
 
==== Unique Arguments ====
 
==== Unique Arguments ====
* '''Frames''' - This determines how many frames the object waits until it relocks.
+
* '''1''' - Unused.
*** '''1''' - Set to 1, does not need to be changed.
+
* '''2''' - Unused.
*** '''2''' - Set to 1, does not need to be changed.
+
* '''3''' - Unused.
*** '''3''' - Set to 1, does not need to be changed.
+
* '''Switch ID''' - The switch that initiates the countdown is in the lower 2 bytes of this field. If the object is in not in multi-switch mode, this switch is relocked after the countdown. If the object is in multi-switch mode, the upper 2 bytes contains one of the three switches to unlock when the countdown expires.
*** '''Switch ID''' - This is the ID of the lock/switch used to open/relock the door or fence you are using.
+
* '''Multi-switch ID 2''' - If the object is in multi-switch mode, the upper 2 bytes contains a switch to unlock when the countdown expires.
*** '''5''' - Set to 0, does not need to be changed.
+
* '''Multi-switch ID 3''' - If the object is in multi-switch mode, the upper 2 bytes contains a switch to unlock when the countdown expires.
*** '''6''' - Set to 0, does not need to be changed.
+

Revision as of 05:00, 29 September 2022

Object

Use this to set a countdown timer on a switch, or a countdown on other switches.

Parameters

Generic Arguments

  • Skin - Value = 37, Count Down Object. Defines this invisible object as a Count Down Object, do not change.
  • Unknown
  • Unknown
  • ID - Identifying ID for the object, not necessary to change.
  • Appear Flag - ID group for hide/unhide.
    • All objects with a non 0 value are hidden, when an unhide operation with the provided parameter this object will appear (in addition to all other objects with the same value).
  • Map Section - Room ID the object is in
  • Unknown
  • Position X - X coordinate of count down object in reference to the center of the room.
  • Position Y - Y coordinate count down object in reference to the center of the room.
  • Position Z - Z coordinate count down object in reference to the center of the room.
  • Multi-switch - Boolean. If set, the object operates in a mode where one switch initiates the countdown and three switches are unlocked when the countdown expires. Hidden by default.
  • Sound Effect - This determines whether count down the sound effect plays or not, needs to point south +1. (So 1,16385,32769, or 49153) (Rotation Values)
  • Frames - This determines how many frames the object waits until it performs its action. Hidden by default.

Unique Arguments

  • 1 - Unused.
  • 2 - Unused.
  • 3 - Unused.
  • Switch ID - The switch that initiates the countdown is in the lower 2 bytes of this field. If the object is in not in multi-switch mode, this switch is relocked after the countdown. If the object is in multi-switch mode, the upper 2 bytes contains one of the three switches to unlock when the countdown expires.
  • Multi-switch ID 2 - If the object is in multi-switch mode, the upper 2 bytes contains a switch to unlock when the countdown expires.
  • Multi-switch ID 3 - If the object is in multi-switch mode, the upper 2 bytes contains a switch to unlock when the countdown expires.