Add TR3 bats emitter#4
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c80814899f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (Objects[ID_TR3_BATS_EMITTER].loaded) | ||
| ClearTr3Bats(); |
There was a problem hiding this comment.
Reset TR3 bat swarm state during level cleanup
Tr3Bats is only cleared from InitializeTr3BatsEmitter(), so swarm state survives until an emitter item is initialized. If a player leaves a level with active TR3 bats and loads a level where the slot is loaded but no emitter item runs initialization, stale Tr3Bats entries remain On and continue updating/rendering unexpectedly. This needs a global reset path (like other swarms) instead of relying on per-item initialization.
Useful? React with 👍 / 👎.
Summary
TR3_BATS_EMITTERas object slot 198 and expose it to TEN object IDs.Verification
TombEnginelocally asRelease|x64before preparing the PR package.C:\Users\bobic\Downloads\normals\new tr3 bats\Engineand verified the copiedTombEngine.exehash matched the build output.