Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Darkstalker

Fog

Recommended Posts

I tried making fog like the demo on zdoom's site but when I try to compile the script with DeepSea, it pops the error:

Error #48: Identifier has not been declared
> Sector_SetFade
> ^
Identifier: sector_setfade

I don't know why it appears since i did exactly as the demo except the tag that I changed. I wrote :

script 4 OPEN
{
Sector_SetFade (const:14, 200, 200, 200);
}

What's wrong with it?

Share this post


Link to post

add this line as the first line in your script:

#include "zcommon.acs"

that will include const definintions and give ACC something to refer to when it's interpreting the commands to compile (check out zspecial.acs to see what I mean)

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
×