I have googled the topic and searched the forums for the better part of the last 6+ hours looking for my answer and all I can find is rather vague. I have found other scripts using the command I have tried to use in mine, but it just doesn't want to work no matter where I put the commands. Here is my script that is functioning rather excellently besides the reactivation of the bed:
Scn MovingBedFloat FinalPosShort ActiveShort YmoveBegin OnActivate Set ymove to 2 HideABed.disable If Active==1 Message "The bed moved back to where it was, covering the secret hatch." Set Active to 2 Else Message "The bed moved, revealing a secret hatch." Set Active to 1 EndifEndBegin Gamemode If Active == 1 If FinalPos > -750 Set FinalPos to HideABed.getpos y - Ymove HideABed.Setpos y FinalPos HideABed.Enable EndIf ElseIf Active ==2 If FinalPos < -625 Set FinalPos to HideABed.getpos y + Ymove HideABed.Setpos y FinalPos HideABed.Enable EndIf EndIfEnd
I have a hunch that I will feel rather dumb at how simple the fix may be. Any suggestions or leads as to fix my problem is MUCH appreciated.