Hi,
Is it possible to use custom function activation within conditions?
Idea is simple; just want to play a sound when my arrangement of triggers are satisfied. I don't find any resources what custom check is, or how it is used.
If your interested in how I go about this:
function(trigger)
mhWindfury = trigger[1]
ohWindfury = trigger[2]
mhFlametongue9 = trigger[3]
ohFlametongue10 = trigger[4]
if mhWindfury and ohWindfury then
return true
end
if mhWindfury and mhFlametongue10 then
return true
end
if mhFlametongue9 and ohFlametongue10 then
return true
end
return false
end