View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000080 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-01-19 16:00 | 2017-01-19 17:59 |
Reporter | Major Cooke | ||||
Assigned To | Rachael | ||||
Priority | high | Severity | crash | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0000080: Remove broken + crash | ||||
Description | See "Additional Information" for the code. How remove command is BROKEN: Summon twifly, close the console, reopen it and type "remove twifly". 0 actors removed but it's actually still there. (Change the sprite in Twifly to PLAY A 0 if you want proof) How remove command CRASHES: Summon twifly, close the console, reopen it and type "remove twiwing". Instant crash points to the new code introduced in an effort to prevent inventory items from being removed. | ||||
Additional Information | Class Twifly : Actor { const Xoff = 0.0; const Yoff = 2.0; const Zoff = 0.0; TwiWing left; TwiWing right; Default { Radius 1; Height 1; Scale 0.22; +NOINTERACTION +NOBLOCKMAP //+BRIGHT } override void PostBeginPlay() { double wingpos; right = TwiWing(Spawn("TwiWing",pos)); if (right) { right.master = self; right.scale = scale; right.A_Warp(DefPtr,Xoff,Yoff,Zoff,0,WARPF_NOCHECKPOSITION); } left = TwiWing(Spawn("TwiWing",pos)); if (left) { left.master = self; left.scale = scale; left.other = true; left.A_Warp(DefPtr,Xoff,-Yoff,Zoff,0,WARPF_NOCHECKPOSITION); } Super.PostBeginPlay(); } override void OnDestroy() { if (left) left.Destroy(); if (right) right.Destroy(); return; } States { Spawn: N073 ABCD 4; Loop; } } Class TwiWing : Actor { bool other; Default { +NOINTERACTION +NOBLOCKMAP //+BRIGHT Scale 0.22; } States { Spawn: N082 A 0 NoDelay { StateLabel next = "S1"; if (other) { next = "S2"; } return ResolveState(next); } S1: N082 ABCDEFGH 2; Loop; S2: N082 IJKLMNOP 2; Loop; } } | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-01-19 16:00 | Major Cooke | New Issue | |
2017-01-19 17:30 | Rachael | Assigned To | => Rachael |
2017-01-19 17:30 | Rachael | Status | new => assigned |
2017-01-19 17:59 | Rachael | Status | assigned => resolved |
2017-01-19 17:59 | Rachael | Resolution | open => fixed |
2017-01-19 17:59 | Rachael | Note Added: 0000140 |