[ACS] Change actor height

Discuss all aspects related to modding Zandronum here.
Post Reply
RobbyPants
 
Posts: 37
Joined: Wed Mar 13, 2013 12:53 am

[ACS] Change actor height

#1

Post by RobbyPants » Tue May 24, 2016 5:54 pm

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.

User avatar
Monsterovich
Forum Regular
Posts: 343
Joined: Sun Jun 17, 2012 5:46 pm

[ACS] Re: Change actor height

#2

Post by Monsterovich » Tue May 24, 2016 6:34 pm

Wait for 2.7.1, bitch. (c)

User avatar
fr blood
Frequent Poster Miles card holder
Posts: 995
Joined: Wed Mar 06, 2013 4:04 pm
Location: France

[ACS] Re: Change actor height

#3

Post by fr blood » Tue May 24, 2016 6:36 pm

A combination between SetActorPosition and GetActorZ.

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

[ACS] Re: Change actor height

#4

Post by SwordGrunt » Tue May 24, 2016 7:08 pm

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.

RobbyPants
 
Posts: 37
Joined: Wed Mar 13, 2013 12:53 am

[ACS] Re: Change actor height

#5

Post by RobbyPants » Tue May 24, 2016 8:23 pm

Alright. Thanks, guys.

User avatar
fr blood
Frequent Poster Miles card holder
Posts: 995
Joined: Wed Mar 06, 2013 4:04 pm
Location: France

[ACS] Re: Change actor height

#6

Post by fr blood » Tue May 24, 2016 8:26 pm

My bad, he is right, you must wait for Zand 3.0 or try it out on the current Zdoom/GZDoom versions.

Post Reply