Add launcher support to infantry Switch Weapon actions#717
Open
ampersand38 wants to merge 5 commits intozen-mod:masterfrom
Open
Add launcher support to infantry Switch Weapon actions#717ampersand38 wants to merge 5 commits intozen-mod:masterfrom
ampersand38 wants to merge 5 commits intozen-mod:masterfrom
Conversation
mharis001
reviewed
Apr 3, 2023
Comment on lines
+179
to
+184
| if (_muzzle == secondaryWeapon _unit) then { | ||
| _unit playMove "amovpercmstpsraswlnrdnon"; | ||
| _unit disableAI "ANIM"; | ||
| } else { | ||
| _unit enableAI "ANIM"; | ||
| }; |
Member
There was a problem hiding this comment.
I think this is a decent workaround. However, IMO would be better placed in the switchWeapon function itself (since it is specifically used for that).
Member
Author
There was a problem hiding this comment.
switchWeapon function is local to the curator, and these need to be local to the AI. should I make a separate switchWeapon[Curator/Local] event?
rautamiekka
suggested changes
Oct 12, 2023
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When merged this pull request will: