Author Topic: Rpg Problem: Enemy Bots  (Read 2390 times)

   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?

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: [Select]
onbotspawn>bot>setbotaiproperties>Agressive

onbotspawn>bot>setbotaiproperties>canmove

onbotspawn>bot>setbotaiproperties>canaim

For a bot that only attacks when it is attacked -
Code: [Select]
onbotdamaged>bot>setbotaim>nearestplayer

onbotdamaged>bot>setbotaiproperties>agressive

If you want the enemy bots to not attack eachother, type this at the end of any of those events
 
Code: [Select]
onbotspawn>bot>setteamname>Enemy
That should probably work. Hope this helped

Actually, i already evented my enemy bots, and EXACTLY LIKE THAT too.
But when i kill them it still forgets up.

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!

Redownload Bot Events.

Just see if that fixes it.  If not, try deleting addons that may interfere with it.

This is a serious issue. (BUMP)

Post your events for the bot and maybe we can help.

Its a problem with setting the bots scale.

Sorry to double post, i don't have an EDIT button.

  Heres what i found out.

  1: Its a problem with the Setplayerscale event, i found this after much testing.
  2: It only does the "spawned." issue when the bots killed with a gun, not melee.
  3: I CAN'T RESIZE MY BOTS? BULLstuff.
  4: Help.

Sorry to double post, i don't have an EDIT button.

  Heres what i found out.

  1: Its a problem with the Setplayerscale event, i found this after much testing.
  2: It only does the "spawned." issue when the bots killed with a gun, not melee.
  3: I CAN'T RESIZE MY BOTS? BULLstuff.
  4: Help.

I think I might have figured out your problem. Do you have advanced set player scale events?

I think I might have figured out your problem. Do you have advanced set player scale events?


  Yes, i do. I tried both.

I really don't know how to fix this, someone help. *Bump*

Iva had sort of the same problem. What it did for me was spawn a copy of myself with no torso or pants.

Iva had sort of the same problem. What it did for me was spawn a copy of myself with no torso or pants.

Did you fix it?

Also, tony, how did you find out it was the scale events doing this?

I tested the events on the bots individually incase it was an event. I killed bot bots with only 1 event checked for every event. It only did this when ONLY RESIZING EVENTS were checked. And it was only 1 event.