(0022918)
|
Fused
|
2023-10-31 08:36
(edited on: 2023-10-31 08:45) |
|
Hi,
I have gone and tried to find a reasonable explanation for this issue, and it seems like I have found a workaround for the issue.
The thing that continued to stump me was the fact that some of my SwitchableDecorations worked, and some did not. I have uploaded `BrokenExplanation.pk3` which will be used to explain how to work around the issue.
Map: map01
Navigate to `actors/lightsources/candlestick.dec`
This file has three blocks of code, one uncommented and two commented.
1.1 Keep the file as it is with the top part uncommented and test online.
1.2 The candle stick will be inactive regardless of the dormant state.
2.1 Comment the first block and uncomment the second block. Test online.
2.2 Notice the candlestick now correctly shows its active state and dormant state.
3.1 Comment the second block and uncomment the third block. Test online.
3.2 Notice the candlestick now correctly shows its active state and dormant state.
So, for some reason the negative frame state causes this issue, and either properly looping the state or adding a death state fixes the issue.
I can understand the negative frame as this is properly just synching not being quick enough, but why would the death state fix this?
EDIT: It appears the third block hard a bright keyword added by accident. I can confirm that the candlestick still properly works without it.
|
|