Hollywood weapons? (make enemies thrust more when killed?)

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Graaicko
Posts: 531
Joined: Tue Jun 17, 2014 11:22 pm
Graphics Processor: nVidia (Legacy GZDoom)

Hollywood weapons? (make enemies thrust more when killed?)

Post by Graaicko »

Herro. I've been watching some Arnold Schwarzenegger movies and was wondering if its possible to make enemies thrust more when killed. (Not unrealistically fly)
For example I pickup a shotgun and killed an enemy with the shotgun he gets pushed during his death state. Kind of like in brutal doom but without the gore and additional states.
Thanks.
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

Re: Hollywood weapons? (make enemies thrust more when killed

Post by m8f »

There is Weapon.KickBack property.
Spoiler:
User avatar
Graaicko
Posts: 531
Joined: Tue Jun 17, 2014 11:22 pm
Graphics Processor: nVidia (Legacy GZDoom)

Re: Hollywood weapons? (make enemies thrust more when killed

Post by Graaicko »

Sweet thanks.
Post Reply

Return to “Scripting”