Snicke 0 Posted March 18, 2007 Is there anyway I can get the lips to move, so that I can pretend a person is chatting. And use sidechat or hint for the text. Tried looking for one in the 'playmove' but none where useful. And one more question. If I make a person with a placement radius. How can I make a waypoint or a trigger on him when I get close to him? Ex. I want a mission where Im searching for a random placed person, and want a trigger when I find him. Share this post Link to post Share on other sites
zwobot 22 Posted March 18, 2007 For the placement radius thing: create a trigger in the editor with the condition: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player distance unitName > 50 with unitName being the name of the unit to find. Another solution would be to permanently check what the player knows about the unit with a trigger too: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player knowsAbout unitName > 0.5 Share this post Link to post Share on other sites
Snicke 0 Posted March 18, 2007 An okei way to do it. But I cant get your sample to work. 'Type Boll, expected nothing.' Share this post Link to post Share on other sites
zwobot 22 Posted March 18, 2007 Which one do you mean? Could you post what you did? Look in the Biki for the syntax of distance and knowsAbout. I have made a mistake with the knowsAbout, it has values between 0 to 4 so rather use: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player knowsAbout unitName > 2 You should also read hardrock's comment about knowsAbout in the Biki. Share this post Link to post Share on other sites
Snicke 0 Posted March 18, 2007 Ahh.. Thanx.. got it to work. Can you help me with this too. Im placing a crate on the map. And want the other player (opfor) to know about it, but not player one. (bluefor) How can I do that? Share this post Link to post Share on other sites
Snicke 0 Posted March 18, 2007 No way to delete own post? *sigh* Share this post Link to post Share on other sites
zwobot 22 Posted March 18, 2007 Ahh.. Thanx.. got it to work.Can you help me with this too. Im placing a crate on the map. And want the other player (opfor) to know about it, but not player one. (bluefor) How can I do that? If you are talking about AI you can reveal the ammo box to the opfor unit reveal <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">opfor_unit reveal ammo_box But I am not sure if reveal works on empty objects. If both units are human you could place a marker... Share this post Link to post Share on other sites
rick rawlings 2 Posted May 13, 2007 Anybody got any ideas on the front end of this question? Getting the lips to move without them actually saying anything, just to appear that they are talking for a certain amount of time? Thanks! Rick Share this post Link to post Share on other sites