Skip to content

CheckDMXCollision

Anthony Headley edited this page Apr 19, 2020 · 1 revision

CheckDMXCollision(object: dmxMode, string: dmx address[, int: count [int, break index]]) : bool

Brief:

Need more information

Paramiters:

Name Description Optional
dmxMode : object Object desctibing the dmxMode to test against, Need information where to grab this info
address : string Dmx address, "u.a"?
count : int The number of fixture to check against, (assume 1 if nil?)
break : int Dmx Break count ✔ (if count)

Returns:

true : bool = No collision false : bool = Collision with current patch ...

Examples:

local dmxMode = -- TBD GET THE DMX MODE
local x = CheckDMXCollision(dmxMode, "10.1", 5)
if x then
    Echo("No Collision")
else
    Echo("Collision")
end
Clone this wiki locally