Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Apply Damage with more than 1 value at the time? Workaround

Hey, I'm currently stuck with the Problem that I can send only one value/variable with a single call of ApplyDamage, while I Need 2-3 variables being transfered with the same cast. As an example an armor piercing attack: I would Need the Damage value as well as the amount of armor which is penetrated. Calling ApplyDamage twice wouldn't work in this case. Greetings Miwa

Product Version: Not Selected
more ▼

asked Jan 06 '19 at 06:51 PM in Blueprint Scripting

avatar image

14 1 1 1

avatar image Evigmae Jan 07 '19 at 02:06 PM

you can just add them up before sending a single final value though, can't you?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Make your own custom event with as many inputs and outputs as you want. Here is an example below, all inputs are custom.

alt text

more ▼

answered Jan 06 '19 at 10:58 PM

avatar image

Nebula Games Inc
5.3k 27 9 14

avatar image ThompsonN13 Jan 07 '19 at 12:15 AM

doing it this way i would also probably use a interface so that many classes can use the same events.

avatar image Nebula Games Inc Jan 07 '19 at 01:26 AM

Yea interfaces would be better, I was just going with something I could show quick but putting this in an interface would be ideal

avatar image Tanaka_Miwa Jan 11 '19 at 06:33 PM

I knew that it would be something this easy xD Thanks a lot for your replies

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

another idea you could try would be to use apply point damage node and just pass the pierce damage as something in the hit info such as the X in location. its not the cleanest solution but it would probably work i imagine.

alt text

capture.png (147.3 kB)
more ▼

answered Jan 07 '19 at 12:28 AM

avatar image

10.1k 33 9 23

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question