Robustcolor 30 Posted December 14, 2019 Hi, has anyone here figured out how to use this command properly? supressFor = Force suppressive fire from the unit, will force soldier1 to do suppressive fire to known enemies during 10 seconds. So that means the unit must know about the enemy its suppose to suppress, how can we accomplish that? I want something like this below since i have an Ai group patrolling the area and if knowsAbout _target it will start suppressing it. doSuppressiveFire command is not what i'm after here. if (_group knowsAbout _target > 0) then { { _x suppressfor getposASL _target 10; }count units _group; }; Do we need to reveal target first? _group reveal [_target,4] ? {_x reveal [_target,4]} count units_group; or do we need something else, like doTarget? {_x doTarget getposASL _target} count units_group; Share this post Link to post Share on other sites
pierremgi 4739 Posted December 15, 2019 https://community.bistudio.com/wiki/suppressFor There is no position in syntax. Share this post Link to post Share on other sites
killzone_kid 1326 Posted December 15, 2019 you probably want https://community.bistudio.com/wiki/doSuppressiveFire Share this post Link to post Share on other sites
Robustcolor 30 Posted January 25, 2020 Yeah, seems to be the only option.This command is very sensitive if called to often or maybe i'm doing it wrong, but all the textures starts glitching then the game crashes. So atleast some kind of delay between the calls for doSuppressiveFire is needed. { _x doSuppressiveFire getposASL _target; } count (units _group); Or (units _group) doSuppressiveFire getposASL _target; or maybe it's enough to make the leader of the group call the command? Does it affect rest of the group? leader _group doSuppressiveFire getposASL _target; Share this post Link to post Share on other sites