ObjectReference property myDoor autoActor property Actor01 autoEvent OnTriggerEnter(ObjectReference TriggerRef) if (TriggerRef == Actor01) Int OpenState = myDoor.GetOpenState() ; 1 = Open. 3 = Closed. if (OpenState == 3 myDoor.Lock(False)myDoor.SetOpen(True) myDoor.playAnimation("Open") endif endifEndEventI'm script blind to this error -
psc(9,31): missing RPAREN at '\\r\\n'