Edit your previous post (in this case the first) instead of posting multigigatude of posts in a row, please.
It's telling me the error is at the pound (#)
That's because position is an array, like [162554,7653276,10], instead of a integer value and you can't check if an array is the same as another array with ==
You need to compare each of the elements in the arrays separately..
And that's not very clever way to do this because it's probably 1 to 10000000000000000000000000000000000000 that the plane will ever be at the exact same position as the marker..
You should use distance check instead. There is a function to convert two positions into a distance value in the
Editor's Depot -> Functions, called
distancepos.sqf (by snYpir), or
distancePos3D.sqf (by Liquid_Silence).
With either one those you can have a distance check between the plane and the marker and once the plane is close enough to the marker all is dandy..
EDIT:I need some way to have the game confirm when both objectives are completed and end the mission.
If you are using that script for this you are going waaaayyy too complicated routes here..
You say you have two trigger that set an objectives "done".
So why don't you just add two global variables and set those
true in those same triggers and then have the end trigger condition matching those variables
Trigger 1
On Act."1" objStatus "done"; MY_ObjOneDone = true
Trigger 2
On Act."2" objStatus "done"; MY_ObjTwoDone = true
End trigger
ConditionMY_ObjOneDone && MY_ObjTwoDone