x

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. 

Can't access events in Actor Component

Hi I am trying to make a health actor component so I can just add it to any actor I want to have health and to die when it loses all of its health.

I though using an Actor Component would be right for this but I can't seem to access "Event Any Damage" which I was going to use to deduct health. How else can I implement this?alt text

Product Version: UE 4.7
Tags:
helppic.png (156.7 kB)
more ▼

asked May 21 '15 at 02:00 PM in Blueprint Scripting

avatar image

00george
26 1 2 3

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

3 answers: sort voted first
more ▼

answered May 21 '15 at 03:20 PM

avatar image

00george
26 1 2 3

avatar image Matthew J May 21 '15 at 03:23 PM

Glad to hear you found the solution, have a nice day!

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

Hi 00george,

Are you sure that this is a blueprint of the actor class? I right clicked in the content browser, selected 'Blueprint Class' and then selected 'Actor'.

Edit: I misread, I see that you're using an actor component. I'll see if I can find a way to access that event from an actor component blueprint.

more ▼

answered May 21 '15 at 02:43 PM

avatar image 00george May 21 '15 at 03:18 PM

Hi thanks for taking the time to reply. I got a solution here http://www.reddit.com/r/unrealengine/comments/36qzy9/cant_access_events_in_actor_component/

Hope this helps anyone else who needs help.

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

Use the Get Owner node and from there Assign Event OnTakeAnyDamage.

more ▼

answered Oct 10 '18 at 06:35 PM

avatar image

Zectbumo54
121 1 8 4

(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