Let's say I have a D30 artillery piece... This D30 is sitting in the middle of a
marker having a radius of 400 x 400. Now let's say I have a bottle object found
in the editor under Empty - Objects... I want that bottle object to move using
the setpos[x,y,z] format, around the radius of this marker, never going outside
that radius, under any circumstance.
I will also want to change the Z-axis, or height, using public variables, while
still maintaining the 400 x 400 area restriction.
What math would I need to make that happen?
Thankyou for any help you may be able to provide...
As many of us do, I as well, come from a Flashpoint, Resistance and Arma background. I was a member of the original DSF clan for about two months, back when Hatcher was in charge, along with Deaddog, Joker, Thatcher, two german dudes, and my callsign was, and still is FullMetal.
Copyright (c) 2006 - 2020 Armaholic.com All Rights Reserved.
Armed Assault, ArmA: Combat Operations, ArmA: Queen's Gambit, Arma 2, Arma 2: Operation Arrowhead, Arma 2: Combined Operations, Arma 2: British Armed Forces, Arma 2: Private Military Company, Arma 2: Army of the Czech Republic, Arma 2: Reinforcements, Arma 2: Firing Range and Arma 3 are trademarks or registered trademarks of Bohemia Interactive a.s.