acemod / ACE3

Open-source realism mod for Arma 3
https://ace3.acemod.org
Other
1.03k stars 739 forks source link

Missile Guidance - Allow attackProfiles to return [0,0,0] #10352

Closed PabstMirror closed 2 months ago

PabstMirror commented 2 months ago

Shoot ace dagr without any laser source and it spams [ACE] (missileguidance) ERROR: attack profile [LIN] returned bad pos [0,0,0]

this restores to how it worked before rewrite (see line 51)

another possibility is to change _pitchRate to 0 if an attack profile wants to fly straight, but this felt like the simplest way and should have the best backward compatibility

TheCandianVendingMachine commented 2 months ago

should be good? i cant remember why i added this, hopefully doesnt break any guidance