Adding number to a position?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Adding number to a position?
Ok, I am trying to make a script that will put lasertowers around a gate. What I am trying to figure out is how I "get position" and then ADD say 500 km to that position and place tower there, in the end having a script that places towers in a (using the right positions and numbers) half circle around the gate...
My question is, how do I "get position" and then add a number to that position in the variable?
My question is, how do I "get position" and then add a number to that position in the variable?
You mean something like the Ring Of Fire script?
I'm sorry, I can't hear you over the sound of how awesome I am
DiDs:
Eye of the storm Completed
Eye of the storm - book 2 Inactive
Black Sun - Completed
Endgame - Completed
DiDs:
Eye of the storm Completed
Eye of the storm - book 2 Inactive
Black Sun - Completed
Endgame - Completed
-
- Posts: 1016
- Joined: Wed, 4. Feb 04, 17:37
- X2-Illuminatus
- Moderator (Deutsch)
- Posts: 24962
- Joined: Sun, 2. Apr 06, 16:38
There are different get position commands in the General Object Commands:Renothian wrote:My question is, how do I "get position" and then add a number to that position in the variable?
- <RetVar> = <RefObj> get x position
- <RetVar> = <RefObj> get y position
- <RetVar> = <RefObj> get z position
- <RetVar> = <RefObj> get position as array
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
I looked at the Ring of Fire and have one question now...
Can you "stealth/cloak" advanced satelites the same way ROF does for laser towers? Or is there a way to just stop satelites from showing up in the ship list on the right? I got them out of my property list but would like to remove their clutter from the ship/station list...
Can you "stealth/cloak" advanced satelites the same way ROF does for laser towers? Or is there a way to just stop satelites from showing up in the ship list on the right? I got them out of my property list but would like to remove their clutter from the ship/station list...