Virtual Train Depot Functions: Unterschied zwischen den Versionen
Aus EEP Handbuch
(Die Seite wurde neu angelegt: „ <table width="90%" align="center" border="1" style="border: 1px solid black; border-collapse: collapse;"> <tr> <th colspan="2">EEPGetTr…“) |
(kein Unterschied)
|
Version vom 8. September 2018, 12:59 Uhr
| EEPGetTrainFromTrainyard() | EEPGetTrainFromTrainyard(Depot,"TrainName",Num,Dir) | |
|---|---|---|
| type: | function |
EEPGetTrainFromTrainyard(1,"#Rheingold",1)
EEPGetTrainFromTrainyard(2 ,"", 4 , 1)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | four | |
| returns: | one | |
| requires: | EEP 11.3 plug-in 2, EEP 14.2 plug-In 2 | |
| purpose: | Sends a specified train from the specified virtual train depot. | |
| notes: |
|
|
| EEPOnTrainExitTrainyard() | EEPOnTrainExitTrainyard(Depot_ID,"TrainName") | |
|---|---|---|
| type: | function |
function EEPOnTrainExitTrainyard(Depot_ID,Zugname)
print(""TrainName.." has left depot "..Depot_ID"")
end
|
| caller: | EEP | |
| defined in: | script | |
| parameters: | two | |
| returns: | none | |
| requires: | EEP 14 Plug-In 1 | |
| purpose: | Called if a train leaves a virtual train depot. | |
| notes: |
|
|
| EEPGetTrainyardItemsCount() | EEPGetTrainyardItemsCount(Depot) | |
|---|---|---|
| type: | function |
EEPGetTrainyardItemsCount(1)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | one | |
| returns: | one | |
| requires: | EEP 13.2 plug-in 2 | |
| purpose: | Returns the number of consists currently listed in teh specified depot | |
| notes: |
|
|
| EEPGetTrainyardItemName() | EEPGetTrainyardItemName(Depot,List) | |
|---|---|---|
| type: | function |
EEPGetTrainyardItemName(1 , 2)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | two | |
| returns: | one | |
| requires: | EEP 13.2 plug-in 2 | |
| purpose: | Returns the name of a consist at a specified location in a specified depot. | |
| notes: |
|
|
| EEPGetTrainyardItemStatus() | EEPGetTrainyardItemStatus(Depot,"Lua-Name",Liste) | |
|---|---|---|
| type: | function |
EEPGetTrainyardItemName(1 , "#FreightTrain" , 0)
EEPGetTrainyardItemName(1 , "" , 3)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | three | |
| returns: | one | |
| requires: | EEP 13.2 plug-in 2 | |
| purpose: | Returns the status of a specified train in a specified depot | |
| notes: |
|
|