SuperM Posted August 17, 2018 Share 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 Link to comment
Moderators IIYAMA Posted August 17, 2018 Moderators Share 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. Link to comment
WorthlessCynomys Posted August 17, 2018 Share Posted August 17, 2018 Okay... Your idea sure looks awesome. Link to comment
SuperM Posted August 17, 2018 Author Share 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. Link to comment
Moderators IIYAMA Posted August 18, 2018 Moderators Share 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. Link to comment
Discord Moderators Pirulax Posted August 18, 2018 Discord Moderators Share Posted August 18, 2018 If @CrosRoad95's PR get's merged then u'll be able to do so. Link to comment
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