Announcement

Collapse
No announcement yet.

How to make pawns want to shoot my Projectile?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to make pawns want to shoot my Projectile?

    I have a projectile, fired from a vehicle, that when it lands, it stays there for a short while and zaps nearby enemies. This is also destroyable, and I'd like to know how to make bots shoot it. Is there a way to do this? Also, is there an easy way to assign it a priority? Like make it the first priority if a bot gets damaged from it, but leave it secondary to enemies if it's not dealt the bot any damage. Thanks.

    #2
    Have you tried bProjTarget=true for a quick and dirty solution? It's set on the AVRiL. It doesn't have any special priority. If you want priority I think you'll have to override dozens of classes, since every weapon seems to have its own preferences for shooting down projectiles.

    Comment


      #3
      Seems easy, Thanks.

      Comment


        #4
        bProjTarget was already set to true, but bots still don't fire at it.

        Comment


          #5
          Take a look in RedeemerProjectile.uc for a hint as to how it's done

          Comment


            #6
            Thanks, Dunno why I didn't try that before. Still, bots don't shoot my projectile much, but oh well, at least they do a little. weird.

            Comment

            Working...
            X