DECORATE: Height and radius available in expressions
ACS: APROP_HEIGHT, APROP_RADIUS
It seemed so easy, and I hope it was.
Get actor height and radius
Moderator: GZDoom Developers
Get actor height and radius
- Attachments
-
heightradius.zip
- Now with checkactorproperty
- (1.07 KiB) Downloaded 69 times
Last edited by FDARI on Sun Sep 02, 2012 8:50 am, edited 1 time in total.
Re: Get actor height and radius
Yes, pretty simple, no reason not to have these! Though the enums are different in my port than yours, so if these become the "official" numbers then I'll have to change them around... not a big deal anyway. :D
I really would have submitted these myself but I wasn't sure if it was that simple... your patch pretty much confirms what I thought. :P
I really would have submitted these myself but I wasn't sure if it was that simple... your patch pretty much confirms what I thought. :P
-
- Posts: 5043
- Joined: Sun Nov 14, 2010 12:59 am
Re: Get actor height and radius
From the looks of it, you can only get those properties and not set them, right? Or am I wrong?
Re: Get actor height and radius
Changing an actor height on the fly has been [no]'d a couple of times so I suspect that there would be little point in including the ability to set them.
Re: Get actor height and radius
FDARI, do you think you should add it for CheckActorProperty as well, just for completion's sake?
Re: Get actor height and radius
Wow. CheckActorProperty. Long time no think about.
(Done, first post new upload)
(Done, first post new upload)