Blockland Forums > Help
How to give random weapons on spawn using VCE?
phflack:
input>player>VCE_modvariable[weapon][set][0]
input>player>VCE_modvariable[weapon][random][2]
input>player>VCE_ifvariable[weapon][==][0][3 4]
onvariabletrue>player>additem[gun]
onvariablefalse>player>VCE_ifvariable[weapon][==][1][5 6]
onvariabletrue>player>additem[rocket launcher]
onvariablefalse>player>additem[sword]
that would be a random chance between a sword, rocket launcher, and a gun
gr8dayseth:
Thanks, it works.