Hello, playing BGT-WiDU and I noticed the General Attack script does not seem to work. And it resets to None after a load.
I have seen users in the past commenting about this, in 2013, they were going to report it as a bug since it seemed BGT was corrupting aGen.bs somehow.
In the SETUP-BGT.DEBUG file I notice
[bgt/base/bs/agen.bs] loaded, 583 bytes
scripts/agen.bs copied to bgt/backup/0/agen.bs, 417 bytes
Copied [bgt/base/bs/agen.bs] to [scripts/agen.bs]
This seems to indicate BGT is modifying this script somehow. I can't see what the script does with a text editor.
Does anyone know why BGT modifies it, and what it is doing? Is it safe to replace the broken one I ended up with, with \bgt\backup\0\agen.bs?
Thanks for any insight! I'd like to have a general attack script where the character attacks with whatever weapon they already have in hand, neither charging nor backing up if they have a ranged weapon equipped. Basically a "stand and shoot till they reach me then switch to melee" standard front line script.
							Edited by skellytz, 26 March 2023 - 06:39 AM.
							
								
								topic tags
							
						


 
	![[Solved] General Attack script not working: post #1](https://www.shsforums.net/public/style_images/shs4/icon_share.png) 
					 
				
				
				
 
				
				
				 
			
			 
				
				
				
 
				
				
				 
				
				
				 
			
			



 
 ![[Solved] Random encounter with 'nothing' - last post by Salk](https://www.shsforums.net/uploads/profile/photo-3563.jpg?_r=0) 
	
