EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
<RetVar> = <Var/Warpgate> get gate id
Post new topic This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic
Author Message
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDALMEDALMEDAL

Joined: 02 Apr 2006
Posts: 19918 on topic

Thank you for registering your game
PostPosted: Tue, 2. Aug 11, 21:37    Post subject: <RetVar> = <Var/Warpgate> get gate id Reply with quote Print

<RetVar> = <Var/Warpgate> get gate id


<RetVar> = A variable where the requested information is stored.
<Var/Warpgate> = A warpgate or a variable containing one.


Returns the gate id of the as <Var/Warpgate> selected warp gate.

Each sector in the X-Universe can have a maximum of 6 gates. Each gate in a sector has a specific id, whereby the ids 0-3 are usually reserved for north (0), south (1), west (2) and east (3) gate. The ids 4 and 5 are free to use for additional gates, for example in the HUB or the Aldrin sector (after the Aldrin Expansion plot). Note, that it's also possible to create gates with different ids - possible ids are still 0-5, but for example you could use '1' as north gate - using the [url=]create gate[/color]-command.


Example:

$gate = get next gate on route from Argon Prime to Herron's Nebula
$id = $gate get gate id
write to player logbook $id
return null

This writes the id of the next gate on the route from Argon Prime to Herron's Nebula to the logbook.


Related Commands:

<RetVar/IF><RefObj> get warp gate: id=<Var/Number>


Command Location:


Back to top
View user's profile Send private message Visit poster's website
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDALMEDALMEDAL

Joined: 02 Apr 2006
Posts: 19918 on topic

Thank you for registering your game
PostPosted: Mon, 3. Oct 11, 22:14    Post subject: [TiP][49] 305213 Reply with quote Print

<RetVar> = <Var/Warpgate> get gate id


<RetVar> = Eine Variable, in der die geforderte Information gespeichert wird.
<Var/Warpgate> = Ein Sprungtor oder eine Variable, die eins enthält.


Gibt die Tor ID des als <Var/Warpgate> ausgewählten Sprungtores zurück.

In jedem Sektor im X-Universum können maximal 6 Sprungtore stehen. Jedes Tor hat eine eigene Identifikationsnummer (kurz ID). Die IDs 0-3 sind dabei normalerweise für Nord (0), Süd (1), West (2) und Ost (3) Tor reserviert. Die IDs 4 und 5 können für zusätzliche Tore genutzt werden, wie zum Beispiel im HUB-Sektor oder in Aldrin (nach dem Aldrin Plot). Beachte, dass es möglich ist, Tore mit unterschiedlichen IDs mithilfe des [url=]create gate[/color]-Befehls zu erstellen - die möglichen Ids gehen zwar immernoch von 0-5, aber man könnte bspw. 1 als ID für ein Nordtor nehmen.


Beispiel:

$gate = get next gate on route from Argon Prime to Herron's Nebula
$id = $gate get gate id
write to player logbook $id
return null

Dies schreibt die ID des nächsten Tores auf der Route von Argon Prime nach Herrons Nebel ins Logbuch.


Verwandte Befehle:

<RetVar/IF><RefObj> get warp gate: id=<Var/Number>


Zu finden unter:


Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic This topic is locked: you cannot edit posts or make replies.
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Tue, 30. May 17, 03:34

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.19521 seconds, sql queries = 16