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"

attach weapon on a socket

Hi , i m french sorry for m'y english i Start on unreal engine and i need help for create an trade weapon system. Look first 30 second


i would like when i press E trade m'y actual weapon with weapon on the floor

i have create 2 weapon and socket plz help me for fonction

Product Version: UE 4.8
more ▼

asked Aug 09 '15 at 03:32 PM in Using UE4

avatar image

1 1 2 3

avatar image chaanks Aug 10 '15 at 11:40 PM

plz post your idea

avatar image MikeeVer Aug 11 '15 at 04:26 AM
  • deattach your weapon from slot

  • set your weapon position to weapon on floor

  • attach the weapon on floor to your slot :P

avatar image chaanks Aug 11 '15 at 08:34 PM

good idea but if i have 25 weapon , how the program knows the weapon that I must deattach

avatar image MikeeVer Aug 12 '15 at 08:30 AM

For deattach weapon: - You have to create variable "equipped weapon", so you always know which weapon will be trade. this variable always change whenever you change weapon

For weapon in floor: Add box Collision in Weapon Blueprint.

"On component begin overlap", change Player character "Target Item"(Variable) to overlapped weapon.

Do algorithm that i wrote above to the "Target Item"

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

0 answers: sort voted first
Be the first one to answer this question
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