Tag Text Functions
Aus EEP Handbuch
Version vom 10. September 2018, 05:16 Uhr von Marc Horstmann (Diskussion | Beiträge)
EEPStructureSetTagText() | EEPStructureSetTagText("Lua_Name","Text") | |
---|---|---|
type: | function |
EEPStructureSetTagText( "#1", "occupied:2,3,5,8" ) |
caller: | script | |
defined in: | EEP | |
parameters: | two | |
returns: | one | |
requires: | EEP 14.2 Plug-In 2 | |
purpose: | Changes the tag-text of a static structure. Each structure now can carry an arbitrary string of maximal 1024 characters. These strings are saved and loaded with the layout. | |
notes: |
|
EEPStructureGetTagText() | EEPStructureGetTagText("Name") | |
---|---|---|
type: | function |
hResult , Text = EEPStructureGetTagText("#1") |
caller: | script | |
defined in: | EEP | |
parameters: | one | |
returns: | two | |
requires: | EEP 14.2 Plug-In 2 | |
purpose: | Reads the tag-text of a static structure. With these strings structures can serve as permanent storage for important information. | |
notes: |
|
EEPRollingstockSetTagText() | EEPRollingstockSetTagText("Lua_Name","Text") | |
---|---|---|
type: | function |
EEPRollingstockSetTagText("DB Zcs-Eva", "Tank car") |
caller: | script | |
defined in: | EEP | |
parameters: | two | |
returns: | one | |
requires: | EEP 14.2 Plug-In 2 | |
purpose: | Changes the tag-text of a vehicle. Each rolling stock now can carry an arbitrary string of maximal 1024 characters. These strings are saved and loaded with the layout. Since these strings are assigned to an individual rolling stock, they won't get lost on coupling or uncoupling trains. | |
notes: |
|
EEPRollingstockGetTagText() | EEPRollingstockGetTagText("Name") | |
---|---|---|
type: | function |
hResult , Text = EEPRollingstockGetTagText("DB Zcs-Eva") |
caller: | script | |
defined in: | EEP | |
parameters: | one | |
returns: | two | |
requires: | EEP 14.2 Plug-In 2 | |
purpose: | Reads the tag-text of a vehicle. With the tag-text rolling stock now can get categorized, e.g. if waggon types or destinations are to be stored. | |
notes: |
|