, Visual C#


- 2


// . .:

myPeedy.LanguageID = 0x409;

// axAgent4:

axAgent4.Characters.Load("Robby", DATAPATH_4);

myRobby = axAgent4.Characters.Character("Robby");

// . .:

myRobby.LanguageID = 0x409;

 

//

// , ,

//, "MoveToMouse" -

// :

mySpeech = "MoveToMouse";

myGenie.Commands.Add(

mySpeech, mySpeech, mySpeech, true, true);

myMerlin.Commands.Add(

mySpeech, mySpeech, mySpeech, true, true);

myPeedy.Commands.Add(

mySpeech, mySpeech, mySpeech, true, true);

myRobby.Commands.Add(

mySpeech, mySpeech, mySpeech, true, true);

//, , ,

// , "Merlin":

mySpeech = "Merlin";

myGenie.Commands.Add(

mySpeech, mySpeech, mySpeech, true, true);

//, , ,

// , "Peedy":

mySpeech = "Peedy";

myMerlin.Commands.Add(

mySpeech, mySpeech, mySpeech, true, true);

//, , ,

// , "Robby":

mySpeech = "Robby";

myPeedy.Commands.Add(

mySpeech, mySpeech, mySpeech, true, true);

//, , ,

// , "Genie":

mySpeech = "Genie";

myRobby.Commands.Add(

mySpeech, mySpeech, mySpeech, true, true);

// , :

mySpeech = "Announce";