Skill Acquire - Notify Bindings #2

11 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€95.85
List Price:  €134.19
You save:  €38.34
£79.54
List Price:  £111.35
You save:  £31.81
CA$143.73
List Price:  CA$201.23
You save:  CA$57.50
A$159.93
List Price:  A$223.91
You save:  A$63.97
S$135.54
List Price:  S$189.77
You save:  S$54.22
HK$777.83
List Price:  HK$1,089
You save:  HK$311.16
CHF 89.34
List Price:  CHF 125.09
You save:  CHF 35.74
NOK kr1,131.88
List Price:  NOK kr1,584.68
You save:  NOK kr452.80
DKK kr715.08
List Price:  DKK kr1,001.15
You save:  DKK kr286.06
NZ$176.75
List Price:  NZ$247.46
You save:  NZ$70.70
د.إ367.26
List Price:  د.إ514.18
You save:  د.إ146.92
৳11,945.33
List Price:  ৳16,723.94
You save:  ৳4,778.61
₹8,493.77
List Price:  ₹11,891.62
You save:  ₹3,397.85
RM450.75
List Price:  RM631.07
You save:  RM180.32
₦154,938.50
List Price:  ₦216,920.10
You save:  ₦61,981.60
₨27,824.38
List Price:  ₨38,955.25
You save:  ₨11,130.86
฿3,419.79
List Price:  ฿4,787.84
You save:  ฿1,368.05
₺3,519.01
List Price:  ₺4,926.76
You save:  ₺1,407.74
B$608.53
List Price:  B$851.97
You save:  B$243.44
R1,830.80
List Price:  R2,563.19
You save:  R732.39
Лв187.32
List Price:  Лв262.25
You save:  Лв74.93
₩144,627.53
List Price:  ₩202,484.33
You save:  ₩57,856.80
₪365.39
List Price:  ₪511.57
You save:  ₪146.17
₱5,882.91
List Price:  ₱8,236.31
You save:  ₱2,353.40
¥15,643.93
List Price:  ¥21,902.13
You save:  ¥6,258.20
MX$2,007.58
List Price:  MX$2,810.70
You save:  MX$803.11
QR364.41
List Price:  QR510.19
You save:  QR145.78
P1,381.63
List Price:  P1,934.33
You save:  P552.70
KSh12,923.70
List Price:  KSh18,093.70
You save:  KSh5,170
E£5,087.81
List Price:  E£7,123.14
You save:  E£2,035.32
ብር12,764.56
List Price:  ብር17,870.89
You save:  ብር5,106.33
Kz91,790.82
List Price:  Kz128,510.82
You save:  Kz36,720
CLP$98,905.10
List Price:  CLP$138,471.10
You save:  CLP$39,566
CN¥729.56
List Price:  CN¥1,021.42
You save:  CN¥291.85
RD$6,087.13
List Price:  RD$8,522.23
You save:  RD$2,435.09
DA13,485.25
List Price:  DA18,879.89
You save:  DA5,394.64
FJ$231.62
List Price:  FJ$324.28
You save:  FJ$92.66
Q770.23
List Price:  Q1,078.35
You save:  Q308.12
GY$20,913.67
List Price:  GY$29,279.97
You save:  GY$8,366.30
ISK kr13,911.60
List Price:  ISK kr19,476.80
You save:  ISK kr5,565.20
DH1,006.07
List Price:  DH1,408.53
You save:  DH402.46
L1,836.70
List Price:  L2,571.46
You save:  L734.75
ден5,900.06
List Price:  ден8,260.33
You save:  ден2,360.26
MOP$800.26
List Price:  MOP$1,120.39
You save:  MOP$320.13
N$1,840.36
List Price:  N$2,576.58
You save:  N$736.22
C$3,678.42
List Price:  C$5,149.94
You save:  C$1,471.51
रु13,597.49
List Price:  रु19,037.04
You save:  रु5,439.54
S/372.23
List Price:  S/521.13
You save:  S/148.90
K405.36
List Price:  K567.52
You save:  K162.16
SAR375.62
List Price:  SAR525.88
You save:  SAR150.26
ZK2,766.46
List Price:  ZK3,873.15
You save:  ZK1,106.69
L477.10
List Price:  L667.96
You save:  L190.86
Kč2,408.98
List Price:  Kč3,372.68
You save:  Kč963.69
Ft39,689.03
List Price:  Ft55,566.23
You save:  Ft15,877.20
SEK kr1,103.13
List Price:  SEK kr1,544.43
You save:  SEK kr441.30
ARS$102,160.40
List Price:  ARS$143,028.65
You save:  ARS$40,868.24
Bs690.76
List Price:  Bs967.10
You save:  Bs276.33
COP$435,928.80
List Price:  COP$610,317.76
You save:  COP$174,388.96
₡50,434.81
List Price:  ₡70,610.75
You save:  ₡20,175.94
L2,537.51
List Price:  L3,552.62
You save:  L1,015.10
₲779,455.88
List Price:  ₲1,091,269.42
You save:  ₲311,813.53
$U4,474.38
List Price:  $U6,264.31
You save:  $U1,789.93
zł408.66
List Price:  zł572.14
You save:  zł163.48
Already have an account? Log In

Transcript

Welcome back, everyone. In the last video, we started to create some bindings for our various widgets here. One thing I did between videos is I made a little script just to display this skill acquired Widget Blueprint to the screen. So you can see what some of these modifications actually look like. Now, just note that what I did here, and I'll show you how I did it, what I did here is very temporary in nature. I don't want to keep this around.

But just for testing purposes here, it was worth seeing what our different texts here is all going to look like. For example, if I click play right now, you will see that my Widget Blueprint is displaying on screen right away. Of course the HUD is gonna overlap it but you can see that with the electro sparks skill acquired, this is what that's going to look like. You can see how the, the text is changed for the title and even the color of the text for the title has changed as well. So you If you want to follow along and just be able to see this Widget Blueprint up on your screen, this is what I did. Here in the level editor along the toolbar, if you come over to the blueprints button, and you open your Level Blueprint, you can create a quick test script so that you can display your skill acquired Widget Blueprint to the screen.

And all I did here is off of Event Begin Play. I just created a node i right clicked and I searched for a node called Create Widget. And it'll say construct none until you slot in your bw BP skill acquired. And then it'll change the title of this. So I created this widget, our skill acquired and then you drag off of your return value here and you type in Add to Viewport. Okay, so that is a script again, you have to have Event Begin Play preceding it.

But that's how you can get that to show up on your screen. And then what I did here is just to test it out, I went into my BP blue, sorry, my BP player blueprint. And I set my skill acquired to electro sparks so you can see what it's gonna look like for for different skills that you acquire here by choosing one of these other options. So if I choose missed, and I click play, now you can see what that missed text is going to look like and it says, learned, missed. Okay, so that's just a real quick way to test that out. I'll leave that for the time being but just know that I am going to kill that script sooner or later.

Okay with that, I'm going to jump back to our w BP skill acquired and to continue with our HUD bindings and if you don't remember how to get there, we are in a Metroidvania content Metroidvania widgets. And there's our web. BP skill acquired. So let's continue for the next binding that we want to create is going to be for our border color our skill border color, if you will, and it's called do let's see where it is over the left hand side here, skill background image right there. Okay, that's the one that we're going to be looking for. So make sure you've got your skill underscore background image widget selected.

And then over in the right hand side, where we've got the appearance, and then the brush in a sort of this goldish tint. Here's the binding right here that we want to create a binding for. So click on this create a binding, it's gonna jump us over to the Graph tab. We're going to do a lot like we did before. We're going to break this wire by holding down the Alt key and simply left clicking and then I'm going to come under the My Blueprint panel hit f2 over this function name and we're going to call this get skill, border color. Now again, just achieve here in less than that amount of time I'm going to jump over to our get skill font color function by double clicking on it.

And I'm gonna left click and drag and grab all these nodes right here Ctrl C Ctrl V. And I am going to make sure all the execution wires are hooked in. Now, truth be told, I really could plug this in like so and everything would pretty much be hunky dory with the exception that well, first of all, it's not allowing me to do that because Our data type here is different. If you jump over to our BP player, and you jump over to something like double jump data, you can see that we've got this skill, border color, and this skill font color, and they're similar in color. Although, if you jump over to the structure variable, this is getting a little off topic, but I'll bring it back. Sorry, the struct variable There's our skill data, we can see that our border color is a slate brush variable type in our font color is a slip color type.

So that is why I am not being allowed. Those are two different variable types. That is why I cannot just simply take our return value here and plug it into here. So what I'm going to do is I'm going to do a lot like I did before, and I'm going to right click on our select node here in our get skill border colored function. Right click, I'm going to break all links and first thing I'm going to do is make sure that I plugged my skill acquired into the index of the Select node. And then just like we did before, I have got to find clicking this drop down right here, this skill border color, plug that into double jump double jump data like so.

And this process is going to continue much like it did before. This is the border color for back dash. And the border color for fireball and the border color for electrical spark and the border color for Lens of Truth. It's really easy to make a mistake here if you're not standing focused, so do your best to stay focused during these tedious parts, skill border color for the mist, collapsing that back up. And now we can take our return value and plug that into the return value of our function node. Okay, so, gonna do one more of these hookups before we call this video wrapped.

The next one I'm gonna do is jumping over to our Designer tab. And I'm not going to keep testing these for each and every one of these, select your screen shot border widget over in the hierarchy, that is his border, kind of surrounding your picture. And over on the right hand side, in the appearance section where you see this little gold color, click and create a binding for this as well. Create binding. Going to create some space between these all gonna hold down alt and left click I'm going to rename this function hitting f2 on it to be get skill. border.

Not skill, border color. Get skill. Sorry, sorry, sorry, let me circle right back around skill border color. Oh, yes, sorry, you know what, this is pretty much gonna be the exact same thing. So we don't have to create a new binding for this fight, jump back over to the Designer tab, we created a binding for this color that's going to be right along the top here for a background image. So if I select my screenshot border right here, my and I come under my brush, and I started to create a function right here, I can remove this binding.

And well actually, let's do it. Let's do a duplicate of that binding that we just created. So I'm going to create a binding Here's my old one that I was just starting to create. I'm gonna delete that out. I'm gonna hit f2 on this, we'll call this get image. border color.

I'm gonna break this link right here. I'm going to select my skill border color up here, and I'm going to copy all of these nodes left click and drag, get them all Ctrl C. Then I'm going to come under my get image border color. Going to Ctrl V to paste them all. Move them down into position. And I can plug our return values straight away into here because I'm going to click this little drop down color. see we've got the border color for this.

We essentially want to have to have the exact same functions here because the border color is going to be the same whether it is for this border up here which we're calling skill BG image, or this border right here, which is our screenshot border. So that is all going to be working fine and dandy as well. I'm just going to Compile and Save here. Then I'm going to go back into my BP player let's select our skill acquired variable and I will change this to let's go fireball this time. Then I'm going to click play. And you can see how my text and my borders are all the same color which is what we want now we're not quite finished here.

I still need to make it so that our man ACOs here is variable and our description here is variable and our button input and this image, but we are making traction So guys, that'll be a wrap for this video. We We'll see you in the next one.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.