Blockland Forums > Help

Random Spawn Event

Pages: (1/1)

Burple:

Heres the story. I am making a TDM and set out 3 4x4 bricks as Team 1's spawn. But before they get their they create a class. How can I make it so that when they select the last weapon they spawn randomly at any of the 3 spawns?

phflack:

onactivate>player>vce_modvariable[random(this is what i name it)][set][0]
onactivate>player>vce_modvariable[random][randomnum][3]
onactivate>player>vce_ifvariable[random][==][1]
onvariabletrue>namedbrick>setplayertransform(spawn1)
onvariablefalse>player>vce_ifvariable[random][==][2]
onvariabletrue>namedbrick>setplayertransform(spawn2)
onvariablefalse>namedbrick>setplayertransform(spawn3)

Burple:

Thanks.

Pages: (1/1)

Go to full version