Jump to content

unit is visible


Arzok

Recommended Posts

SetWorkArmy ( ARMY , 1 )

SET @flag = UnitsIsVisible ( army , 1 , unit , @unit , all )

If the flag is true, it means that a soldier of the army 1 can see the soldier "@unit" of the army 2

Army one is the player. So I can make a trigger that stop for a while the move and the fire of an IA unit. So it disapears, then after 10 seconds, the IA soldier continue is movement.

I hope that with this kind of trigger, the approach of the IA will be almost indetectable !

Link to comment
Share on other sites

×
×
  • Create New...