Messagetoclient problem
by DejaBlue · in Torque Game Engine · 11/12/2005 (7:53 pm) · 3 replies
Question on the messageclient.
i have implemented this and everyone is working no errors at all. the problem is the bots dmg and message to client for example
%Msg = %client.getShapeName()@" hits you for "@%client.getMountedImage(0).BaseDamage;
MessageClient(%targetObject,'Attack', %Msg);
doesnt send anything to my chat window but if i echo it with
echo("Bot hitting:" @%msg);
i get all the information. on other messages the player hitting kork works just fine ONLY the bot section of hits and misses are not showing up and have tried everything i could to figure out why it isn't working to no avail
so dreamer or anyone else, why would the section for the bot autoattack just the client messages not show up?
here is url for the stuff i added
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7583
its in the section of cmdautoattack..
he fights me fine, just doesnt show the messages to client
i have implemented this and everyone is working no errors at all. the problem is the bots dmg and message to client for example
%Msg = %client.getShapeName()@" hits you for "@%client.getMountedImage(0).BaseDamage;
MessageClient(%targetObject,'Attack', %Msg);
doesnt send anything to my chat window but if i echo it with
echo("Bot hitting:" @%msg);
i get all the information. on other messages the player hitting kork works just fine ONLY the bot section of hits and misses are not showing up and have tried everything i could to figure out why it isn't working to no avail
so dreamer or anyone else, why would the section for the bot autoattack just the client messages not show up?
here is url for the stuff i added
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7583
its in the section of cmdautoattack..
he fights me fine, just doesnt show the messages to client
About the author
Torque Owner Jimomighty