-
Notifications
You must be signed in to change notification settings - Fork 75
Trigger an Event in XComUnitPawn.PlayHitEffects #826
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -381,19 +381,20 @@ simulated function DamageTypeHitEffectContainer GetDamageTypeHitEffectContainer( | |
| /// Allows listeners to override the default behavior of XComUnitPawn.PlayHitEffects | ||
| /// This is especially useful for preventing the hardcoded templar fx for | ||
| /// eHit_Parry, eHit_Reflect and eHit_Deflect which play for any abilities that utilizing these hit results. | ||
| /// If OverrideHitEffect is set to true the PlayHitEffects function will return early and the default behavior is ommited. | ||
| /// | ||
| /// ```unrealscript | ||
| /// EventID: OverrideHitEffects | ||
| /// EventData: XComLWTuple { | ||
| /// Data: [ | ||
| /// out bool OverrideHitEffect, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should clarify in the body of the docs above what impact this value has (so modders don't need to look into the source code to find out). I know it can be inferred, but I can only be confident in the inference because I looked at the code. A more subtle question is whether changing the event values below affects
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @pledbrook is that more clear now with that addition? |
||
| /// inout float Damage | ||
| /// inout Actor InstigatedBy | ||
| /// inout vector HitLocation | ||
| /// inout name DamageTypeName | ||
| /// inout vector Momentum | ||
| /// inout bool bIsUnitRuptured | ||
| /// inout EAbilityHitResult HitResult | ||
| /// inout float Damage, | ||
| /// inout Actor InstigatedBy, | ||
| /// inout vector HitLocation, | ||
| /// inout name DamageTypeName, | ||
| /// inout vector Momentum, | ||
| /// inout bool bIsUnitRuptured, | ||
| /// inout EAbilityHitResult HitResult, | ||
| /// ] | ||
| /// } | ||
| /// EventSource: self (XComUnitPawn) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.