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"

Equipping two weapons


I would like to be able to equip 2 pistols in my game. I already have animations, just need to have the pistols equipped, but not sure how.

Should I have a blueprint with two pistols or is it possible to spawn a different pistol in each hand (which would really please me) and treat them as different objects?

The projectile spawning is managed by anim notifies, at this point I am not sure how to call it in different objects since they have the same muzzle socket name.

Thanks for the help!

Product Version: UE 4.19
more ▼

asked Apr 18 '18 at 09:11 PM in Blueprint Scripting

avatar image

53 4 9 16

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

2 answers: sort voted first

i would spawn them as two seperate items and attach them to sockets in the hands. as for the muzzle sockts you will need to get a reference to them, the easiest way i can think of is to assign them to a variable when you spawn them so spawn in pistol left and assign that to variable leftwep. this way you can get the reference and from there access the individual muzzle you want.

more ▼

answered Apr 18 '18 at 09:25 PM

avatar image

10.1k 33 10 25

avatar image FredPoissant Apr 18 '18 at 09:34 PM

Thanks! Its actually simpler than I thought!

avatar image ThompsonN13 Apr 18 '18 at 10:02 PM

yea its not too hard to get done let me know if you get it working or if you need more help. i had trouble with sockets when i first started so i can totally understand.

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

I will reference you to take a look at my answer on this post. Only, do it with two seperate weapons, and make a second variable for your second equipped weapon. It really is up to you and how you want your game to feel and play. Unreal is the best because you get the freedom to do it one way, the other, the other, or infinite more to change the feel per game :)

more ▼

answered Apr 26 '18 at 08:09 AM

avatar image

128 4 6 9

(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