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"

Switching between projectiles


Could someone help me with how i would go about switching between different projectiles?

alt text

This is my current blueprint for firing the projectiles.

I would like to make it that when you press my SpellChange button it would change the projectile that i am firing.

I have set my projectile up as a blueprint actor, If anything else is needed please ask.

Thanks in advance :)

Product Version: UE 4.12
fire_bp.png (387.2 kB)
more ▼

asked Dec 06 '16 at 06:11 PM in Blueprint Scripting

avatar image

60 17 16 17

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

1 answer: sort voted first

You could use a set up like this to loop through how ever many projectiles you have, with the print strings being replaced with the logic for the projectile. alt text

projectype.png (126.9 kB)
more ▼

answered Dec 07 '16 at 02:01 AM

avatar image

256 11 4 7

avatar image KebabCritic Dec 07 '16 at 11:05 AM

Awesome! works perfect, appreciate the help! :)

avatar image ashonline77 Feb 26 '18 at 11:17 AM

Hi, im trying to achieve the same on a twin stick shooter im working on, but im a newbie so im a bit confused as to how to make it work properly. if you could show me how you did it. it'd mean the world to me. thanks.

(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