Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Scripting • Re: Radius thrust limit to specific cone in front of player

$
0
0
Welcome!

To my knowledge there isn't any function like that, however you can use a custom one.
This is a modified A_Blast function that also checks if the player is looking at the monsters:
Spoiler:
You can also use this function in DECORATE.
Create a new class in ZScript depending on how you want to use it, for example a Weapon:

Code:

Class NewWeapon : Weapon{Action void A_DirectionalBlast(....)}
Then in DECORATE you can inherit your weapons from NewWeapon and freely use this function.

Statistics: Posted by Jarewill — Tue Jan 16, 2024 6:05 am



Viewing all articles
Browse latest Browse all 3391

Trending Articles