How would I go about making a trigger that spawns units randomly.
Example
Event: every random# between 1 and 10 seconds (this part is easy)
Action
Spawn a random unit with cost that is equal to the # chosen
so for example lets say the # was 4 because it triggered at 4 seconds, it would spawn unit that I made cost 4gold
(there will be multiple units that cost the same amount also)
Hopefully I am explaining it clearly
basically every 1 to 10 seconds I want an event to happen and however many seconds the trigger decided to go off, it would take that duration lets say 5 seconds, it would then spawn a random unit that I deemed worth 5 points
Example
Event: every random# between 1 and 10 seconds (this part is easy)
Action
Spawn a random unit with cost that is equal to the # chosen
so for example lets say the # was 4 because it triggered at 4 seconds, it would spawn unit that I made cost 4gold
(there will be multiple units that cost the same amount also)
Hopefully I am explaining it clearly
basically every 1 to 10 seconds I want an event to happen and however many seconds the trigger decided to go off, it would take that duration lets say 5 seconds, it would then spawn a random unit that I deemed worth 5 points