-
Notifications
You must be signed in to change notification settings - Fork 737
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
Common - Add setDead
API
#10045
Common - Add setDead
API
#10045
Conversation
Do we want to add a callable event for this, so that units can be killed from any client? |
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
…into common-set-dead-api
in ace_medical_statemachine_fnc_enteredStateDeath we could add should give us a more accurate killed EH, but I'm not sure what side effects it might have |
maybe merge now and I can do that in a followup |
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.
Add an event at the same time?
ace_killed should already fire, unless you mean event to kill remote units |
That only fires with medical enabled right? And it also won't include the reason string |
I'm not sure if we want to add events when I added the reason as a param for when |
We can add events in another PR if it's necessary. |
* Added `setDead` API * Update XEH_PREP.hpp * Update fnc_setDead.sqf * Update addons/common/functions/fnc_disableUserInput.sqf Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Update fnc_setDead.sqf * Added warning for non-local units --------- Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
When merged this pull request will:
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}
.