Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

AI help please

Recommended Posts

yo im just wonderin if theres a script out there that makes a monster run AWAY from the player instead of towards them?
(if so please send it)

Share this post

Link to post

Guessig that you are using an advanced port like zdoom, you have two choises:
1)if you are using decorate to define a new monster, just add "+FRIGHTENED" into the monster property definition.
2)if you want to do that into a acs script, use instead "SetActorProperty (int tid, int property, str value)", that is a more flexible option. the usage is described there: http://zdoom.org/wiki/SetActorProperty

Share this post

Link to post

In Vanilla Doom (i.e Dehacked), one can give a monster a minus speed value, to make it move away from the player, instead of approach.

No port specific stuff needed then.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now