OK. As written, if the trigger event happens again during the 'delay' then the 'delay' will start again. There are ways round this if necessary by flagging that the 'delay' is happening and ignoring the trigger event until the 'delay' is finished.
OK. As written, if the trigger event happens again during the 'delay' then the 'delay' will start again. There are ways round this if necessary by flagging that the 'delay' is happening and ignoring the trigger event until the 'delay' is finished.