Add a custom event to the script

Custom events allow you to link the 3D web player to external objects. You can have the script drive external changes such as visual changes to your web page using DHTML. This way you can link the animation playing in your viewer with textual output on the web page.

Excuse us for the odd names for the custom event parameters. But as you can pass any type of object to a custom event, allowing you to taylor the use of these event to anything you can imagine, we needed a parameter description that captures the complete freedom you have with these events. Gin and Jam (Jam is optional, Gin isn't)

Syntax:

void custom(float time,VARIANT gin, VARIANT jam)
Parameters:
time

The time this event will be fired, relative to the time the script gets started.

gin

The parameter for Gin. Accepts a variant variable type

jam

(optional) The parameter for Jam. Accepts a variant variable type

See also:

Class script |

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.