reaper9111 Posted August 8, 2009 Share Posted August 8, 2009 i want that gate to open when the pc get close, and to close when pc get far.... Scn xxx Short Open Begin GameMode If Player.GetDistance GateOpener >= 300If open == 0xxx01.playgroup forward 1xxx02.playgroup forward 1Set Open to 1Debug;Message "Gate Openning"EndIf Else If open == 1If Player.GetDistance GateOpener < 300xxx01.playgroup backward 1xxx02.playgroup backward 1Set Open to 0Debug;Message "Gate Closing"EndIfEndIfEndIf End Link to comment Share on other sites More sharing options...
David Brasher Posted August 8, 2009 Share Posted August 8, 2009 See comments on your practically identical post. Link to comment Share on other sites More sharing options...
Recommended Posts