Page MenuHomeFeedback Tracker

doFire doesn't work with shooting targets
New, WishlistPublic

Description

doFire works with soldiers (AI or players) and/or vehicles but doesn't work with shooting target. AI aims target but refuse to shoot. I tried with doTarget and doFire but unsuccessfully.

Details

Legacy ID
1372069346
Severity
None
Resolution
Open
Reproducibility
Always
Category
AI Issues

Event Timeline

FranceLibre edited Additional Information. (Show Details)
FranceLibre set Category to AI Issues.
FranceLibre set Reproducibility to Always.
FranceLibre set Severity to None.
FranceLibre set Resolution to Open.
FranceLibre set Legacy ID to 1372069346.May 7 2016, 6:01 PM
Bohemia added a subscriber: AD2001.Feb 23 2014, 1:56 PM
F2kSel added a subscriber: F2kSel.May 7 2016, 6:01 PM
F2kSel added a comment.Sep 9 2014, 2:04 PM

Dofire seems to have no effect in this game anymore, has it's functionality been removed?

R3vo added a subscriber: R3vo.May 7 2016, 6:01 PM
R3vo added a comment.Sep 9 2014, 3:11 PM

It does work! However not with all vehicles or soldiers and in addition, it doesn't work reliably. It highly depends on the target, the distance and as already mentioned on the unit itself.

Example script:

_shooter = s18;
_target = [Target_1,Target_2,Target_3,Target_4,Target_5];

while {(player distance _shooter > 5)} do
{
{
_shooter setCaptive true;
_shooter setUnitPos "MIDDLE";
_shooter doTarget _x;
_shooter doFire _x;

} foreach _target;
};

All in all I think, this command should either be overhauled and documented correctly, or removed entirely.
Maybe a new command or function, which combines doTarget and doFire?

with Kind Regards

R3vo

This script only worked for me with a Sniper unit.

F2kSel added a comment.Sep 9 2014, 3:48 PM

Confirmed only working with sniper.

R3vo removed a subscriber: R3vo.Jul 21 2021, 6:03 PM