MrZig 0 Posted October 10, 2003 How do I make ai automaticly know where someone is without spotting them? I searched and couldn't find it. Someone please tell me the code, I need this please! I don't want it so "when" ai knows somthing happens, I want it so that the ai "Knows" your there. Hopefully someone understood me. Share this post Link to post Share on other sites
edc 0 Posted October 10, 2003 unit1 knowsAbout unit2 Where unit1 is the unit that will know about unit2 Share this post Link to post Share on other sites
toadeater 0 Posted October 11, 2003 unit1 knowsAbout unit2Where unit1 is the unit that will know about unit2 Knowsabout tells you how much a unit knows about another unit. The command you need is: unit1 reveal unit2 Share this post Link to post Share on other sites
MrZig 0 Posted October 11, 2003 Thank you so much!! Share this post Link to post Share on other sites
MrZig 0 Posted October 11, 2003 Hmmm it doens't seem to work. At night, I do <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">man1 reveal inf and he doesn't shoot at the guy.. Share this post Link to post Share on other sites
Schokohase 0 Posted October 11, 2003 edited: I'm wrong, hurt me please! or better, kill this post! Share this post Link to post Share on other sites
RED 0 Posted October 11, 2003 From the com ref: Quote[/b] ]group reveal unit Operand types: group: Object or Group unit: Object Type of returned value: Nothing Description: Reveal unit to group, do not care if it can know about it or not. Example: soldierOne reveal soldierTwo Name the group man1 is in something like man1group, then: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> man1group reveal inf man1 dotarget inf RED Share this post Link to post Share on other sites
iNeo 0 Posted October 11, 2003 And to name a group, put the following in the leader's init field: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">man1group = group this Share this post Link to post Share on other sites