Trigger: Delays half a second then changes a variable

Posted by Wuggly on Mon 18 Jan 2016 02:07 PM — 2 posts, 12,950 views.

USA #0
Hi again,
I'm trying to set up a trigger that changes a variable after half a second.

I see with DoAfter I can send a world command, but is there any way to use DoAfter to change a variable?

http://www.gammon.com.au/scripts/doc.php?function=DoAfter
USA #1
Sorry about this noob question. I found what I needed.

DoAfterSpecial (5, 'EnableTriggerGroup ("mygroup", 1)', sendto.script)