by
Rob Wright >> Mon, 13 Nov 2000 22:51:47 GMT
I dont know if you are still wondering about this - but here is some simple code to show using an agent control....I am assuming that you can install the appropriate .acs files for the agents that you are after...this was just a quick knock up I did to show someone about ActiveX - but it may help
vars
merlin : IAgentCtlCharacterEx;
begin
//demo of using actors in JADE 5.1.07
create merlin;
agent1.characters.load ("merlin", "c:\windows\msagent\chars\merlin.acs"); merlin:=agent1.characters.character("Merlin");
merlin.show(0);
merlin.speak("Hello there",null);
merlin.moveTo(400,400,1);
//or whatever actions etc take your fancy
end;