View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003308 | The Dark Mod | Coding | public | 27.01.2013 00:11 | 08.01.2023 03:20 |
Reporter | tels | Assigned To | nbohr1more | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Product Version | TDM 1.08 | ||||
Fixed in Version | TDM 2.00 | ||||
Summary | 0003308: Targets of worldspawn are triggered in frame 0, but their script objects are initialized later | ||||
Description | In case of entities with script objects, targeting them from worldspawn at map start does not work. A light f.i. that starts on, and should be turned off, stays on. The reason is that the triggering happens in frame 0, bevore the script object is initialized. It later initializes the light again to be on based on the spawnargs. | ||||
Steps To Reproduce | Target atdm:lamp_electric_grill_lit from worldspawn. | ||||
Additional Information | This can be fixed in two ways: Toggling a light on/off can change the spawnargs, so the later init() call in tdm_light_holder will do the right thing. Alternatively, we could delay the targeting from worldspawn by 1 or 2 frames. | ||||
Tags | No tags attached. | ||||
If anyone thinks it's important to fix this for 2.0, or is volunteering to do so, please speak up now; otherwise I'll remove it from the roadmap for 2.0. | |
I took a look at this, and can't duplicate the problem. I targeted a lit light from worldspawn, and it was off when the map started. Looking in the code, I can see that worldspawn triggers its targets in frame 0. When I hit a button that also targets the light, the light turns on and off normally. So I don't know what the problem is. Perhaps tels already fixed it. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
27.01.2013 00:11 | tels | New Issue | |
27.01.2013 00:11 | tels | Status | new => assigned |
27.01.2013 00:11 | tels | Assigned To | => tels |
27.01.2013 00:12 | tels | Relationship added | related to 0003302 |
15.05.2013 15:26 | tels | Assigned To | tels => |
03.06.2013 02:21 | grayman | Assigned To | => grayman |
03.06.2013 02:21 | grayman | Status | assigned => new |
03.06.2013 02:23 | grayman | Assigned To | grayman => |
14.07.2013 14:42 | Springheel | Note Added: 0005723 | |
23.07.2013 19:51 | grayman | Note Added: 0005877 | |
02.08.2013 20:28 | Springheel | Target Version | TDM 2.00 => |
08.01.2023 03:20 | nbohr1more | Assigned To | => nbohr1more |
08.01.2023 03:20 | nbohr1more | Status | new => closed |
08.01.2023 03:20 | nbohr1more | Resolution | open => unable to reproduce |
08.01.2023 03:20 | nbohr1more | Fixed in Version | => TDM 2.00 |