Laser Detect

From Unofficial QEdit Wiki Guide
Revision as of 21:12, 30 September 2022 by Ender (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Parameters

Generic Arguments

  • Skin - Value = 528
  • Position X - X coordinate of Warp in reference to the center of the room.
  • Position Y - Y coordinate of Warp in reference to the center of the room.
  • Position Z - Z coordinate of Warp in reference to the center of the room.
  • Rotation Y - Rotation on the Y-Axis (Rotation Values)

Unique Arguments

  • (1) - Unused.
  • (2) - Unused.
  • (3) Model - Set to 0 for a small laser and >= 1 for a large laser.
  • (4) Switch ID - Switch ID of the laser. When the switch is locked, the laser is rotating. When the switch is unlocked, the laser stops rotating.
  • (5) Arc - Two separate fields of two bytes each. The upper two bytes are the full range of rotation and the lower two bytes are the integer angle of rotation each frame.
  • (6) Delay - The pause in seconds after the laser completes a cycle. If any bits are set in the upper two bytes, the saw will continually perform a full rotation regardless of the range specified by Arc. Setting to -1 will also achieve this effect.