OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: jakenoble on 30 Jan 2004, 17:16:42

Title: "AIunit" able to see/view "unit"
Post by: jakenoble on 30 Jan 2004, 17:16:42
How can i construct a script or trigger, so that WHEN AIUNIT views PLAYER THEN AIUNIT COMBATMODE STEALTH. i know how to set combatmode, dofire, do target, etc.

its just setting the condition fot activation as able to view/see the player.

Thanks

Jake
Title: Re:"AIunit" able to see/view "unit"
Post by: _hammy_ on 30 Jan 2004, 17:26:01
not sure about that, im a little rusty on ofp scripting :P

you could mess around with the knowsAbout command
for more information on the command, download my command reference thats in my sig ;)