This is a dynamic trigger, code is extracted from new MMA 2.3:
if (_createtrigger) then
{
_trigger = createTrigger ["EmptyDetector", getPos _disp];
_trigger setTriggerActivation ["ANY", "PRESENT", false];
_trigger setTriggerArea [_maxrange, _maxrange, 0, false];
_trigger setTriggerType "NONE";
_trigger setTriggerStatements ["this", "", ""];
_trigger setTriggerTimeout [0, 0, 0, false ];
};