1. E-Unit is selected
C-Unit equal to (insert unit type here)
A- Play sound.
If you wanted more sounds then set a variable, Lets say SOUND, also set it as an array at map initialization.
E-Map Initialization
C-
A-Set Variable-- Set (name of sound) to SOUND[integer]
(Do this as many times as you want, As long as you have enough sounds)
Then you set the previous trigger
E-Unit is selected
C-Unit equal to (insert unit type here)
A-Set variable-- Set (name of variable) to (random integer from [first interger - you last integer])
IF, THEN, ELSE-- If SOUND equals [interger], then play this sound.
(copy this as many times as you want, as long as you have enoguh sounds)
tell me if this is confusin
C-Unit equal to (insert unit type here)
A- Play sound.
If you wanted more sounds then set a variable, Lets say SOUND, also set it as an array at map initialization.
E-Map Initialization
C-
A-Set Variable-- Set (name of sound) to SOUND[integer]
(Do this as many times as you want, As long as you have enough sounds)
Then you set the previous trigger
E-Unit is selected
C-Unit equal to (insert unit type here)
A-Set variable-- Set (name of variable) to (random integer from [first interger - you last integer])
IF, THEN, ELSE-- If SOUND equals [interger], then play this sound.
(copy this as many times as you want, as long as you have enoguh sounds)
tell me if this is confusin