Adding New ACS Functions to ACC

From Zandronum Wiki
Jump to navigation Jump to search
Warning: With ACC 1.54 and later, the functions in this example have already been added to zspecial.acs, so there is no need for you to do this. This example is kept here in case new functions are added to Zandronum before ACC again in the future.

Zandronum introduces several built-in ACS functions that are not yet supported by ACC, but it is simple to add them.


Find your ACC directory. The functions are enumerated in the zspecial.acs file. Near the bottom, find the line containing -1000:__EndOfList__(10); and delete it or comment it out. Then paste

 	-128:GetTimeProperty(2, 3),
	-129:Strftime(2, 3),

in its place. This will allow you to compile those commands in your ACS!

Related Articles

ACS Functions