Jump to content
Sign in to follow this  
MrZig

Help please!!

Recommended Posts

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

unit1 knowsAbout unit2

Where unit1 is the unit that will know about unit2 smile_o.gif

Share this post


Link to post
Share on other sites
unit1 knowsAbout unit2

Where unit1 is the unit that will know about unit2 smile_o.gif

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

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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×