View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002508 | FSSCP | SEXPs | public | 2011-09-23 20:53 | 2011-09-23 23:04 |
| Reporter | Alan Bolte | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | sometimes |
| Status | closed | Resolution | no change required | ||
| Product Version | 3.2 | ||||
| Summary | 0002508: Ship Guardian | ||||
| Description | This 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 Information | This 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. | ||||
| Tags | No tags attached. | ||||
|
|
This is NOT a code issue. It's an issue with how the mission was FREDed; as such, it does NOT belong here. |
|
|
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. |
| 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 |