nuggetz 0 Posted December 20, 2009 I have a question about being detected by enemy AI. Say I'm heading toward a town controlled by the enemy AI and I'm riding in the back of a neutral vehicle like a Ural, what sort of detection mechanism does the AI use to detect me? I know how triggers work in the editor and it seems that its based on the presence of one side or another or being detected as OPFOR or BLUFOR etc, but is there anyway to script detection so that its more realistic? If I hijack an enemies vehicle for example and roll into town, would the AI immediately detect you as an enemy? What's the criteria? Could one pose as a civilian for example? Is it possible to implement any sort of spy type missions in ARMA2 or does the game not allow that level of scripting/design? Share this post Link to post Share on other sites
VictorFarbau 0 Posted December 20, 2009 The script command you look for is "player setcaptive true". Idea: // after player gets into car player setcaptive true; WHILE {vehicle player != player} DO {sleep 1}; player setcaptive false; Player is set to "neutral" - nobody will mind you. As long as you're mounted in any vehicle the loop will run and check anew each second. After you leave the vehicle your status resumes to default (enemy to west/east/whoever). Just an idea to get started... Cheers, VictorFarbau Share this post Link to post Share on other sites