Why can't I exit in a script?

Archive of the old editing forum
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.
Locked
Classic Doom Guy
Posts: 176
Joined: Wed Mar 21, 2007 11:15 pm
Location: Kali-FORnia

Why can't I exit in a script?

Post by Classic Doom Guy »

So I want to have the level exit occur in a script, and of course I get this:

Code: Select all

script.acs:24: Function exit_normal is used but not defined.  ACS did not compile your script.
:roll: :roll:


Which is pretty funny, or very upsetting, considering that the special is in a damn script in the wiki.

Oh, and what's this? It's in the f'ing ACS.cfg as well!

WTF???


And what about Sector_SetColor? It wouldn't let me use that in a script as well?

What's the deal with all this? It doesn't have an asterisk by it in the wiki.
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Post by Zippy »

Did you remember to put

Code: Select all

#include "zcommon.acs"
at the top of the file?
Classic Doom Guy
Posts: 176
Joined: Wed Mar 21, 2007 11:15 pm
Location: Kali-FORnia

Post by Classic Doom Guy »

Zippy wrote:Did you remember to put

Code: Select all

#include "zcommon.acs"
at the top of the file?
Me and my typos. :P


I had common.acs. I guess all my other stuff works with that. :oops:


Sorry for spamming up the boards.
Locked

Return to “Editing (Archive)”