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"

Blueprint cast customEvent

hi everyvone i make press umg button and start animation. I create widget and umg Button. And ı create customEvent character blueprint. And ı go umg Button widget cast characterBP and ı use Touchaim. Why this error. Sorry my english so bad.alt text

Product Version: UE 4.18
Tags:
269348-adsız.png (279.5 kB)
more ▼

asked Feb 22 '19 at 04:53 PM in Blueprint Scripting

avatar image

lilpeepphellb545
1 1 1

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

3 answers: sort voted first

You need a reference to your "Swordsman_AnimBP". If you need help creating references the following link may be useful to you. Check out video #25, it is all about creating references.

https://www.youtube.com/playlist?list=PLyu-W38DvZhqByAoeva1jewB5s78zQHIy

more ▼

answered Feb 22 '19 at 06:59 PM

avatar image

Nebula Games Inc
5k 27 9 14

avatar image Nebula Games Inc Feb 23 '19 at 02:09 PM

In response to your other thread about this same issue, unless you are creating a multiplayer game and have more than 1 player spawned into the world :"get player character 1" would fail. Change it back to the default "get player character 0" and it should work (assuming the swordsman is a player character)

Link to second thread with screen shot referred to above. https://answers.unrealengine.com/questions/876880/view.html

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

If he swordsman is a playable character just plug in "get player character"

more ▼

answered Feb 23 '19 at 12:13 AM

avatar image

Crowley Caine
648 8 9 15

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

You are missing inputs to all of your functions.

You should first get a reference to your character's mesh. Then from that mesh you can get its anim instance (anim blueprint) and cast it to yours. Now you can call your functions:

alt text

capture.png (91.7 kB)
more ▼

answered Feb 25 '19 at 12:21 AM

avatar image

RimmyD
2.6k 98 15 96

(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