SuperM Posted August 17, 2018 Posted August 17, 2018 I have the following area: but I would like to limit height, is there any chance that I can limit the height so it does not go to "infinite"? 1
Moderators IIYAMA Posted August 17, 2018 Moderators Posted August 17, 2018 You can use a second colshape in combination with: https://wiki.multitheftauto.com/wiki/IsElementWithinColShape So group the colshapes, attach a single handler. And use the function to check if the player is in both.
SuperM Posted August 17, 2018 Author Posted August 17, 2018 14 hours ago, IIYAMA said: You can use a second colshape in combination with: https://wiki.multitheftauto.com/wiki/IsElementWithinColShape So group the colshapes, attach a single handler. And use the function to check if the player is in both. But my example only has one Polygon colshape, just need the height limited so, for example, people flying (freecam or similar) using planes, helicopters don't get detected.
Moderators IIYAMA Posted August 18, 2018 Moderators Posted August 18, 2018 10 hours ago, SuperM said: But my example only has one Polygon colshape, just need the height limited so, for example, people flying (freecam or similar) using planes, helicopters don't get detected. That's why you need two... since polygons can't be limited on the height.
Discord Moderators Pirulax Posted August 18, 2018 Discord Moderators Posted August 18, 2018 If @CrosRoad95's PR get's merged then u'll be able to do so.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now