Im making mod in GZDoom and hasnt find anything in wiki so asking here.
How to assign button to some state in decorate?
			
			
									
						
										
						Button assign quastion
					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: Button assign quastion
[wiki]KEYCONF[/wiki] / [wiki]Adding_keysections[/wiki]
			
			
									
						
										
						Re: Button assign quastion
Thanks ill try this out
			
			
									
						
										
						Re: Button assign quastion
Oh wait!Not to create new thread ill ask here where to enter ACS in which lump?
			
			
									
						
										
						Re: Button assign quastion
If you want a script to be available in every map, use LoadACS.
Write an ACS script (I prefer doing so in Doom Builder, in a map, so I know about any errors) with #Library "WhateverYouWantItToBeCalled", put it in a .txt file, drag and drop onto acc.exe, take the resulting .o file, import it into your wad between A_Start and A_End markers, make a lump called "LoadACS" and just write the name you put in #Library in it, and it'll automatically load in every map.
			
			
									
						
										
						Write an ACS script (I prefer doing so in Doom Builder, in a map, so I know about any errors) with #Library "WhateverYouWantItToBeCalled", put it in a .txt file, drag and drop onto acc.exe, take the resulting .o file, import it into your wad between A_Start and A_End markers, make a lump called "LoadACS" and just write the name you put in #Library in it, and it'll automatically load in every map.
Re: Button assign quastion
That is correct for ACS.
If you were referring to the KEYCONF lump, then it's not ACS. It's an entirely different lump, which goes in the root directory of a zip file, or at the very top of a wad file (no markers).
			
			
									
						
										
						If you were referring to the KEYCONF lump, then it's not ACS. It's an entirely different lump, which goes in the root directory of a zip file, or at the very top of a wad file (no markers).
Re: Button assign quastion
Yes thanks that what i need
			
			
									
						
										
						

