Get actor height and radius

Moderator: GZDoom Developers

Post Reply
User avatar
FDARI
Posts: 1097
Joined: Tue Nov 03, 2009 9:19 am

Get actor height and radius

Post by FDARI »

DECORATE: Height and radius available in expressions
ACS: APROP_HEIGHT, APROP_RADIUS

It seemed so easy, and I hope it was.
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.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Get actor height and radius

Post by Nash »

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
Blue Shadow
Posts: 5043
Joined: Sun Nov 14, 2010 12:59 am

Re: Get actor height and radius

Post by Blue Shadow »

From the looks of it, you can only get those properties and not set them, right? Or am I wrong?
User avatar
Enjay
 
 
Posts: 27086
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Get actor height and radius

Post by Enjay »

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.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Get actor height and radius

Post by Nash »

FDARI, do you think you should add it for CheckActorProperty as well, just for completion's sake?
User avatar
FDARI
Posts: 1097
Joined: Tue Nov 03, 2009 9:19 am

Re: Get actor height and radius

Post by FDARI »

Wow. CheckActorProperty. Long time no think about.
(Done, first post new upload)
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Get actor height and radius

Post by randi »

Added in r3955/r3956.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”