April 1, 20169 yr Is there anything in the API which checks for object orientation? For example, a gate's orientation is set to 2, but when opened, is set to 3.
April 1, 20169 yr the ID of a gate/door is different when its open. also the position of it is different. so you can check on 2 things you can check the position and ID of objects by enabling entity hovering debug cheers Edited April 1, 20169 yr by The Hero of Time
April 1, 20169 yr Author the ID of a gate/door is different when its open. also the position of it is different. so you can check on 2 things you can check the position and ID of objects by enabling entity hovering debug cheers Oh ... I didn't even check to see if the ID had changed LOL. Thanks much!
April 1, 20169 yr Oh ... I didn't even check to see if the ID had changed LOL. Thanks much! You can also check if it contains the action "Open" to determine if it's open or not
April 1, 20169 yr Oh ... I didn't even check to see if the ID had changed LOL. Thanks much! objects.closest("Gate").hasAction("Open") or hasAction("Close")
April 1, 20169 yr It will be big numbers tho not 0-3 so you need to divide that by 512 if I recall correctly
Create an account or sign in to comment