A reference card for standard zscript variables

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Kzer-Za
Posts: 529
Joined: Sat Aug 19, 2017 11:52 pm
Graphics Processor: nVidia (Modern GZDoom)

A reference card for standard zscript variables

Post by Kzer-Za »

Is there such a thing? Right now I want to know what is the variable that correlates to NOGRAVITY flag (or are you supposed to set "self.gravity" to zero?), but it would be nice to have this for the future.
Blue Shadow
Posts: 5046
Joined: Sun Nov 14, 2010 12:59 am

Re: A reference card for standard zscript variables

Post by Blue Shadow »

NOGRAVITY is a [wiki=Actor_flags]flag[/wiki]. See here on how to manipulate flags in functions.
Kzer-Za
Posts: 529
Joined: Sat Aug 19, 2017 11:52 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: A reference card for standard zscript variables

Post by Kzer-Za »

Thanks!

Return to “Scripting”