Announcement

Collapse
No announcement yet.

Why do monster pawns teleport?

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

    Why do monster pawns teleport?

    I've been working on a single-player game-type using UT2004, but, even after the suggestions made in an earlier thread, I cannot get monster pawns to stop teleporting.

    The specific problem is this: in certain levels where I have scattered monster pawns around, once the game starts and I move my character from the PlayerStart, some of the monsters in the map begin teleporting to the playerstart. Once they die, they do not respawn there and not all of them teleport in the first place.

    Any idea why this is happening? It seems that only monsters that are originally far outside of the player's Z-plane do this. I have tried subclassing the MonsterController, but I do not see where I can turn this off (changing the FightEnemy function did not seem to do it).

    #2
    There's a bit of code in the monster controller class that causes the monsters to teleport when they have no target.
    http://www.ataricommunity.com/forums...hreadid=467006

    Comment

    Working...
    X