Creation/Dev/Script/Client/TShowImg: Difference between revisions

From Graal Bible
No edit summary
(Formatted the variables and added text shadow)
Line 1: Line 1:
<pre>
Inherits [[Creation/Dev/Script/Client/TLevelObject|TLevelObject]].
      TShowImg (TLevelObject):
 
        actor - object - If playerlook is false, this object is what inherits the appearance aspect of the animations ( if applied )
=Variables=
        alpha - float
 
        ani - string
{| border="1" cellpadding="2" width="100%"
        attachoffset - string
| '''Name'''
        attachtoowner - boolean
| '''Type'''
        blue - float
| '''Description'''
        code - string - the old representation as 'font@style@text'
|-
        dimension - integer
| actor
        dir - integer
| object
        emitter - object (read only)
| If playerlook is false, this object is what inherits the appearance aspect of the animations ( if applied )
        eulerrotation - string
|-
        font - string
| alpha
        green - float
| float
        image - string
|
        imageindex - integer (read only)
|-
        layer - integer
| ani
        mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
| string
        playerlook - boolean - if the animation should take it's head, body, sword, shield and attr[] from the owner (playerlook), set this to false if you want to set the images yourself by changing showimg.actor.head etc.
|
        polygon - object
|-
        red - float
| attachoffset
        rotation - float
| string
        shape - string
|
        stretchx - float
|-
        stretchy - float
| attachtoowner
        style - string
| boolean
        text - string
|
        x - float
|-
        y - float
| blue
        zoom - float
| float
</pre>
|
|-
| code
| string
| the old representation as 'font@style@text'
|-
| dimension
| integer
|
|-
| dir
| integer
|
|-
| emitter
| object (read only)
|
|-
| eulerrotation
| string
|
|-
| font
| string
|
|-
| green
| float
|
|-
| image
| string
|
|-
| imageindex
| integer (read only)
|
|-
| layer
| integer
|
|-
| mode
| integer
| the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
|-
| playerlook
| boolean
| if the animation should take it's head, body, sword, shield and attr[] from the owner (playerlook), set this to false if you want to set the images yourself by changing actor.head etc.
|-
| polygon
| object
|
|-
| red
| float
|
|-
| rotation
| float
|
|-
| shadowcolor
| string
| of format {red,green,blue}, used in combination with textshadow=true
|-
| shadowoffset
| string
| of format {offsetx,offsety}, used in combination with textshadow=true
|-
| shape
| string
|
|-
| stretchx
| float
|
|-
| stretchy
| float
|
|-
| style
| string
|
|-
| text
| string
|
|-
| textshadow
| boolean
| enables shadow
|-
| x
| float
|
|-
| y
| float
|
|-
| zoom
| float
|
|}

Revision as of 18:50, 16 September 2006

Inherits TLevelObject.

Variables

Name Type Description
actor object If playerlook is false, this object is what inherits the appearance aspect of the animations ( if applied )
alpha float
ani string
attachoffset string
attachtoowner boolean
blue float
code string the old representation as 'font@style@text'
dimension integer
dir integer
emitter object (read only)
eulerrotation string
font string
green float
image string
imageindex integer (read only)
layer integer
mode integer the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
playerlook boolean if the animation should take it's head, body, sword, shield and attr[] from the owner (playerlook), set this to false if you want to set the images yourself by changing actor.head etc.
polygon object
red float
rotation float
shadowcolor string of format {red,green,blue}, used in combination with textshadow=true
shadowoffset string of format {offsetx,offsety}, used in combination with textshadow=true
shape string
stretchx float
stretchy float
style string
text string
textshadow boolean enables shadow
x float
y float
zoom float