View Issue Details

IDProjectCategoryView StatusLast Update
0000528Gameplay + OpenGL[All Projects] Bugpublic2017-04-06 03:18
ReporterMatthew the Glutton 
Assigned To 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionno change required 
PlatformOSDebian JessieOS Version
Summary0000528: [73c1451] SXF_ABSOLUTEPOSITION ignored in ZScript
Description
class zombiemanx:zombieman replaces zombieman{
    states{
    pain:
        POSS A 0{
            A_SpawnItemEx("DoomImpBall",0,0,0,flags:SXF_ABSOLUTEPOSITION);
        }
        goto super::pain;
    }
}
Expected: ball appears at (0,0,0) on the map.
Actual: ball appears at zombieman's feet.
TagsNo tags attached.

Relationships

Activities

_mental_

_mental_

2017-04-06 03:17

developer   ~0001256

Last edited: 2017-04-06 03:18

View 3 revisions

The flag works like it should. Please read the corresponding Wiki page carefully:
Wiki wrote

SXF_ABSOLUTEPOSITION - The offset parameters is treated as absolute values. Normally offsetting is done relative to where the actor is facing.

Moreover you can look at the code: calling actor's position has effect in both modes, relative and absolute.

Issue History

Date Modified Username Field Change
2017-04-03 01:13 Matthew the Glutton New Issue
2017-04-06 03:17 _mental_ Status new => resolved
2017-04-06 03:17 _mental_ Resolution open => no change required
2017-04-06 03:17 _mental_ Note Added: 0001256
2017-04-06 03:18 _mental_ Note Edited: 0001256 View Revisions
2017-04-06 03:18 _mental_ Note Edited: 0001256 View Revisions