isplayerinrangeofpoint & else if not
#9

To help you learn, check to see if the player is at either position (open/close). Then get the objects position. is the object in the opened position, or is the object in the closed position. Then, move the object to the opposite position depending on the current position of the object.

Or, just set a variable to the gate (Opened = true/false) and check for that variable upon using "/cop".
Reply


Messages In This Thread
isplayerinrangeofpoint & else if not - by Aleksabre - 12.08.2015, 23:12
Re: isplayerinrangeofpoint & else if not - by DarkLored - 12.08.2015, 23:17
Re: isplayerinrangeofpoint & else if not - by kennydalglish - 12.08.2015, 23:19
Re: isplayerinrangeofpoint & else if not - by kennydalglish - 12.08.2015, 23:22
Re: isplayerinrangeofpoint & else if not - by Andre02 - 12.08.2015, 23:22
Re: isplayerinrangeofpoint & else if not - by kennydalglish - 12.08.2015, 23:27
Re: isplayerinrangeofpoint & else if not - by Andre02 - 12.08.2015, 23:32
Re: isplayerinrangeofpoint & else if not - by Aleksabre - 13.08.2015, 00:11
Re: isplayerinrangeofpoint & else if not - by zDivine - 13.08.2015, 00:14
Re: isplayerinrangeofpoint & else if not - by Aleksabre - 13.08.2015, 00:15

Forum Jump:


Users browsing this thread: 1 Guest(s)