View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005751 | Spring engine | Unit Scripting | public | 2017-09-07 09:46 | 2017-09-07 11:09 | ||||
Reporter | StickyStains | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | duplicate | ||||||
Product Version | 103.0 | ||||||||
Target Version | Fixed in Version | 103.0 +git | |||||||
Summary | 0005751: Spring.GetProjectileTarget(proID) invalid on destroyed Projectile | ||||||||
Description | Called in this code, a projectile aiming for ground, revives no valid coordinates in the CallIn Projectile destroyed. Weapon is a Cannon and Projectile destroyed is called. Returned Coordinates are always a table of {[1] = 0,[2] = 0,[3] = 0}. function getProjectileTargetXYZ(proID) targetTypeInt, target = Spring.GetProjectileTarget(proID) if targetTypeInt == GROUND then return target[1], target[2], target[3] end if targetTypeInt == UNIT then ux,uy,uz = Spring.GetUnitPosition(target) return ux,uy,uz end if targetTypeInt == FEATURE then fx,fy,fz = Spring.GetFeaturePosition(target) return fx, fy, fz end if targetTypeInt == PROJECTILE then px,py,pz = Spring.GetProjectilePosition(target) return px,py,pz end end | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Relationships | ||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-09-07 09:46 | StickyStains | New Issue | |
2017-09-07 11:09 | Kloot | Assigned To | => Kloot |
2017-09-07 11:09 | Kloot | Status | new => resolved |
2017-09-07 11:09 | Kloot | Resolution | open => duplicate |
2017-09-07 11:09 | Kloot | Fixed in Version | => 103.0 +git |
2017-09-07 11:09 | Kloot | Note Added: 0018353 | |
2017-09-07 11:09 | Kloot | Relationship added | duplicate of 0005690 |