Page 1 of 1
[ACS] Change actor height
Posted: Tue May 24, 2016 5:54 pm
by RobbyPants
Is there a way to change an actor height in ASC? I see a get method for APROP_Height, but not a set method.
I was hoping to make a monster that would occasionally crouch, similar to the player.
[ACS] Re: Change actor height
Posted: Tue May 24, 2016 6:34 pm
by Monsterovich
Wait for 2.7.1, bitch. (c)
[ACS] Re: Change actor height
Posted: Tue May 24, 2016 6:36 pm
by fr blood
A combination between SetActorPosition and GetActorZ.
[ACS] Re: Change actor height
Posted: Tue May 24, 2016 7:08 pm
by SwordGrunt
fr blood wrote:A combination between SetActorPosition and GetActorZ.
He means changing the actual height property (collision box), not the actor's world Z position.
You can't do this on the current official Zandronum version, only from 3.0 onwards, where SetActorProperty can use the height property.
[ACS] Re: Change actor height
Posted: Tue May 24, 2016 8:23 pm
by RobbyPants
Alright. Thanks, guys.
[ACS] Re: Change actor height
Posted: Tue May 24, 2016 8:26 pm
by fr blood
My bad, he is right, you must wait for Zand 3.0 or try it out on the current Zdoom/GZDoom versions.