Difference between revisions of "Count Down Object"
From Unofficial QEdit Wiki Guide
(Created page with "==Object== Use this to set a countdown timer on a switch ==Parameters== ==== Generic Arguments ==== * '''Skin''' - Value = 37, Count Down Object. Defines this invisible obje...") |
(→Parameters) |
||
(2 intermediate revisions by 2 users not shown) | |||
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. | ||
− | * ''' | + | * '''Multi-switch''' - Boolean. If set, the object operates in a mode where one switch initiates the countdown and up to three switches are unlocked when the countdown expires. Hidden by default or displayed as '''Unknown''' if not in itemsname.ini. |
− | * '''Frames''' - This determines how many frames the object waits until it | + | * '''Sound Effect''' - If 1, a sound effect will play every 30 frames for the countdown. Displayed as '''Rotation Y''' by default. |
− | + | * '''Frames''' - This determines how many frames the object waits until it performs its action. Hidden by default or displayed as '''Unknown''' if not in itemsname.ini. | |
− | + | ||
− | + | ==== 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. |
Latest revision as of 05:32, 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 up to three switches are unlocked when the countdown expires. Hidden by default or displayed as Unknown if not in itemsname.ini.
- Sound Effect - If 1, a sound effect will play every 30 frames for the countdown. Displayed as Rotation Y by default.
- Frames - This determines how many frames the object waits until it performs its action. Hidden by default or displayed as Unknown if not in itemsname.ini.
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.