MantisBT - Zandronum
View Issue Details
0003872Zandronum[All Projects] Bugpublic2021-01-07 02:462024-04-07 22:17
Gen420 
 
normalminoralways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
3.0 
3.13.1 
0003872: LineAttack Always from Activator instead of Documented TID
This is a reminder that the fork Zan 3.0 took over from [520-gd83f048 and older] has an incorrection on the ACS Command LineAttack - on the first argument, it's documented as tid, but in the source code, it's been copy pasted to still be the activator of the script.

This causes confusion when scripting. Possibly, a hell of a waste of time, and an outright lie. Thanks, DavidPH!
1. Make ACS Script with LineAttack, specify TID.
2. Notice the Hitscan attack isn't coming from the TID, but from the activator.
3. Change the activator via SetActivator, to already mentioned TID.
4. The hitscan attack now comes from the 'TID'.
Graf Zahl's statement: "Indeed. That line's just flat out wrong."
No tags attached.
? 3072.wad (1,897) 2024-04-07 22:17
https://zandronum.com/tracker/file_download.php?file_id=2954&type=bug
Issue History
2021-01-07 02:46Gen420New Issue
2021-08-08 20:46KaminskyNote Added: 0021702
2021-08-08 20:46KaminskyStatusnew => needs testing
2024-04-07 22:17Ru5tK1ngFile Added: 3072.wad
2024-04-07 22:17Ru5tK1ngNote Added: 0023541
2024-04-07 22:17Ru5tK1ngStatusneeds testing => resolved
2024-04-07 22:17Ru5tK1ngResolutionopen => fixed
2024-04-07 22:17Ru5tK1ngFixed in Version => 3.1
2024-04-07 22:17Ru5tK1ngTarget Version => 3.1

Notes
(0021702)
Kaminsky   
2021-08-08 20:46   
This GZDoom commit:'https://github.com/coelckers/gzdoom/commit/400a573e6505f4759d98774726a40ac701187d04 [^]' got backported into Zandronum, so LineAttack's TID parameter should now behave properly.
(0023541)
Ru5tK1ng   
2024-04-07 22:17   
Tried testwad with 3.1 online and offline and the lineattack worked properly.