New script actions for enabling & disabling AI triggers - #565
Conversation
Ai trigger manipulation. More information in the documentation
|
These triggers were tested by me with and currently I haven't found any new bug. |
|
Nightly build for this pull request:
|
|
For testing this PR: |
- Split non-PR and main branch nightly build PRs - Use PR HEAD instead of merge commit
…-manipulation-actions
…-manipulation-actions
…-manipulation-actions
…-manipulation-actions
…-manipulation-actions
…-manipulation-actions
Changed action numbers: SetSideIdxForManagingTriggers = 127 -> 16005, SetHouseIdxForManagingTriggers = 128 -> 16006, ManageAllAITriggers = 129 -> 16007, EnableTriggersFromList = 130 -> 16008, DisableTriggersFromList = 131 -> 16009, DisableTriggersWithObjects = 133 -> 16010, EnableTriggersWithObjects = 132 -> 16011,
And updated the action ranges of these new actions
Applied all the feedback to these AITrigger manipulation functions. I also tweaked some "return" that didn't explain "why" and avoided an infinite loop. Tweaked ScriptExt::SetCloseEnoughDistance() with a small change not related to this PR (is too small for a PR and isn't a bug).
|
I rewrote HouseExt::GetHouseIndex(...) with the requested changes. I also tweaked ScriptExt::SetCloseEnoughDistance() with a small change not related to this PR (is too small for a PR and isn't a bug). I still have to touch that documentation mistake :-/ |
|
I didn't notice that 16005 has been occupied by another script Action so I'll move the number to the first emply. |
Before: 16005 After: 16012 Reason: Another one was merged and took the 16005
Due to review feedback
…-manipulation-actions
|
Added the FA2 documentation, if is something missing tell me something :-D |
2128644 to
799ea22
Compare
b429215 to
280b1c8
Compare
Ai trigger manipulation. More information in the documentation
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Refactor