Sign: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
m (m)
Line 4: Line 4:


==Usage==
==Usage==
     sign [color=''text color''] [bcolor=''background color''] [margin=''margin'']  
     '''sign''' [''color=''] [''bcolor=''] [''margin=''] [''vmargin=''] [''hmargin=''] [''align=''] [''shadow'']
    [vmargin=''vertical magin''] [hmargin=''horizontal magin''] [align=''alignment''] [''shadow'']


==Arguments==  
==Arguments==  
; Text Color : The foreground color of the sign text<br>'''Values:''' Color Names, Hexadecimal colors<br>'''Default:''' White
; Color : The foreground color of the sign text<br>'''Values:''' Color Names, Hexadecimal colors<br>'''Default:''' White
; Background Color : The background color of the sign<br>'''Values:''' Color Names, Hexadecimal colors<br>'''Default:''' Blue
; Bcolor : The background color of the sign<br>'''Values:''' Color Names, Hexadecimal colors<br>'''Default:''' Blue
; Vertical Margin : The space between the edge of the sign, and the top of the text<br>'''Values:''' Decimal numbers greater than 0.0<br>'''Default:''' 0.0
; Margin : The overall margin of the sign. Same as setting HMargin and VMargin to the same value<br>'''Values:''' Decimal numbers greater than 0.0<br>'''Default:''' 0.0
; Horizontal Margin : The space between the left/right edges of the sign, and the left/right edges of the text<br>'''Values:''' Decimal numbers greater than 0.0<br>'''Default:''' 0.0
; Vmargin : The space between the edge of the sign, and the top of the text<br>'''Values:''' Decimal numbers greater than 0.0<br>'''Default:''' 0.0
; Alignment : Controls the general anchor point of the text<br>'''Values:''' Left, Right, Center<br>'''Default:''' Center
; Hmargin : The space between the left/right edges of the sign, and the left/right edges of the text<br>'''Values:''' Decimal numbers greater than 0.0<br>'''Default:''' 0.0
; Align : Controls the general anchor point of the text<br>'''Values:''' Left, Right, Center<br>'''Default:''' Center
; Shadow : Adds a 1 Pixel black shadow to the text<br>'''Values:''' On, Off<br>'''Default:''' Off
; Shadow : Adds a 1 Pixel black shadow to the text<br>'''Values:''' On, Off<br>'''Default:''' Off



Revision as of 23:58, 12 November 2012

Sign
Vp sign example.png
Sign with example code applied
Build required 1
Version required 0.3.0


The sign command allows the user to create text on objects which are able to receive sign textures.

Usage

   sign [color=] [bcolor=] [margin=] [vmargin=] [hmargin=] [align=] [shadow]

Arguments

Color
The foreground color of the sign text
Values: Color Names, Hexadecimal colors
Default: White
Bcolor
The background color of the sign
Values: Color Names, Hexadecimal colors
Default: Blue
Margin
The overall margin of the sign. Same as setting HMargin and VMargin to the same value
Values: Decimal numbers greater than 0.0
Default: 0.0
Vmargin
The space between the edge of the sign, and the top of the text
Values: Decimal numbers greater than 0.0
Default: 0.0
Hmargin
The space between the left/right edges of the sign, and the left/right edges of the text
Values: Decimal numbers greater than 0.0
Default: 0.0
Align
Controls the general anchor point of the text
Values: Left, Right, Center
Default: Center
Shadow
Adds a 1 Pixel black shadow to the text
Values: On, Off
Default: Off

Example

create sign color=white bcolor=darkblue vmargin=40.0 hmargin=2.0 align=center shadow


Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb