View Single Post
Old 04-30-06, 04:31 AM   #2
OKO
Commander
 
Join Date: Jan 2002
Location: Solar system, mainly on earth
Posts: 476
Downloads: 62
Uploads: 0
Default

1)

create 3 triggers=>
- trgtime1 starting at 12:20
- trgtime2 starting at 12:30
- trgtime3 starting at 12:40

now create dynamic group and put =>

- trgtime1 in group named "time1" prob 33%
- trgtime2 in group named "time2" prob 33%
- trgtime3 in group named"time3" prob 33%


create a dynamic group named rdmtime
min/max @ 1, prob 100%

include : time1 + time2 + time3

you have now a random choice of time trigger at mission start


2) create an aggregate trigger named timetrg
min : 1
dependant triggers : trgtime1, tgrtime2, trgtime3


3)
create 3 triggers=>
- trgevent1 with N+R if completedtrigger timetrg
- trgevent2 with N+B if completedtrigger timetrg
- trgevent3 with pirate attack if completedtrigger timetrg

now create dynamic group and put =>

- trgevent1 in group named grpevent1 prob 33%
- trgevent2 in group named grpevent2 prob 33%
- trgevent3 in group named grpevent3 prob 33%

create a dynamic group named rdmevent
min/max @ 1, prob 100%

[EDIT]
include in the rdmevent group => trgevent1, trgevent2, trgevent3

sorry I forgot that ...
[/EDIT]

So, now you have 1 out of 3 timers selected, and when it will be triggered, you will have 1 out of 3 event selected

you MUST encapsulate EACH trigger on his own dynamic group (example "time1" for the trgtime1) if you want to choose 1 of many triggers.
In other case, if you just put all triggers in the same group, they will all exist, even if you choose min/max 1 in the dynamic group where you put them together.
So you just have to put each triggers into a specific dynamic group, with a specific group probability, to avoid this problem.

With this example, you don't need area circle, this is only calculation.
OKO is offline   Reply With Quote