MantisBT - Zandronum
View Issue Details
0003082Zandronum[All Projects] Bugpublic2017-04-22 23:032017-04-23 19:42
forrestmarkx 
 
highminoralways
closedno change required 
MicrosoftWindowsXP/Vista/7
3.0-beta 
 
0003082: SetActorFlag and CheckActorState are broken
When using these ACS functions they will always return 0 and do nothing no matter what even if the flag and state are present/valid.
Compile a ACS script using the code below then call it on a projectile.

SetActorFlag(0, "NODAMAGETHRUST", TRUE);
Log(d:CheckFlag(0, "NODAMAGETHRUST"));

The log will always report 0.
No tags attached.
Issue History
2017-04-22 23:03forrestmarkxNew Issue
2017-04-23 08:10Torr SamahoNote Added: 0017265
2017-04-23 12:16forrestmarkxNote Added: 0017270
2017-04-23 13:15Torr SamahoNote Added: 0017274
2017-04-23 19:42Torr SamahoNote Added: 0017288
2017-04-23 19:42Torr SamahoStatusnew => closed
2017-04-23 19:42Torr SamahoResolutionopen => no change required

Notes
(0017265)
Torr Samaho   
2017-04-23 08:10   
This is not a bug. Neither of the two functions exist in GZDoom 1.8.6, which Zandronum 3.0 is based on.
(0017270)
forrestmarkx   
2017-04-23 12:16   
That's really weird that CheckFlag exists a ZDoom 2.8.0 ACS function but not SetActorFlag
(0017274)
Torr Samaho   
2017-04-23 13:15   
GZDoom 1.8.6 is newer than ZDoom 2.7.1, but older than ZDoom 2.8.0.
(0017288)
Torr Samaho   
2017-04-23 19:42   
Since this is not a bug, but simply something that doesn't exist in GZDoom 1.8.6, I'm closing this.