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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Blueprint's comminication.

Hi.How can i find the function on my main blueprint.I want to connect with event begin but it's not showing my main blueprint page.Thx for help

alt text

Product Version: Not Selected
Tags:
main.png (101.7 kB)
more ▼

asked Jul 17 '18 at 06:05 PM in Using UE4

avatar image

Melleryb
1 1

avatar image mightyenigma Jul 17 '18 at 06:12 PM

is this your level blueprint? which other blueprint are you trying to execute nodes on from this one? I dont think you can call the Beginplay event. Instead have the beginplay event call your own custom function and other blueprints can call that same function from a reference to that actor who has it. Your main trouble seems to be - how do you get a reference to that actor so you can call that function? So thats ahy i ask which blueprint is trying to make which ither blueprint execute something

avatar image Melleryb Jul 17 '18 at 06:27 PM

I have one level and i use only this.It's a endless map and has boxes.I need the random size in the box it's my level blueprint.It's function in my level blueprint.So i need to call this function on my main blueprint.I am a new in unreal engine so it's complicated for me now.I use spawn actor for calling level but idk how to call cube in my main bp.

avatar image Nebula Games Inc Jul 17 '18 at 10:25 PM

What do you mean by "main" blueprint? You are within a function in the level BP? So you referenced Cube 1 through the level BP....but what are you calling then your "main" blueprint? I am not understanding.

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

1 answer: sort voted first

Blueprint is not object it's a class and in order to call function on it you need to have reference to object, just making variable won't help you, you need to set object to that variable first.

There many ways how to do it, but in your use case, you should set the scale right away after spawn. Spawn Actor node return object refrence to object that was created so you could use that. Other option for you is to is set scale on cube blueprint it self in BeginPlay, or else you want to control it. I made old tutorial about classes and object it should open eyes a little bit:

https://www.youtube.com/watch?v=R9QIIBB_qVc&t=2682s

more ▼

answered Jul 17 '18 at 11:08 PM

avatar image

Shadowriver
36.6k 930 169 1111

(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