Home   Help Search Login Register  

Author Topic: Scouts  (Read 457 times)

0 Members and 1 Guest are viewing this topic.

DDT

  • Guest
Scouts
« on: 20 Jul 2003, 02:49:38 »
I came here because i know somebody has the answer to my question.  OK i have a scout platoon made up .50 cals, m60's and 240B's.  What would i use that makes them scour the terrain to find enemy and if they come in contact (seen)they hit the gas and run like hell.  If they dont get seen is there a way they can find some kind of fake hide and give me updates on there position.  Also is there a humvee that has a MK19Gl on the turret.  Thanks

Kaliyuga

  • Guest
Re:Scouts
« Reply #1 on: 20 Jul 2003, 03:45:51 »
Sounds to me like you need the knowsabout command combined with a switch trigger.


Command:
KnowsAbout
 
Description:
Tells how much one unit knows about another.
 
Syntax:
Unit1 KnowsAbout Unit2

Unit1 is the name of a unit
Unit2 is the name of another unit
 
Returns:
Value between 0 and 4.

0 means Unit1 does not know about Unit2
4 means Unit1 knows exactly where Unit2 is, and what he is.


This value will decrease over time and distance. Will also lower if unit1 is not in view of unit 2 (i.e. behind bushes).  
 
Notes:
Units will not fire at an enemy unit if the knowsabout value is 1 or less.

Example:

 Place this inside the condition field of your trigger:

?(MyScout KnowsAbout MyEnemy > 2)


i'm not too hot on advanced syntax myself  ::)  

 but It would seem to me that you might be able to  put the following into the init line of your scout group leader  perhaps:

MyScout=group this

to make the entire scout group be able to set off the trigger by detecting the named enemy.

:cheers: