Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick fix for getArea #710

Merged
merged 2 commits into from
Jun 29, 2017
Merged

Quick fix for getArea #710

merged 2 commits into from
Jun 29, 2017

Conversation

fishykins
Copy link
Contributor

somewhere along the line "triggerArea" started returning z values, making the return array size 6. This causes problems for other functions using the area format so this change simply removes the 6th element of the array.

@PabstMirror
Copy link
Contributor

https://community.bistudio.com/wiki/triggerArea

NOTE: Since Arma 3 v1.59.135137, triggerArea returns 3rd dimension for the monitored area. If height is not set, the value for it would be -1;

@kymckay
Copy link
Contributor

kymckay commented Jun 24, 2017

Worth noting there is now a BI function which does this too: https://community.bistudio.com/wiki/BIS_fnc_getArea

Perhaps the CBA version should be deprecated

@Killswitch00 Killswitch00 added this to the 3.4 milestone Jun 25, 2017
@Killswitch00
Copy link
Contributor

Yes, this looks like it could be gently deprecated. Please add a deprecation comment in the header (see arrays/fnc_join.sqf for the format)

@ViperMaul ViperMaul modified the milestones: 3.4.1, 3.4 Jun 27, 2017
@Killswitch00 Killswitch00 merged commit 8419469 into CBATeam:master Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants