How do I #library acs lumps in map script/behavior? Is it possible? If not, then I have to put all loadacs acs lumps in each map script/behavior, right?
I tried #library acs lumps in map script/behavior lump, but so far, it does not read in execution or it is not able to find the acs lump. So far, I am still able to place the code in the map script/behavior lump. However, I don't want to add acs lump scripts in each map section. Is there a way about this?
If anyone wants more information about the question, let me know.
*map01 script/behavior
//#import "?.acs"
#library "?.acs"
#include "zcommon.acs"
*a_start
?.acs
*a_end
*loadacs
*lib_bak
?.txt
*lib_bak
[Question] #library Reference in Map Script/Behavior Lump?
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: [Question] #library Reference in Map Script/Behavior Lum
Why do you need it at all?How do I #library acs lumps in map script/behavior?

I would say it is simply illogical to handle a behavior lump as a library.
If you have scripts that can be used many times throughout your wad, why don't you put them into a real library file/lump?

- Ozymandias81
- Posts: 2068
- Joined: Thu Jul 04, 2013 8:01 am
- Graphics Processor: nVidia with Vulkan support
- Location: Mount Olympus, Mars
- Contact:
Re: [Question] #library Reference in Map Script/Behavior Lum
How do I #library acs lumps in map script/behavior?














Anyway, some useful stuff that you must be aware from ZDoom Wiki:
http://zdoom.org/wiki/Libraries
http://zdoom.org/wiki/ACS