Web: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Ray (talk | contribs)
No edit summary
No edit summary
 
Line 8: Line 8:
==Arguments==
==Arguments==
;url :This is the URI that you would like to show on the object<br>'''Values:''' URI String
;url :This is the URI that you would like to show on the object<br>'''Values:''' URI String
;sw :''optional''<br>This is the frame width of the web page to display.<br>'''Values:''' Decimal value > 0.<br>'''Default''': Unknown.
;sw :''optional''<br>This is the frame width of the web page to display.<br>'''Values:''' Decimal value > 0.<br>'''Default''': 512.
;sh :''optional''<br>This is the frame height of the web page to display.<br>'''Values:''' Decimal value > 0.<br>'''Default''': Unknown.
;sh :''optional''<br>This is the frame height of the web page to display.<br>'''Values:''' Decimal value > 0.<br>'''Default''': 512.
;keys :''optional''<br>This will enable the web frame to capture key strokes.<br>'''Values:''' Only 'yes'.<br>'''Default''': Without it, you cannot capture key strokes.
;keys :''optional''<br>This will enable the web frame to capture key strokes.<br>'''Values:''' Only 'yes'.<br>'''Default''': Without it, you cannot capture key strokes.
 
;tag : ''optional''<br>'''Value:''' The tagged(RWX)/named(OBJ, md5mesh) group in the model where the texture should be applied.<br>'''Default''': Not specified, the texture will be applied to the entire model.
==Example==
==Example==
  [[create]] web url=http://google.com sw=1000 sh=500 keys=yes;
  [[create]] web url=http://google.com sw=1000 sh=500 keys=yes;
==History==
Initially an undocumented command called ''dynamictest'' applied a web site to an object as a texture. The name of the command refers to testing of dynamically updated textures. As of version 0.3.66 the dynamictest command still works, but its use is not recommended because it could be removed in a future update.
----
----
{{Build}}
{{Build}}
[[Category: Script commands]]
[[Category: Script commands]]

Latest revision as of 10:54, 15 April 2018

Web
Web Command
Build required --
Version required --


The web command will make use of the Chrome API and produce a viewable web-page on the object.

Usage

web url=url [sw=web frame width] [sh=web frame height] [keys=yes]

Arguments

url
This is the URI that you would like to show on the object
Values: URI String
sw
optional
This is the frame width of the web page to display.
Values: Decimal value > 0.
Default: 512.
sh
optional
This is the frame height of the web page to display.
Values: Decimal value > 0.
Default: 512.
keys
optional
This will enable the web frame to capture key strokes.
Values: Only 'yes'.
Default: Without it, you cannot capture key strokes.
tag
optional
Value: The tagged(RWX)/named(OBJ, md5mesh) group in the model where the texture should be applied.
Default: Not specified, the texture will be applied to the entire model.

Example

create web url=http://google.com sw=1000 sh=500 keys=yes;

History

Initially an undocumented command called dynamictest applied a web site to an object as a texture. The name of the command refers to testing of dynamically updated textures. As of version 0.3.66 the dynamictest command still works, but its use is not recommended because it could be removed in a future update.


Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb