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

'ThrustThing' Property on DECORATE

Recommended Posts

Hi, I've been working on a DECORATE monster (a zombie actually),and I want it to 'strafe' just after he shoots. I tried with 'A_FastChase' but It's not what I want, I saw this 'ThrustThing' property on the ZDoom Wiki but I don't know how to apply it to my monster, Can anybody help me?

Share this post

Link to post

ThrustThing is an action special, not a property. Gotta keep the jargon straight.

Since you can call action specials from states like you'd call an action function, you should do that. Since you'll want the direction to be relative to the monster's facing, you'll have to use a DECORATE expression, which is simple to do since one is even given as an example right in the ThrustThing article.

MOOK A 4 ThrustThing(angle*256/360+64, 30, 0, 0)

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