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"

How can I get the variable iAB to a second class blueprint?

Hello,

I have 2 questions :)

The really importand one ist this:

I have a variable witch is counting down at the Class Blueprint A. I'm trying to get the variable iAB to a second Class Blueprint "B". But I dont know how to get it. Make it public doesn't work.

I know that there can be mistakes if the Variable is not alive. But i will fix this later. At first I like to make it run :)

In C++ I would do it with a class funktion. For example:

  ...
 private:
 int iAB = 3;
  ...
 public:
 Get_iAB() {
 return iAB;
 }
 ...
     
 Class::Get_iAB();

. Hope some people now know better what I mean :)

The Problem is I can find no return function in Blueprint.

The 2. one.

This visual scripting is a nice song but I learned C++ some time ago. So are there some tutorials in C++?

Thank in advance.

Sorry for my english :X

Greez

Rok

Product Version: Not Selected
Tags:
more ▼

asked Apr 13 '14 at 04:52 PM in Blueprint Scripting

avatar image

Roknix
1 1 4

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

1 answer: sort voted first

You should watch the Blueprint Quick Shot videos on Unreal Engine's youtube playlist. They cover all of that.

There are also explanations in the documenation under Blueprint Communication.

more ▼

answered Apr 13 '14 at 09:29 PM

avatar image

tomofnz
1.2k 48 47 89

avatar image Roknix Apr 13 '14 at 10:14 PM

Oh Thanks. Haven't seen this Videos. Only the Basics. Thank you.

(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