WEBVTT

00:06.950 --> 00:08.030
Welcome back.

00:08.060 --> 00:15.930
Now that we have a goblin shaman, we need to make that shaman nice and dangerous and give it an attack.

00:15.950 --> 00:24.170
So let's go into the mesh folder and check out the animations for the Goblin Shaman.

00:24.200 --> 00:29.180
Notice we have Shaman Attack, and it looks like it's casting a spell.

00:29.390 --> 00:33.260
Now, this is perfect for an Elementalist.

00:33.260 --> 00:37.220
So we're going to want a nice attack montage.

00:37.250 --> 00:41.210
Now I'm going to scroll down and make sure root motion is checked.

00:41.250 --> 00:42.710
Enable root motion.

00:42.710 --> 00:45.080
That way we can use motion warping.

00:45.080 --> 00:52.790
So I'm going to right click on Shaman Attack and I'm going to create and we'll use create anim montage

00:52.790 --> 00:53.480
here.

00:53.510 --> 00:58.190
It's going to be m underscore attack underscore shaman.

00:58.730 --> 01:02.430
We'll open this up and here's our attack montage.

01:02.450 --> 01:07.080
Now I'm going to change the name of our first notify track to motion warping.

01:08.940 --> 01:13.380
And we'll add another modified track and call this one events.

01:13.860 --> 01:15.780
Just like we did with our others.

01:15.810 --> 01:21.480
Now for motion warping, we're going to want to warp fairly early just like our others.

01:21.480 --> 01:30.240
So add notify state motion warping will motion warp about this much we need to expand root motion modifier

01:30.240 --> 01:33.690
and change the warp target name to facing target.

01:34.860 --> 01:37.710
And we need to ignore translation.

01:37.710 --> 01:42.030
So uncheck warp translation and set rotation type to facing.

01:42.030 --> 01:49.220
And now motion warping is set up and we're also going to want to fire something, right?

01:49.230 --> 01:57.360
So what I'm going to do is go ahead and place an anim notify right there where it looks like a fireball

01:57.360 --> 01:59.940
would come out or something.

01:59.940 --> 02:06.480
I'm going to add a notify, use montage event and select for that montage event.

02:06.480 --> 02:14.370
Scrolling up the event tag and it's going to be montage attack weapon because we're going to spawn something

02:14.370 --> 02:15.480
from the weapon.

02:15.840 --> 02:21.480
Now that means we can add a tagged montage to our BP shaman, doesn't it?

02:21.510 --> 02:28.590
We can go to BP Shaman, we can search for attack montages, We can add an element to the array and

02:28.590 --> 02:30.930
we can select the montage.

02:30.930 --> 02:38.080
It's going to be an attack shaman and we can choose the montage tag, montage, attack weapon.

02:38.080 --> 02:40.690
And now our shaman is set up.

02:40.690 --> 02:44.890
However, recall that there's something called a weapon tip socket.

02:44.890 --> 02:49.600
If we search for weapon tip socket, we see that it's set to tip socket.

02:49.600 --> 02:51.700
That's tip socket name.

02:51.700 --> 02:54.790
But does our staff have a tip socket?

02:54.820 --> 02:56.440
We need to make sure of that.

02:56.440 --> 02:59.800
So let's get our weapon and browse to its skeletal mesh.

02:59.800 --> 03:00.880
Let's open it up.

03:00.880 --> 03:08.170
And I don't see a socket, so I'm going to right click and add a socket and call this tip socket.

03:09.250 --> 03:14.440
As that's the name that our weapon tip socket variable is set to.

03:14.470 --> 03:17.080
Here in our shaman.

03:18.260 --> 03:23.510
Yes, it's called tip socket and we're going to want that to be up at the tip of the weapon, aren't

03:23.510 --> 03:23.630
we?

03:23.660 --> 03:25.220
So I'm going to put it right there.

03:25.790 --> 03:35.300
I'm going to hit W and bring it up and over just at probably the tip of the skull right there at the

03:35.300 --> 03:36.170
top of it.

03:36.170 --> 03:40.010
I think that's a great place to spawn some kind of projectile.

03:40.100 --> 03:42.890
So now we have a tip socket.

03:42.890 --> 03:44.240
That's great.

03:44.600 --> 03:50.430
We're sending a montage event with that montage attack weapon tag.

03:50.450 --> 03:58.820
All that's left now is to give our shaman some kind of an attack ability, perhaps a fireball type ability.

03:58.820 --> 04:02.130
And that is something that we can set up next.

04:02.150 --> 04:03.260
So great job.

04:03.260 --> 04:05.840
And I'll see you in the next video.
