This doesn't work for me. I try to use it in the script and it doesn't even turn blue after I type it.
"Identifier has not been declared."
Any reason why this might happen?
GetActorPitch wont work
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Re: GetActorPitch wont work
Where's your script?
We need it. Like, a lot.
We need it. Like, a lot.
- peoplethought
- Posts: 160
- Joined: Mon Aug 25, 2008 3:38 am
Re: GetActorPitch wont work
I don't have a script. I would if I could get this to work. What I mean is that when I type the word in, regardless of what my script is doing, it doesn't recognize the word as a function. Am I missing a file I need to use this command?
It just says it's an undeclared identifier.
It just says it's an undeclared identifier.
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: GetActorPitch wont work
Post your ACS (Action Code Script)
It would also help to update your copy of ACC.
It would also help to update your copy of ACC.
- Kappes Buur
-
- Posts: 4191
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: GetActorPitch wont work
That is not logical.peoplethought wrote:I don't have a script. I would if I could get this to work. What I mean is that when I type the word in, regardless of what my script is doing, it doesn't recognize the word as a function...

Something like this, perhaps:peoplethought wrote:"Identifier has not been declared."
Code: Select all
int pitch = getactorpitch(0); // a tid of 0 refers to the activator
- peoplethought
- Posts: 160
- Joined: Mon Aug 25, 2008 3:38 am
Re: GetActorPitch wont work
Nevermind, it seems to be working now.
Re: GetActorPitch wont work
From his post, it sounded like he wasn't getting the syntax highlighting he expected in DoomBuilder. There was no script because he hadn't compiled one yet.
@OP: For future reference, DoomBuilder only provides a shell for ACS. If it doesn't understand a function, that doesn't mean the function doesn't exists, and it's up to ACC to make the final call when you hit the compile button. As long as your ACC is up to date, you should be ok even if DoomBuilder doesn't recognized a command.
@OP: For future reference, DoomBuilder only provides a shell for ACS. If it doesn't understand a function, that doesn't mean the function doesn't exists, and it's up to ACC to make the final call when you hit the compile button. As long as your ACC is up to date, you should be ok even if DoomBuilder doesn't recognized a command.
Re: GetActorPitch wont work
And just to double check, the latest ACC can be downloaded from the downloads page
http://zdoom.org/Download
And Nash has put up a build of the most recent SVN version if you want to try that
http://nash.wanzafran.com/doomstuff/svn/
http://zdoom.org/Download
And Nash has put up a build of the most recent SVN version if you want to try that
http://nash.wanzafran.com/doomstuff/svn/