lower player viewheight with a monster attack
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!)
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!)
-
- Posts: 718
- Joined: Tue Jul 15, 2003 5:15 pm
- Location: misplaced
lower player viewheight with a monster attack
the "minotauratk1" does this, with a low enough damage amount hard-coded to it that it would potentially suit my purpose, but since it is "restricted" it cannot be used without setting maulotaur as the parent class, I presume. my monster thing here has enough conditional weirdness (it is the one i mentioned in my previous post heap) without getting into that. but i do not see another actor action which would accomplish this. Or am i not looking hard enough?
-
- Posts: 5032
- Joined: Sun Nov 14, 2010 12:59 am
Re: lower player viewheight with a monster attack
By using ZScript, create your own function based on A_MinotaurAtk1. You can find the function's code here.
-
- Posts: 718
- Joined: Tue Jul 15, 2003 5:15 pm
- Location: misplaced
Re: lower player viewheight with a monster attack
Ah ha I feared that topic would appear eventually! I keep looking up zscript material but I am never quite able to get started because I cannot determine where i PUT zscript. Do I just make a new entry in the wad called "zscript?"
-
- Posts: 5032
- Joined: Sun Nov 14, 2010 12:59 am
Re: lower player viewheight with a monster attack
Yes, just like DECORATE.
-
- Posts: 718
- Joined: Tue Jul 15, 2003 5:15 pm
- Location: misplaced
Re: lower player viewheight with a monster attack
Oh jolly good, thank you! I shall attend to that.