Author Topic: Random Spawn Event  (Read 527 times)

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?

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)