acemod / ACE3

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

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

Closed PabstMirror closed 4 weeks ago

PabstMirror commented 1 month 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 4 weeks ago

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