You need to be waaaaay more specific.
From the top of my head you could do it like this:
Trigger:
- Randomnizzle
- Events
- Unit - A unit enters Region 001 <gen>
- Conditions
- Actions
- Set Integer_Random = (Random integer number between 1 and 10)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Integer_Random Equal to 1
- Then - Actions
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Integer_Random Equal to 2
- Then - Actions
- Else - Actions
Doing it this way is very ugly though and can possibly end in a HUGE trigger.
You could also do:
Trigger:
- Randomnizzle
- Events
- Unit - A unit enters Region 001 <gen>
- Conditions
- Actions
- Set Integer_Random = (Random integer number between 1 and 10)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Integer_Random Equal to 1
- Then - Actions
- Run Trigger_Random [1]
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Integer_Random Equal to 2
- Then - Actions
- Run Trigger_Random [2]
- Else - Actions
This way you create a trigger for each event you want, and run the trigger number in the Trigger_Random array corresponding to the outcome of Integer_Random.
It's neater and personally I can't find a better way to do it.
To extend a lil from the above post,
> Integer_Random Equal to 1
This means the randomness is fixed at 10%.
> Integer_Random Less than or Equal to 6
This means the randomness is 60%.
> Integer_Random Less than or Equal to 4
This means the randomness is 40%.