Jump to content
Sign in to follow this  
kirkherbstreit

Continuously check all Opfor units' knowsAbout level

Recommended Posts

I've seen scripts that do this for arrays of enemies, however I found that these aren't working for my case because I have randomly generating Opfor at all times.

What I need is a trigger condition that continuously checks each present Opfor unit's knowsAbout level on the player. Is the solution in the "count AllUnits > 0" script?

Share this post


Link to post
Share on other sites

From what I remember allunits only works at the start of a mission it doesn't count spawned units

set the size to cover the area you wish to check

OPFOR present repeating

cond

round (time %1) == 1 and {_x knowsabout player > 1} count thislist > 0 

on act

your script

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  

×