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. 

Check If ActorVariables set actor has tag

I'm trying to check for tags on an actor using an actor variable that the actor has been set to. It doesn't seem to be working, is this possible? alt text

Product Version: UE 4.17
Tags:
more ▼

asked Nov 14 '17 at 09:14 PM in Blueprint Scripting

avatar image

MrGrins
73 6 9 18

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

2 answers: sort voted first

It works fine for me. Have you tried both variants of getting the tag, as in the screenshot below? alt text

1.png (155.4 kB)
more ▼

answered Nov 14 '17 at 10:10 PM

avatar image

Xelj
296 2 4 8

avatar image MrGrins Nov 15 '17 at 03:28 PM

The actor is valid but still returns false on both. I'm doing this inside a Widget Blueprint, could that be the problem?

alt text

capture02.jpg (82.5 kB)
avatar image MrGrins Nov 15 '17 at 03:40 PM

I just tried it inside an actor blueprint and it still returns false, so widget blueprint isn't the problem.

avatar image Xelj Nov 16 '17 at 10:06 AM

Are you sure that set actor tag, not component tag?

alt text

1.png (48.4 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Sounds like a pretty common thing to do. The pic did not get attached. My guess would be that the actor reference is invalid.

more ▼

answered Nov 14 '17 at 10:00 PM

avatar image

Everynone
14.7k 76 25 61

(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