Sprung an Position

Hier ist der ideale Ort um über Scripts und Mods für X²: Die Bedrohung zu diskutieren.

Moderators: Scripting / Modding Moderators, Moderatoren für Deutsches X-Forum

User avatar
Spotxxl
Posts: 583
Joined: Tue, 10. Feb 04, 17:29
x3tc

Sprung an Position

Post by Spotxxl »

Wie kann ich mit dem Befehl

4.068 <RetVar/IF> <RefObj> use jump drive: target=<Value>

an eine Position oder ein Tor springen, und nicht in die Mitte des Sektors?
Ein Drache ist ne feine Sache :)
Deleted User

Post by Deleted User »

da müsste noch ein befehl für koordinaten da sein - mit dem dürft das gehn - aber wie genau k.a. ich scripte bisher selbst nicht.

aber schau mal die liste durch - es gibt ja dieses Move to position - dann müste das auch mit jump to gehen.
Indoril
Posts: 796
Joined: Sat, 28. Feb 04, 20:36
x2

Re: Sprung an Position

Post by Indoril »

Spotxxl wrote:Wie kann ich mit dem Befehl

4.068 <RetVar/IF> <RefObj> use jump drive: target=<Value>

an eine Position oder ein Tor springen, und nicht in die Mitte des Sektors?
Versuche es mal damit:

Code: Select all

6.077 <RefObj> set position: x=<Var/Number> y=<Var/Number> z=<Var/Number> 
User avatar
Spotxxl
Posts: 583
Joined: Tue, 10. Feb 04, 17:29
x3tc

Post by Spotxxl »

'Ziel' Var/Sectorposition 'Das Ziel'




<jump$> <THIS> use jump drive: target=<Ziel$>
<Ziel$> set position: x=<Pos[x]> y=<Pos[y]> z=<Pos[z]>


Sicher?
Ein Drache ist ne feine Sache :)
Indoril
Posts: 796
Joined: Sat, 28. Feb 04, 20:36
x2

Post by Indoril »

Spotxxl wrote:'Ziel' Var/Sectorposition 'Das Ziel'




<jump$> <THIS> use jump drive: target=<Ziel$>
<Ziel$> set position: x=<Pos[x]> y=<Pos[y]> z=<Pos[z]>


Sicher?
Ich würde das jetzt so machen:

Code: Select all

Arguments
'Ziel' <Var/Sector> 'der Zielsektor'
'Schiff <Var/Ship owned by Player> 'das Schiff'

001 $Schiff = [THIS]-> use jump drive: targett=$ziel
002 $Schiff = [THIS]-> set position: x=<??> y=<??> z=<??>
Ich werd's auch gleich mal ausprobieren, ob das so klappt.
(Ggf sollte noch abgefragt werden, ob die benötigten EZ vorhanden sind!)
User avatar
Spotxxl
Posts: 583
Joined: Tue, 10. Feb 04, 17:29
x3tc

Post by Spotxxl »

hol dir mal meine Navigationssoftware MK2...

Wollte sie nur erweitern :P
Ein Drache ist ne feine Sache :)
Indoril
Posts: 796
Joined: Sat, 28. Feb 04, 20:36
x2

Post by Indoril »

Spotxxl wrote:hol dir mal meine Navigationssoftware MK2...

Wollte sie nur erweitern :P
Hab' ich schon. Ich hab' nur nicht mehr dran gedacht, dass die vin dir kam :roll:
War doch schon so spät :lol:
Aber hat das jetzt geklappt?
User avatar
Spotxxl
Posts: 583
Joined: Tue, 10. Feb 04, 17:29
x3tc

Post by Spotxxl »

bin noch am werkeln...
Ein Drache ist ne feine Sache :)
User avatar
Spotxxl
Posts: 583
Joined: Tue, 10. Feb 04, 17:29
x3tc

Post by Spotxxl »

mh, geht net
Ein Drache ist ne feine Sache :)

Return to “X²: Die Bedrohung - Scripts und Modding”