ACS error

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
User avatar
Drwalrustein
Posts: 12
Joined: Thu Jun 25, 2015 5:36 pm

ACS error

Post by Drwalrustein »

So I am having errors with line 9 which says invalid declarator so here it is.

#include "zcommon.acs"

script 1 (void)
{
print (s:"Welcome to Flem labs inc, where our flem is your flem" );
delay (50);
}

Translucentline(0, 6);
SetLineSpecial(0,49);
User avatar
edward850
Posts: 5886
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: ACS error

Post by edward850 »

You have two functions sitting in no script block at all. Line 9 is "Translucentline", yet ACC is expecting a new script block or function.
Is this what you wanted?

Code: Select all

#include "zcommon.acs"

script 1 (void)
{
	print (s:"Welcome to Flem labs inc, where our flem is your flem" );
	delay (50);
	
	Translucentline(0, 6);
	SetLineSpecial(0,49);
}
User avatar
Drwalrustein
Posts: 12
Joined: Thu Jun 25, 2015 5:36 pm

Re: ACS error

Post by Drwalrustein »

Thank you.
Locked

Return to “Editing (Archive)”