TextureText Functions: Unterschied zwischen den Versionen

Aus EEP Handbuch
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „ <table width="90%" align="center" border="1" style="border: 1px solid black; border-collapse: collapse;"> <tr> <th colspan="2">EEP<font…“)
 
(kein Unterschied)

Aktuelle Version vom 10. September 2018, 05:48 Uhr

EEP_X_SetTextureText() EEP_X_SetTextureText("Lua_Name",Slot,"Text")
type: function
    EEPStructureSetTextureText( "#1" , 1, "Neustadt" ) 
                
caller: script
defined in: EEP
parameters: three
returns: one
requires: EEP 14.2 Plug-In 2
purpose: Assignes a new text to a labelable surface of a model.
notes:
  • For the type of the model, the _X_ is meant to be replaced by one of the following strings:
    • Structure
    • Rollingstock
    • Signal
    • Goods
    • RailTrack
    • RoadTrack
    • TramTrack
    • AuxiliaryTrack
  • The first argument is the Lua-name of the element. The element number with prefix # is sufficient.
  • The second argument is the id of the surface, that is supposed to display the text. It is due to the model, how many labelable faces are supported.
  • Return value is true if the function was executed successfully, else false.