Forum Jump : FORUMS Editing / Addon editing Editing / Mission editing Editing / Scripting Editing / Addon editing / Armed Assault Editing / Addon editing / Arma 2 / Arma 2: Operation Arrowhead Editing / Addon editing / Arma 3 Editing / Mission editing / Armed Assault Editing / Mission editing / Arma 2 / Arma 2: Operation Arrowhead Editing / Mission editing / Arma 3 Editing / Scripting / Armed Assault Editing / Scripting / Arma 2 / Arma 2: Operation Arrowhead Editing / Scripting / Arma 3 Arma 3 / General Discussion Arma 3 / Troubleshooting Arma 3 / Addons and Mods: Complete Arma 3 / Addons and Mods Arma 3 / Missions: Complete Arma 3 / Missions WIP Arma 3 / Addons and Mods: Complete / Islands Arma 3 / Addons and Mods: Complete / Modules Arma 3 / Addons and Mods: Complete / Sounds Arma 3 / Addons and Mods: Complete / Units Arma 3 / Addons and Mods: Complete / Vehicles Arma 3 / Addons and Mods: Complete / Weapons Arma 3 / Addons and Mods: Complete / Other Arma 3 / Addons and Mods: Complete / Gear Arma 3 / Addons and Mods / Addons and Mods: WIP Arma 3 / Addons and Mods / Addon requests Arma 3 / Missions: Complete / Multiplayer missions Arma 3 / Missions: Complete / Singleplayer missions Operation Arrowhead / General Discussion Operation Arrowhead / Troubleshooting Operation Arrowhead / Addons and Mods: Complete Operation Arrowhead / Addons and Mods Operation Arrowhead / Missions: Complete Operation Arrowhead / Missions WIP Operation Arrowhead / Addons and Mods: Complete / Islands Operation Arrowhead / Addons and Mods: Complete / Modules Operation Arrowhead / Addons and Mods: Complete / Sounds Operation Arrowhead / Addons and Mods: Complete / Units Operation Arrowhead / Addons and Mods: Complete / Vehicles Operation Arrowhead / Addons and Mods: Complete / Weapons Operation Arrowhead / Addons and Mods: Complete / Other Operation Arrowhead / Addons and Mods / Addons and Mods: WIP Operation Arrowhead / Addons and Mods / Addon requests Operation Arrowhead / Missions: Complete / Multiplayer missions Operation Arrowhead / Missions: Complete / Singleplayer missions Arma 2 / General Discussion Arma 2 / Troubleshooting Arma 2 / Addons and Mods: Complete Arma 2 / Addons and Mods Arma 2 / Missions: Complete Arma 2 / Missions WIP Arma 2 / Addons and Mods: Complete / Islands Arma 2 / Addons and Mods: Complete / Modules Arma 2 / Addons and Mods: Complete / Sounds Arma 2 / Addons and Mods: Complete / Units Arma 2 / Addons and Mods: Complete / Vehicles Arma 2 / Addons and Mods: Complete / Weapons Arma 2 / Addons and Mods: Complete / Other Arma 2 / Missions: Complete / Multiplayer missions Arma 2 / Missions: Complete / Singleplayer missions Arma 2 / Addons and Mods / Addon requests Arma 2 / Addons and Mods / Addons and Mods: WIP Armed Assault / General Discussion Armed Assault / Troubleshooting Armed Assault / Addons and Mods: Complete Armed Assault / Addons and Mods: Discussion Armed Assault / Missions: Complete Armed Assault / Missions WIP Armed Assault / Missions: Complete / Multiplayer missions Armed Assault / Missions: Complete / Singleplayer missions Armed Assault / Addons and Mods: Complete / Islands Armed Assault / Addons and Mods: Complete / Modules Armed Assault / Addons and Mods: Complete / Sounds Armed Assault / Addons and Mods: Complete / Units Armed Assault / Addons and Mods: Complete / Vehicles Armed Assault / Addons and Mods: Complete / Weapons Armed Assault / Addons and Mods: Complete / Other Armed Assault / Addons and Mods: Discussion / Addons and Mods: WIP Armed Assault / Addons and Mods: Discussion / Addon requests Site Related / Armaholic in general Site Related / Modsaholic in general Site Related / Armaholic Subscription System Site Related / Armaholic in general / Announcements Offtopic / Chit chat Offtopic / Hardware and software Offtopic / Other Games Offtopic / Other Games / Arma: Cold War Assault / Operation Flashpoint Offtopic / Other Games / Take On Helicopters Offtopic / Other Games / Carrier Command: Gaea Mission Internation Forum / Français Internation Forum / Español Internation Forum / Dutch
Author
Message
Posts: 26
Rank:
Country:
Location: Dallas, Tx
Occupation:
Age: 47
In-game name:
#1 Posted at 2012-03-31 23:05
Question
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.