How would one get the seperate X, Y, Z coordinates out as variables from a Var/Sector Position?
I've tried Get X Position etc., but either I'm not doing it right (it worked with an object) or its something else.
And how does one eject cargo via script?
How does one change the name of a ship via script?
I newbishly can't seem to find this, even though its embarassing: How does one create a ship inside a station?
What's the procedure to make a script execute off a comms call?
Newbtastic
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28
combed through the forums, found:
but I don't understand it. :/markezekiel wrote: you can just use an argument to start the script that provides var/position as pos$
then you use:
x$=pos[0]
y$=pos[1]
z$=pos[2]
sec=pos[3]
you dont need to enter xyz manually
to find your current position its something like get player position as an array and use the xyz stuff from above
-
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28
-
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28