Blockland Forums > Suggestions & Requests
Bot Events - Weapon Randomizing
Kamutog:
Whenever I create a bot and give it multiple events for different weapons, such as...
OnBotSpawn--Bot--SetWeapon [ Gun ]
OnBotSpawn--Bot--SetWeapon [ Rocket Launcher ]
OnBotSpawn--Bot--SetWeapon [ Guns Akimbo ]
I would expect it to randomly choose one of the weapons to give the bot each time it spawns, but instead it just picks the bottom weapon to give it each time.
So is it possible to make that randomize weapons?
The Resonte!:
http://forum.blockland.us/index.php?topic=51189.0
this might work
Kamutog:
--- Quote from: The Resonte! on August 31, 2013, 01:18:41 PM ---http://forum.blockland.us/index.php?topic=51189.0
this might work
--- End quote ---
Will test this.
Kamutog:
--- Quote from: Kamutog on August 31, 2013, 01:19:10 PM ---Will test this.
--- End quote ---
I had just tried this, I cannot event OnBotSpawn--Bot--setRandomItem
It works for my player but I can't assign it to certain weapons.
The Resonte!:
Yeah you can't assign it to certain weapons.
the only other way is to make a randomization system with events to toggle different kinds of
OnBotSpawn -- Bot -- setWeapon