Space Engineers

Space Engineers

Not enough ratings
ZTurretFix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
1.961 KB
25 Nov, 2019 @ 12:40am
1 Change Note ( view )

Subscribe to download
ZTurretFix

Description
This script is a temporary fix to turrets bug, when turrets positions are not being updated if the turret is not aiming at something. This means, that if you have a modded long range turret-type artillery (shooting with missiles) and want to aim with it using the ship movement - then it will result in very weird behavior when missiles spawn on old (of the last update) positions.

What script does:
1) checks and fixes only turrets with tag "[Zfix]" in their name
2) if the "Shooting" is turned on, script sets elevation an azimuth of turrets to 0 and shoots with these turrets