Author Topic: VCE - Random Dice  (Read 2558 times)

I have a random dice event set for the spawning system in my new TDM...
Looks like this:

OnActivate --> Self --> VCE RetroCheck --> ifRandomDice --> 1 [2 2]
On variable true -- > NamedBrick [Spawn 1] --> SetPlayerTransform

OnActivate --> Self --> VCE RetroCheck --> ifRandomDice --> 2 [4 4]
On variable true -- > NamedBrick [Spawn 2] --> SetPlayerTransform

OnActivate --> Self --> VCE RetroCheck --> ifRandomDice --> 3 [6 6]
On variable true -- > NamedBrick [Spawn 3] --> SetPlayerTransform

OnActivate --> Self --> VCE RetroCheck --> ifRandomDice --> 4 [8 8]
On variable true -- > NamedBrick [Spawn 4] --> SetPlayerTransform

OnActivate --> Self --> VCE RetroCheck --> ifRandomDice --> 5 [10 10]
On variable true -- > NamedBrick [Spawn 5] --> SetPlayerTransform

OnActivate --> Self --> VCE RetroCheck --> ifRandomDice --> 6 [12 12]
On variable true -- > NamedBrick [Spawn 6] --> SetPlayerTransform

It worked flawlessly for a few minutes...
Now it takes about 50 clicks until you spawn.
Anyone know why?

Try this

I would do something along the lines of....
OnActivate>Self>VCEmodVariable> [random] [==]

OnActivate>Self>VCEmodVariable> [random] [randomNumber] [5]
OnActivate>Self>VCEifVariable> [random] [==]
  • [3 3]

OnVariableTrue>Player>Additem>Whatever
OnActivate>Self>VCEifVariable> [random] [==] [1] [5 5]
OnVariableTrue>Player>Additem>Whatever
OnActivate>Self>VCEifVariable> [random] [==] [2] [7 7]
OnVariableTrue>Player>Additem>Whatever
OnActivate>Self>VCEifVariable> [random] [==] [3] [9 9]
OnVariableTrue>Player>Additem>Whatever
OnActivate>Self>VCEifVariable> [random] [==] [4][11 11]
OnVariableTrue>Player>Additem>Whatever
OnActivate>Self>VCEifVariable> [random] [==] [5] [13 13]
OnVariableTrue>Player>Additem>Whatever