[alicebot-developer] Javascript problem
Ioannis
alicebot-developer@list.alicebot.org
Sat, 13 Aug 2005 09:01:21 +0300
Hi all,
I have the following script in AIML. I am using the AIMLPad ActiveX control
from Gary Dubuque.
<aiml>
<category>
<pattern>run camera animation</pattern>
<template>
<javascript>
function VCTCamera()
{
sprite(6).AppendString('<PlayAnimation
Name="/DA/DATA/Maddy/Realtime/Clips/Camera/Camera3.lws">');
}
</javascript>
OK I will run the camera animation now </template>
</category>
</aiml>
sprite(6) is the location of another active X control (a 3D character
engine) in macromedia director. What I want to do is every time I type "run
camera animation" the character to run the particular animation. Is there
any way to do that? My guess is that in order for the above function to work
I must call it from somewhere. Any ideas?
Please help
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com