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"

Anim BP w/ Child Actor

Hello, I am working currently on a project which is a third Person shooter and am stuck at the part where the weapons fall into play, since weapons are a really big thing in the shooter I need some help with this one.

I am currently using the Weapon Component from the UE Market Place and was wanting to add weapon reloading and firing animations. With that said I am also wanting it to replicate on a multiplayer server so all the clients can see the animations as well. For the weapons I am using the Ironbelly m9 along with other weapons purchased from that company.

I have come the the conclusion that I am going to need to use a Animation Blueprint for the task of weapon reloading and firing animations. I have the animations all set up and in order along with the casting for the variables needed to start the animations once the player hits the key to do so (i.e R for reload) I have the casting all done to the certain class but the object node on the cast node always fails when i plug in try get pawn owner. And I cant think of anything else. The blueprint that I am casting to is a child actor and inside the bp is a skeletal for the weapon and a collision component. WeaponAnimBP WeaponChildBlueprint Any Help will be appreciated :D

Product Version: UE 4.15
Tags:
m9weaponanimbp.png (620.7 kB)
m9weaponchildbp.png (708.0 kB)
more ▼

asked Mar 15 '17 at 11:08 AM in Blueprint Scripting

avatar image

ClassyGentleman
44 9 6 12

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

found the answer, for the cast to BP_ParentWeapon use get owning actor instead of try get pawn

more ▼

answered Mar 20 '17 at 12:20 PM

avatar image

ClassyGentleman
44 9 6 12

(comments are locked)
10|2000 characters needed characters left
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