Haptek Authoring & Development Guide

Up

Haptek Hypertext Reference

Haptek Inc
931 Pacific Avenue
Santa Cruz, CA 95060
www.haptek.com
November 2002


Contents



Overview

Haptek Hypertext is the name given to the textual commands and queries by which a programmer or designer controls the Hapek API and characters. (The name 'hypertext' is something of a misnomer, as it only vaguely resembles other 'hypertexts' such as HTML.) These commands are used to load characters into the scene, issue stage-directions, play scripts and sounds, control text-to-speech, trigger animations, etc. Commands can be sent to the API or Player either one-at-a-time, or several-at-a-time, or can be stored in script files which may be played back. The commands and querries are text-only.

When in an HTML environment, use the SendText() and HapQuery() functions in the JavaScript Wrapper.
For examples of queries and commands in VC and other ActiveX environments, see the ActiveX Programming Guide.



Syntax


Command Files and Scripts


Execution Order

Debugging



Examples

Most commands in the reference have examples.
The javascript guide also has many good examples.


Reference

The commands and queries reference is here.