Rolling Stock Functions
Aus EEP Handbuch
| EEPRollingstockSetCouplingFront() | EEPRollingstockSetCouplingFront("Name",Coupler) | |
|---|---|---|
| type: | function |
EEPRollingstockSetCouplingFront("Castor1;001", 1)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | two | |
| returns: | one | |
| requires: | EEP 11.0 | |
| purpose: | Activates or deactivates the front coupler of the specified rolling stock. | |
| notes: |
|
|
| EEPRollingstockGetCouplingFront() | EEPRollingstockGetCouplingFront("Name") | |
|---|---|---|
| type: | function |
hResult, hData = EEPRollingstockGetCouplingFront("Castor1;001")
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | one | |
| returns: | two | |
| requires: | EEP 11.0 | |
| purpose: | Enquires the current condition of the front coupler of the specified rolling stock. | |
| notes: |
|
|
| EEPRollingstockSetCouplingRear() | EEPRollingstockSetCouplingRear("Name",Coupler) | |
|---|---|---|
| type: | function |
EEPRollingstockSetCouplingRear("fals 175 Kalk", 1)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | two | |
| returns: | one | |
| requires: | EEP 11.0 | |
| purpose: | Activates or deactivates the rear coupler of the specified rolling stock. | |
| notes: |
|
|
| EEPRollingstockGetCouplingRear() | EEPRollingstockGetCouplingRear("Name") | |
|---|---|---|
| type: | function |
Name = "fals 175 Kalk"
hResult, hData = EEPRollingstockGetCouplingRear(Name)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | one | |
| returns: | two | |
| requires: | EEP 11.0 | |
| purpose: | Enquires the current condition of the rear coupler of the specified rolling stock. | |
| notes: |
|
|
| EEPRollingstockSetAxis() | EEPRollingstockSetAxis("Name","Axis",Position) | |
|---|---|---|
| type: | function |
Name = "CoalPortalCrane"
Axis = "Turn left"
EEPRollingstockSetAxis(Name, Axis, 50)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | three | |
| returns: | one | |
| requires: | EEP 11.0 | |
| purpose: | Moves the specified axis of the specified rolling stock to the desired position. | |
| notes: |
|
|
| EEPRollingstockGetAxis() | EEPRollingstockGetAxis("Name","Axis") | |
|---|---|---|
| type: | function |
Name = "CoalPortalCrane 1"
Axis = "Turn left"
hResult, hData = EEPRollingstockGetAxis(Name, Axis)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | two | |
| returns: | two | |
| requires: | EEP 11.0 | |
| purpose: | Enquires the current position of the specified axis of the specified rolling stock. | |
| notes: |
|
|
| EEPRollingstockSetSlot() | EEPRollingstockSetSlot("Name",Slot) | |
|---|---|---|
| type: | function |
EEPRollingstockSetSlot("PortalCrane2 Grabber", 1)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | tw | |
| returns: | one | |
| requires: | EEP 11.0 | |
| purpose: | Moves all axiis of the specified rolling stock to the position saved in a slot. | |
| notes: |
|
|
| EEPGetRollingstockItemsCount() | EEPGetRollingstockItemsCount("Name") | |
|---|---|---|
| type: | function |
EEPGetRollingstockItemsCount("#FreightTrain")
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | one | |
| returns: | one | |
| requires: | EEP 13.2 plug-in2 | |
| purpose: | Returns the number of vehicles a specified train consists of | |
| notes: |
|
|
| EEPGetRollingstockItemName() | EEPGetRollingstockItemName("Name",Number) | |
|---|---|---|
| type: | function |
EEPGetRollingstockItemName("#FreightTrain",3)
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | two | |
| returns: | one | |
| requires: | EEP 13.2 plug-in2 | |
| purpose: | Returns the name of a specified vehicle in a specified consist | |
| notes: |
|
|
| EEPRollingstockGetTrainName() | EEPRollingstockGetTrainName("Name") | |
|---|---|---|
| type: | function |
hResult, Name = EEPRollingstockGetTrainName("Castor 1" )
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | one | |
| returns: | two | |
| requires: | EEP 14.2 Plug-In 2 | |
| purpose: | Enquires the name of the train the rolling stock is a member of. | |
| notes: |
|
|
| EEPRollingstockGetLength() | EEPRollingstockGetLength("Name") | |
|---|---|---|
| type: | function |
hResult, Laenge = EEPRollingstockGetLength("Container 0100")
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | one | |
| returns: | two | |
| requires: | EEP 14.2 Plug-In 2 | |
| purpose: | Gets the length of a vehicle. | |
| notes: |
|
|
| EEPRollingstockGetMotor() | EEPRollingstockGetMotor("Name") | |
|---|---|---|
| type: | function |
hResult, Motor = EEPRollingstockGetMotor("DB_360_339")
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | one | |
| returns: | two | |
| requires: | EEP 14.2 Plug-In 2 | |
| purpose: | Enquires wether there is a motor to a vehicle. | |
| notes: |
|
|
| EEPRollingstockGetTrack() | EEPRollingstockGetTrack("Name") | |
|---|---|---|
| type: | function |
hResult, ID, Position, Richtung, System = EEPRollingstockGetTrack( "BR 212 376-8" )
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | one | |
| returns: | five | |
| requires: | EEP 14.2 Plug-In 2 | |
| purpose: | Enquires the current position of the vehicle on the track system. | |
| notes: |
|
|
| EEPRollingstockGetModelType() | EEPRollingstockGetModelType("VehicleName") | |
|---|---|---|
| type: | function |
hResult , Typ = EEPRollingstockGetModelType( "Castor 1" )
|
| caller: | script | |
| defined in: | EEP | |
| parameters: | one | |
| returns: | two | |
| requires: | EEP 14.2 Plug-In 2 | |
| purpose: | Enquires the model category a rolling stock belongs to. | |
| notes: |
|
|