I saw that, but don't you mean that you could have a unit fire a weapon during its death throws, or immidiatly after being built, as a unit could already be told to do something after it fires a shot, or certain number of shots with a variable

.
by the way, does the bos/cob scripts have a random number generator?