Jump to content
  • 0

Dehacked freindly that does not bump into you


Milkeno

Question

In THIS thread ling makes a post on how using a spawnfly tag instead of attack flag and setting reaction time to -1 would  make a "friendly npc" but one gripe I have with it is that the npc will just follow you and bump you, is there a way to make them walk in "random" directions instead of zeroing in on the player? I've tried linedefs with the block monster parameter but that doesn't always look natural.

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 1

Not in vanilla.

 

You can make them walk away from the player, by giving them a negative speed and then swapping the names of all their sprite lumps to invert the angles (so the backward-facing sprites are now forward-facing, etc), but that also isn't exactly random. Depending on what you're trying to do, though, it might be close enough.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...