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"

Blueprint communication between my weapon and hero bluprint classes

Hey Guys, I just ran into a little issue and don't really know how to fix it. As I created a weapon blueprint that is supposed to be there for managing how many bullets there are in the weapon, the particle effects etc. But for some reason it doesn't do anything, so my first thought was that I might have to have some way of commuunication between my hero blueprint and the weapon blueprint...

This thought is based on my previous weapon concept in which the hero blueprint managed all the bullets etc, which worked fine... for some reason though It just won't work when I have a seperate blueprint for it.alt text

Product Version: Not Selected
Tags:
more ▼

asked Mar 27 '15 at 03:49 PM in Blueprint Scripting

avatar image

henrik_baumann
79 15 13 19

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

2 answers: sort voted first

The first thing I notice is that you're casting an empty object to hero, did you mean to reference the actual hero character?

more ▼

answered Mar 27 '15 at 08:21 PM

avatar image

Grogger
797 49 61 94

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

Yep this is your problem see blueprint communication tutorial and see casting Hero can't cast to hero maybe use a self node

more ▼

answered Mar 27 '15 at 11:37 PM

avatar image

grabthar
21 1 5

(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