Space Engineers

Space Engineers

Configurable Pistons
2 条留言
Gate  [作者] 2021 年 12 月 30 日 下午 9:09 
@Zia Asuna

Yea, that's a typo in the instructions, it should be " AutoRetract " and not AutoRectract

If you alter the following line
[code]data.Piston.Velocity = data.AutoRetract ? -data.RetractSpeed : -data.RetractSpeed;[/code]
to
[code]data.Piston.Velocity = data.AutoRetract ? -data.RetractSpeed : data.RetractSpeed;[/code]

it should no longer autoretract on full extension, yet still prepare the piston for the alternate speed. my build environment is currently broken, so an mdk-deploy stopped working (nggggh). This will have to suffice for the moment.
Zia Asuna 2021 年 12 月 30 日 下午 4:31 
Script not working right " Pistons will always AutoRectract "

if set to " AutoRectract=True " tjek that will work :selike:
but if set to " AutoRectract=False " the piston´s will still Rectract