Blockland Forums > Help
Rpg Problem: Enemy Bots
tony-0222:
Here is the problem:
1: I spawn a bot.
2: I kill the bot. (Heres where the bugs come in)
3: In chat, blue text says "spawned."
4: Some forgeted up black bot lookin thing appears in my spawns.
5: I don't know what to do.
Also, everytime i kill the bots it don't do this, only about half the time.
(Which is still too often) I posted a snapshot below of the issue.
So tell me forum, how am i supposed to fix this issue?
mp7964:
Use a vehicle (Or any other spawn) wrench it, then type /applyav then spawn a bot on it.
After that, in events at the bottom, make them be this -
For an agressive bot -
--- Code: ---onbotspawn>bot>setbotaiproperties>Agressive
onbotspawn>bot>setbotaiproperties>canmove
onbotspawn>bot>setbotaiproperties>canaim
--- End code ---
For a bot that only attacks when it is attacked -
--- Code: ---onbotdamaged>bot>setbotaim>nearestplayer
onbotdamaged>bot>setbotaiproperties>agressive
--- End code ---
If you want the enemy bots to not attack eachother, type this at the end of any of those events
--- Code: ---onbotspawn>bot>setteamname>Enemy
--- End code ---
That should probably work. Hope this helped
tony-0222:
Actually, i already evented my enemy bots, and EXACTLY LIKE THAT too.
But when i kill them it still forgets up.
tony-0222:
Sorry for the double post, but this Rpg is all VCE'D, so please take my eventing ability into account. It don't matter the bot, or the events on the bot, when i kill ANY bot it always does the same thing! And the black lookin forgeted up bots can't even be hurt!
SirLancelot7:
Redownload Bot Events.
Just see if that fixes it. If not, try deleting addons that may interfere with it.