SparrowBirdy Posted July 8, 2018 Share Posted July 8, 2018 I want to make a script where a cart needs to drive from the Start position to the End position and than do it again on end. Could someone halp me with this script?Here is my version, but it doesn't work :sad: Scriptname szFactory_RawsCartScript01 extends ObjectReference auto state Drive Event OnLoad() self.MoveTo(StartPos)self.TranslateToRef(EndPos, 10)Utility.Wait(10) EndEvent endState Event OnTranslationComplete() gotoState("Drive")EndEvent ObjectReference Property StartPos auto ObjectReference Property EndPos auto Link to comment Share on other sites More sharing options...
Evangela Posted July 8, 2018 Share Posted July 8, 2018 (edited) Use on OnTranslationAlmostComplete() instead. Through extensive testing by folks in the past, it was determined that OnTranslationComplete() doesn't function properly or at all. Edited July 8, 2018 by Rasikko Link to comment Share on other sites More sharing options...
SparrowBirdy Posted July 8, 2018 Author Share Posted July 8, 2018 Use on OnTranslationAlmostComplete() instead. Through extensive testing by folks in the past, it was determined that OnTranslationComplete() doesn't function properly or at all.It also doesn't work :( Link to comment Share on other sites More sharing options...
Recommended Posts