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"

show projectile before firing.

For my game I need the player to be able to see the projectile before its fired as the projectiles are colour coded so that when two projectiles of the same colour come into contact as a set of they destroy. I have no idea how to go about making this any help at all will be greatly appreciated.

Product Version: Not Selected
Tags:
more ▼

asked Nov 18 '14 at 02:45 PM in Blueprint Scripting

avatar image

red-xiii
1 1 2 4

avatar image Doug E ♦♦ STAFF Nov 18 '14 at 03:11 PM

Hey red-xiii-

Showing the projectile early would depend on how it is created and used. Assuming you are creating and "firing" the projectile on a click/press event, you may want to spawn it on the press and then actually "fire" on the release event. An idea of how your projectile functions would help determine how best to show it.

Cheers

Doug Wilson

avatar image red-xiii Nov 18 '14 at 03:38 PM

its a very basic fire on key press

alt text

firebp.png (113.6 kB)
avatar image Doug E ♦♦ STAFF Nov 18 '14 at 04:28 PM

Assuming your projectile its own blueprint, it does not exist to show prior to when it is being spawned by pressing spacebar. You could add the projectile to your character so that they are both visible together, then have a function inside your character blueprint that is called by the key press with whatever functionality is provided inside the projectile BP currently.

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

1 answer: sort voted first

Hi red-xiii,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

more ▼

answered Nov 25 '14 at 06:07 PM

(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