View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000546 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-04-06 07:34 | 2017-04-06 10:55 |
Reporter | PillowBlaster | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Summary | 0000546: GETOWNER flag is not working as intended | ||||
Description | https://zdoom.org/wiki/Actor_flags#GETOWNER so far I tried this flag, it simply isn't doing what says on the tin - the trail actor keeps targeting the projectile - unless I am missing something stupid here. Tried with gzdoom g2.4.0, and gzdoom-x64-2.5pre-268-gca4888e. | ||||
Steps To Reproduce | Here's a testing rocket launcher I made. It fires rockets that spawn exploding trails, which aren't supposed to harm the player, yet they still do. On regular fire, it fires a decorate-based rocket, also summons particles that warp to target pointer. They are clearly still warping to the projectile instead of the player. The alt-fire sends a zscript-based rocket, in case this was supposed to only work with zscript. | ||||
Tags | No tags attached. | ||||
Two things wrong here.
|
|
Looking at the code of the FastProjectile class, the check for the flag is done on the fast projectile itself, not the trail. https://github.com/coelckers/gzdoom/blob/master/wadsrc/static/zscript/shared/fastprojectile.txt#L29 |
|
That too! Corrected the wiki. |
|
That'd explain a whole lot, cause I forgot to mention that I do have the projectile applied to the zscripted trail as well. EDIT: Not that it should really matter, cause it should work without it as well, so far I tried on this, corrected case. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-06 07:34 | PillowBlaster | New Issue | |
2017-04-06 09:06 | Major Cooke | Note Added: 0001259 | |
2017-04-06 09:08 | Major Cooke | Note Edited: 0001259 | View Revisions |
2017-04-06 09:08 | Blue Shadow | Note Added: 0001260 | |
2017-04-06 09:09 | Major Cooke | Note Added: 0001261 | |
2017-04-06 09:09 | Blue Shadow | Note Edited: 0001260 | View Revisions |
2017-04-06 09:10 | Major Cooke | Note Edited: 0001261 | View Revisions |
2017-04-06 09:34 | Graf Zahl | Status | new => closed |
2017-04-06 09:34 | Graf Zahl | Resolution | open => no change required |
2017-04-06 10:54 | PillowBlaster | Note Added: 0001262 | |
2017-04-06 10:55 | PillowBlaster | Note Edited: 0001262 | View Revisions |