-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add launcher support to infantry Switch Weapon actions #717
base: master
Are you sure you want to change the base?
Conversation
if (_muzzle == secondaryWeapon _unit) then { | ||
_unit playMove "amovpercmstpsraswlnrdnon"; | ||
_unit disableAI "ANIM"; | ||
} else { | ||
_unit enableAI "ANIM"; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
Co-authored-by: Jouni Järvinen <[email protected]>
When merged this pull request will: