WEBVTT

00:01.240 --> 00:02.720
Hi everyone.

00:03.000 --> 00:18.960
In this video we need to create a method to get on the command by the boss id okay with specific boss.

00:19.680 --> 00:21.920
We have so many commands.

00:22.080 --> 00:28.960
Okay, I want to use this a bit like that right here I will create a scene called Get commands.

00:29.840 --> 00:30.360
Okay.

00:31.480 --> 00:34.160
The command by boss.

00:36.440 --> 00:36.960
All right.

00:37.000 --> 00:39.880
Here I put the ball over here okay.

00:39.920 --> 00:41.080
It will be enough.

00:42.080 --> 00:46.600
And let me build a controller for that robot to the command controller.

00:48.600 --> 00:51.480
And this thing.

00:54.000 --> 00:56.280
Will be get command.

00:57.160 --> 01:01.940
We need to change the UI Else a little bit right here.

01:02.820 --> 01:03.500
We need to.

01:06.100 --> 01:06.420
Please.

01:06.420 --> 01:09.820
Their boss, Eddie Salas.

01:10.380 --> 01:10.700
Who?

01:14.700 --> 01:17.580
Actually are in command.

01:18.340 --> 01:19.180
Slash.

01:22.180 --> 01:22.820
Boss.

01:25.140 --> 01:25.340
And.

01:25.340 --> 01:25.660
Boss.

01:25.700 --> 01:26.060
Okay.

01:26.100 --> 01:26.500
Okay.

01:26.540 --> 01:27.580
How are the wheels?

01:27.860 --> 01:28.660
The controller.

01:28.660 --> 01:29.180
Like that.

01:29.980 --> 01:32.660
And make sure we replace here.

01:32.700 --> 01:33.180
Here.

01:36.460 --> 01:37.820
Or here also.

01:38.620 --> 01:42.460
And pass object array pi.

01:50.460 --> 01:51.020
Okay.

01:51.060 --> 01:52.940
That is not about boss array.

01:54.180 --> 01:59.720
And after that, we need to find We must run.

02:03.320 --> 02:03.760
This.

02:04.120 --> 02:05.040
Oh, sorry.

02:05.080 --> 02:07.240
We need to find the model.

02:07.880 --> 02:09.160
We need to fight.

02:13.360 --> 02:15.120
With the boss.

02:16.040 --> 02:16.840
The boss?

02:18.160 --> 02:18.560
Okay.

02:18.600 --> 02:21.720
We need to find all the commands by the boss.

02:22.400 --> 02:26.360
And I will return the boss to say what is the result?

02:30.080 --> 02:32.760
Let's say right here, I will duplicate.

02:50.000 --> 02:53.360
Gen the Earl, the last boss slot.

02:56.780 --> 02:59.500
Let me, uh, get on, boss.

03:03.620 --> 03:04.460
Mode over here.

03:05.220 --> 03:07.500
And let me say right here.

03:07.500 --> 03:09.340
We already got the boss, right?

03:10.380 --> 03:12.180
We have a pattern.

03:12.620 --> 03:15.020
And the next command.

03:15.220 --> 03:15.700
Okay.

03:16.380 --> 03:18.980
We need to somehow organize it a little bit.

03:19.780 --> 03:21.180
Let me show you what I mean.

03:21.220 --> 03:25.060
This is the the entire result, right?

03:25.340 --> 03:28.060
Let me show you what I mean.

03:33.180 --> 03:34.220
This is the result.

03:34.260 --> 03:36.300
This is the array content.

03:36.740 --> 03:37.700
So object.

03:38.180 --> 03:38.740
Right?

03:39.900 --> 03:48.180
What I want to do because this is the pattern I want, it will return for me the result like this.

03:49.020 --> 03:49.860
Replace.

03:51.060 --> 03:54.680
And with the replies right here it will contain Container.

03:54.840 --> 03:56.960
The array of the object.

03:57.280 --> 03:57.920
Let us.

03:58.520 --> 03:59.040
Okay.

03:59.640 --> 04:02.560
What it will return for me is the data structure.

04:02.600 --> 04:03.120
Let us.

04:03.360 --> 04:14.160
And with everything else over here, I will show you how we can customize that using the video.

04:14.320 --> 04:14.560
Okay.

04:14.600 --> 04:21.640
For example, I use a command name, user command, email or something like that.

04:21.880 --> 04:25.960
We will customize that in the video.

04:26.240 --> 04:30.560
But the structure right here, we need to somehow customize that in the survey.

04:30.600 --> 04:32.000
Right okay.

04:32.000 --> 04:34.800
We need to store the next thing right here.

04:35.840 --> 04:37.760
Well let's close it.

04:40.480 --> 04:42.840
Right here we have a file right.

04:44.240 --> 04:47.320
And we need to boost over here.

04:49.360 --> 04:53.980
To actually right here we can rely a little bit.

04:54.500 --> 04:59.100
We can rely like we will use our okay.

04:59.660 --> 05:02.340
We need to rely on the user command over here.

05:03.140 --> 05:03.740
And.

05:08.380 --> 05:10.780
Reply to users okay.

05:10.820 --> 05:12.220
Reply to users.

05:13.580 --> 05:14.180
Also.

05:16.140 --> 05:17.340
What will I one more time?

05:19.940 --> 05:22.260
Okay, let me say it again.

05:26.500 --> 05:27.300
One a little bit.

05:32.380 --> 05:33.100
Over here.

05:33.100 --> 05:35.140
This is the structure.

05:37.500 --> 05:38.060
Okay.

05:38.860 --> 05:42.500
And first of all we need to view the replies.

05:45.100 --> 05:48.460
And put this thing also okay.

05:49.020 --> 05:51.420
That's the only we need to know.

05:51.420 --> 05:53.600
deal with the submitted.

05:53.640 --> 05:58.840
We don't care about that because we will fix that in the deal.

05:58.880 --> 05:59.320
Okay.

05:59.680 --> 06:01.640
But right now let me restructure.

06:02.600 --> 06:05.680
Well, how to do that right now.

06:07.280 --> 06:11.160
Firstly we have a post Athena.

06:11.160 --> 06:16.160
We cannot link to convert it into a JavaScript object right now.

06:18.160 --> 06:20.560
We will look through the boss.

06:23.840 --> 06:28.440
Sorry, this is the command run UI name is.

06:30.800 --> 06:31.480
Correct.

06:34.880 --> 06:37.400
Okay, we did the command run here.

06:37.720 --> 06:38.840
We need to jump it.

06:39.640 --> 06:43.360
This is the root command which we.

06:43.360 --> 06:45.000
This is not a parent command.

06:45.280 --> 06:54.540
I will create some final result will be right now.

06:57.780 --> 07:01.420
I will post the final result over here.

07:02.220 --> 07:03.700
Okay, I will put the command.

07:04.940 --> 07:09.460
If the command is not apparent, we will boost it up over here.

07:10.020 --> 07:10.260
Okay.

07:10.300 --> 07:11.460
We will create that.

07:11.620 --> 07:16.020
And we need to initialize the replies with empty array.

07:17.300 --> 07:22.820
So for that reason I will put over here replies to the right.

07:23.260 --> 07:23.780
Okay.

07:26.260 --> 07:29.780
After that, let me show you what is written.

07:29.820 --> 07:31.860
I will return back the final result.

07:32.820 --> 07:37.460
Also we should have a reply with empty array, right?

07:44.500 --> 07:52.330
So here we can say we only have a pattern with Twitter replies okay, and we need to vote.

07:53.170 --> 07:57.970
Else we need to vote if this will be the problem.

07:58.650 --> 08:01.490
Okay, we need to bootstrap.

08:01.490 --> 08:03.330
Is our replies right?

08:05.090 --> 08:06.690
Let's see how we can do that.

08:10.130 --> 08:12.090
Inside the final result.

08:14.730 --> 08:16.530
We need to find command.

08:17.410 --> 08:18.810
We need to find the object.

08:19.090 --> 08:19.690
Okay.

08:21.170 --> 08:21.650
Don't worry.

08:21.650 --> 08:22.290
I will show you.

08:22.290 --> 08:23.850
What exactly does it mean?

08:24.450 --> 08:27.530
I will call the file root.

08:29.370 --> 08:29.770
Okay.

08:29.810 --> 08:32.610
I will call the final result profile.

08:33.890 --> 08:38.210
This is a command line command, not, um.

08:41.290 --> 08:47.830
Not all string equal with the command over here.

08:56.790 --> 08:57.270
Not.

08:58.430 --> 09:01.750
Not a little strange.

09:02.190 --> 09:02.750
Okay.

09:08.990 --> 09:12.310
So here we will need to put a question mark over here.

09:14.990 --> 09:16.870
If we found the food.

09:17.630 --> 09:18.070
Sorry.

09:18.110 --> 09:19.710
The file route.

09:19.950 --> 09:20.790
And the one.

09:26.350 --> 09:31.110
With numerous replies.

09:33.310 --> 09:33.790
Right.

09:33.830 --> 09:37.670
Because this is the object, we will find this object over here.

09:38.150 --> 09:40.670
And from this object, we will not reply.

09:41.110 --> 09:45.030
And we need to boost the command over here.

09:45.090 --> 09:45.450
So.

09:48.610 --> 09:50.570
Let me test that and I will explain.

09:56.530 --> 09:57.050
Okay.

09:57.050 --> 10:03.650
You can say we already got a pattern over here with the same with the ID over here.

10:03.690 --> 10:04.130
Okay.

10:04.410 --> 10:05.570
That's what I need to do.

10:06.330 --> 10:09.650
Well, with this logic, I want to find the object.

10:09.690 --> 10:10.810
Have a probability.

10:10.810 --> 10:13.370
Exactly the same with the root id.

10:13.730 --> 10:14.130
Okay.

10:14.170 --> 10:18.570
If you file, we will have a file root command.

10:19.210 --> 10:24.410
And with that we need to turn it to use the command into the replies okay.

10:24.450 --> 10:26.610
This is just a JavaScript knowledge.

10:26.810 --> 10:33.170
Please read a little bit and I'm sure you will understand that okay.

10:33.530 --> 10:36.530
So after that we will need to return the final result.

10:37.570 --> 10:39.450
Ready for the code right?

10:39.850 --> 10:42.010
Let me paste a little bit.

10:54.430 --> 11:00.030
I will create another command.

11:00.390 --> 11:02.190
Let's say right here.

11:02.670 --> 11:07.190
I will boost apparent will be known.

11:13.630 --> 11:14.790
And here will be known.

11:18.670 --> 11:19.350
Command.

11:22.550 --> 11:31.270
So okay with this but also let's say okay after that let me get the command again.

11:32.430 --> 11:32.830
Okay.

11:32.830 --> 11:34.110
We have a two object.

11:34.550 --> 11:36.910
The first object will have a reply.

11:37.350 --> 11:41.630
And this object right here reply will be empty right.

11:41.970 --> 11:52.210
Let me, uh, got my ID right here and command 101.

11:52.250 --> 11:53.970
Okay, this is for sure.

11:53.970 --> 11:56.090
We will take up the command tool.

11:58.490 --> 12:00.450
And reply to user.

12:01.330 --> 12:09.170
I can, uh, I can mute my user over here.

12:10.410 --> 12:11.130
Let me, uh.

12:13.810 --> 12:16.130
Let me go away to some user.

12:20.330 --> 12:24.890
Let me say, uh, is it.

12:25.330 --> 12:25.690
Huh?

12:28.490 --> 12:38.690
I think all I got is the the boss ID, so my bad, my bad.

12:42.070 --> 12:43.150
Let me go away again.

12:59.670 --> 13:03.670
With Eddie over here and say.

13:16.390 --> 13:17.350
This is the boss.

13:17.710 --> 13:20.150
Oh, I already got my inside boss.

13:20.190 --> 13:22.830
I think we should copy the idea over here.

13:23.270 --> 13:23.750
Right.

13:24.150 --> 13:24.670
Let me.

13:27.070 --> 13:28.150
Create one more.

13:28.190 --> 13:28.830
Next thing.

13:30.310 --> 13:32.910
We wait here.

13:36.470 --> 13:37.270
Oh, sorry.

13:37.550 --> 13:38.270
Over here.

13:38.270 --> 13:38.330
You.

13:43.450 --> 13:43.970
Rock.

13:44.890 --> 13:45.850
Toe to toe.

13:48.170 --> 13:49.010
And say.

13:51.250 --> 13:55.450
Okay, let me get on command.

13:56.450 --> 14:04.730
Now, the first one will be have one red light right with this thing.

14:04.770 --> 14:06.610
It should have two replies.

14:06.770 --> 14:08.130
One and two.

14:08.570 --> 14:10.170
Okay, so that is.

14:10.650 --> 14:17.730
That's the how it works, replies the content.

14:18.330 --> 14:20.410
So two by one.

14:21.490 --> 14:22.810
Two by two.

14:23.170 --> 14:24.050
Okay, so.

14:26.130 --> 14:27.810
That's for the video.

14:27.810 --> 14:30.930
And I hope you understand the logic right here.

14:31.490 --> 14:33.610
And I will see you in the next one.

14:33.970 --> 14:38.050
To customize the video.
