Creating Stations
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 9
- Joined: Sat, 5. Nov 05, 16:36
Creating Stations
i Have managed to create a station using the script editor, but i can't re-position them...
Any idea's?
Any idea's?
-
- Posts: 9
- Joined: Sat, 5. Nov 05, 16:36
-
- Posts: 9
- Joined: Sat, 5. Nov 05, 16:36
-
- Posts: 9
- Joined: Sat, 5. Nov 05, 16:36
- nuclear_eclipse
- Posts: 1129
- Joined: Thu, 2. Sep 04, 01:54
-
- Posts: 74
- Joined: Wed, 24. Dec 03, 19:34
-
- Posts: 48
- Joined: Thu, 9. Dec 04, 18:10
The CreateStation command takes four parameters that are relevant to station position: Sector, X, Y, and Z.
If your script has a parameter called "Location" of type Sector Position, the script will prompt the user, by way of the universe and sector map, what the value of that parameter should be.
The parameter will then be loaded with a 4-value array. Values 0 through 3 are X, Y, and Z in that order. The fourth (value[3]) is the sector.
Pump those values into the CreateStation command and voila!
If your script has a parameter called "Location" of type Sector Position, the script will prompt the user, by way of the universe and sector map, what the value of that parameter should be.
The parameter will then be loaded with a 4-value array. Values 0 through 3 are X, Y, and Z in that order. The fourth (value[3]) is the sector.
Pump those values into the CreateStation command and voila!