View Issue Details

IDProjectCategoryView StatusLast Update
0002508FSSCPSEXPspublic2011-09-23 23:04
ReporterAlan Bolte Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionno change required 
Product Version3.2 
Summary0002508: Ship Guardian
DescriptionThis is a retail SEXP which isn't reliable.

According to MatthTheGeek:
"The retail mission Bearbaiting is a good example of guardian failing. The Phoenicia is often killed before the guardian is triggered."

Additional InformationThis is a known issue to the point that it's mentioned in FREDing tutorials, so I'm not really clear on why it wasn't in Mantis already.
TagsNo tags attached.

Activities

The_E

2011-09-23 22:56

administrator   ~0012849

This is NOT a code issue. It's an issue with how the mission was FREDed; as such, it does NOT belong here.

The_E

2011-09-23 23:04

administrator   ~0012850

To be more precise, the reason why this happens is this: Let us assume you have a ship in a mission that is at >4% Health, with an event that guardians it once it goes below that.

When a ship gets hit by a weapon, the damage total is calculated and applied _after_ the sexps have been evaluated. So, if our ship is above the trigger threshold when the sexps are evaluated, but dead in the next frame, the event will never fire.

This is by design, and changing it might have any number of consequences, not to mention that doing so would be decidedly nontrivial. So, we're not going to do it. The ways to work around thies (non-)issue are well known, after all.

Issue History

Date Modified Username Field Change
2011-09-23 20:53 Alan Bolte New Issue
2011-09-23 22:56 The_E Note Added: 0012849
2011-09-23 22:56 The_E Status new => closed
2011-09-23 22:56 The_E Resolution open => no change required
2011-09-23 23:04 The_E Note Added: 0012850
2011-09-23 23:04 The_E Status closed => feedback
2011-09-23 23:04 The_E Resolution no change required => reopened
2011-09-23 23:04 The_E Status feedback => closed
2011-09-23 23:04 The_E Resolution reopened => no change required