This function lets you set the gravity effecting the actor
A_SetGravity (gravity factor)
e.g. A_SetGravity (0.75) would set an actor to receive 3/4 gravity and A_SetGravity (1) would reset it to normal.
A_SetGravity
Moderator: GZDoom Developers
Re: A_SetGravity
You can already do this with [wiki]SetActorProperty[/wiki].
Re: A_SetGravity
Yes, but that doesn't work in decorate.
Re: A_SetGravity
IMO, SetActorProperty should be given a special so that it can be used in DECORATE. I've run into too many situations where I've wished I could use it.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: A_SetGravity
Eventually I will take the entire ACS function interface apart and generalize it in a way that will make all functions accessible from all scripting implementations (including DECORATE and GZDoom's FraggleScript.)