[script] Enemies detecting players only within some range
- wolfenswan
- Posts: 1209
- Joined: Wed May 25, 2011 4:59 pm
Re: [script] Enemies detecting players only within some rang
try a while {alive car} loop that constantly does doTarget car doFire car sleep 1
Folk ARPS Mission Making Template & FAQ
Helpful tools and guides for mission-makers
Our home-brewn scripting guides, snippets and more
My ARMA3 Missions - to download select a branch and pick "Download ZIP".
Helpful tools and guides for mission-makers
Our home-brewn scripting guides, snippets and more
My ARMA3 Missions - to download select a branch and pick "Download ZIP".
-
- Posts: 335
- Joined: Sun May 27, 2012 12:11 pm
Re: [script] Enemies detecting players only within some rang
Another hacky way would be to check if the vehicle's empty, and if it is, spawn an enemy dude, hide him, and move him into the driver seat. Then why not even reveal him to be sure.
-
- Posts: 84
- Joined: Thu Sep 05, 2013 8:30 am
Re: [script] Enemies detecting players only within some rang
Sounds like a plan! Will doFire pick a suitable weapon for the target, such as switching to an AT weapon if they have one? Just shooting the car with small arms will take a while.wolfenswan wrote:try a while {alive car} loop that constantly does doTarget car doFire car sleep 1
Mhmm, that might work. I tried something similar before, but might have messed it up somehow, is there an easy way to make the invisible man scoot over if someone else wants to drive?Black Mamba wrote:Another hacky way would be to check if the vehicle's empty, and if it is, spawn an enemy dude, hide him, and move him into the driver seat. Then why not even reveal him to be sure.