How To Pass A Variable Using the Blueprint Interface in Unreal Engine 5

preview_player
Показать описание
This is a follow up to the recent video on using the Blueprint Interface. In this video, we show how to actually pass a variable, something that was not shown in the prior video, which is here:

Also, you can help us by supporting Game Engine Academy.
Рекомендации по теме
Комментарии
Автор

I rate this 11 out of 10! This is the 7th Tutorial on interfaces I have watched, and FINALLY! somebody explained it clearly and slowly. Thank you for taking the time to do this.

truespiritualmeditation
Автор

I'm still not getting this.., I'm not new to C but I am VERY new to unreal and I have 3 bps I am trying to swap variables between and I just don't understand how I am supposed to pull a scene object reference from my TPCBP or how any of this would apply to that.,

scislianlongshadow
Автор

I need ALL pickups to access a key down/up boolean

FPChris
Автор

Isn't that blueprint reference you use to set the actor the same principle as casting? I mean you create a reference to a specific blueprint in your level blueprint, doesn't that mean you create just as a hard reference to that blueprint as you would do with a cast node?

KJ-rcio
Автор

3:51 Can I only get the refference of a Blue Print in the level BP? I'm trying to send between two actor BP's I created.

DotJus
Автор

This does not appear to work with Blueprint widgets in UE 5.0.3. I am following these instructions exactly and the event does fire in the UI side but the variable string I set never comes over. The event fires nicely and the variables even appear on the node but when i print string it the value is always empty. Very perplexing.

DirkTeucher
Автор

Yo man! how can I contact you? please lmk. Regards!

BuddhaVybezProd
Автор

How to get a variable from a blueprint instead

mijkolsmith
Автор

I am not quite sure why this video is a thing. The concept of interfaces is not new nor complex. This video looks more like a "hey I just discovered interfaces, wanna see it?" than an actual tutorial on how to use them. And there is nothing special about "Passing a variable using BP interfaces" - they are legit just functions and functions can always have parameters and/or return values. The only difference is that the interface garuantess that class X has this function implemented but not how, thats different from usual classes but in the end you call a function of an object X.

swrcPATCH