[Question] #library Reference in Map Script/Behavior Lump?

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
RV-007
Posts: 1501
Joined: Fri Sep 02, 2011 9:00 pm
Location: Dying w/ civilization or living after it
Contact:

[Question] #library Reference in Map Script/Behavior Lump?

Post by RV-007 »

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
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: [Question] #library Reference in Map Script/Behavior Lum

Post by cocka »

How do I #library acs lumps in map script/behavior?
Why do you need it at all? :o

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? :?
User avatar
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

Post by Ozymandias81 »

How do I #library acs lumps in map script/behavior?
:-( :-? :mono: :nope: :sadno: :stuppor: :bang: :whip: :chaingun: :shrug: :lol: :lol: :lol: :lol:

Anyway, some useful stuff that you must be aware from ZDoom Wiki:

http://zdoom.org/wiki/Libraries

http://zdoom.org/wiki/ACS
Locked

Return to “Editing (Archive)”