like in dota, for ex: every 120scd, randomly spawn rune type in random specific region.
pls check my trigger...
says, i have 4 region... 5 different rune
i set RegionPoint[0]=region000
set RegionPoint[1]=region001
set RegionPoint[2]=region002
set RegionPoint[3]=region003
then the trigger
every 3 second.( for testing and fast result only )
set VariableX[0] = random int between 0 to 4 ( for rune type )
set VariableX[1] = random int between 0 to 3 ( for region )
if variableX[0] equal to 0 then create rune1 to center of RegionPoint[VariableX[1]]
if variableX[0] equal to 1 then create rune2 to center of RegionPoint[VariableX[1]]
if variableX[0] equal to 2 then create rune3 to center of RegionPoint[VariableX[1]]
and so on, is that acceptable for spawn rune that way?
is it totally random? since i looked up the result and sometimes
IN some region, it SPAWN the same rune again and again,
other region might spawn other rune,
Ex result :
region000, spawn rune1,rune2,rune1,rune3
region001, spawn rune3,rune4,rune0,rune1
region002, spawn rune2,rune2,rune2,rune2,rune2 <<<< this is what i wonder, is it luck or dont work properly...
region003, spawn rune4,rune0,rune3,rune0
Thx for reading and for those who repying
pls check my trigger...
says, i have 4 region... 5 different rune
i set RegionPoint[0]=region000
set RegionPoint[1]=region001
set RegionPoint[2]=region002
set RegionPoint[3]=region003
then the trigger
every 3 second.( for testing and fast result only )
set VariableX[0] = random int between 0 to 4 ( for rune type )
set VariableX[1] = random int between 0 to 3 ( for region )
if variableX[0] equal to 0 then create rune1 to center of RegionPoint[VariableX[1]]
if variableX[0] equal to 1 then create rune2 to center of RegionPoint[VariableX[1]]
if variableX[0] equal to 2 then create rune3 to center of RegionPoint[VariableX[1]]
and so on, is that acceptable for spawn rune that way?
is it totally random? since i looked up the result and sometimes
IN some region, it SPAWN the same rune again and again,
other region might spawn other rune,
Ex result :
region000, spawn rune1,rune2,rune1,rune3
region001, spawn rune3,rune4,rune0,rune1
region002, spawn rune2,rune2,rune2,rune2,rune2 <<<< this is what i wonder, is it luck or dont work properly...
region003, spawn rune4,rune0,rune3,rune0
Thx for reading and for those who repying