Gate newkeys problem and other
#5

Have a global variable and set it to true before moving the object.
In OnObjectMoved callback, check if the object was the gate and set it to false.
In OnPlayerKeyStateChange, check if the variable is set to false (not moving) and only then open/close the /gate (move the object basically) again.
Reply


Messages In This Thread
Gate newkeys problem and other - by Spookis - 02.07.2016, 09:07
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 10:33
Re: Gate newkeys problem and other - by Mencent - 02.07.2016, 11:03
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 11:47
Re: Gate newkeys problem and other - by Konstantinos - 02.07.2016, 12:01
Re: Gate newkeys problem and other - by Vince - 02.07.2016, 12:06
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 12:23
Re: Gate newkeys problem and other - by Konstantinos - 02.07.2016, 12:32
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 13:32
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)