background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "Teleporting Player To Checkpoint On Level Load - #69 Unreal Engine 4 Beginner Tutorial Series"

input logo icon
Video tags
|

Video tags

Unreal Engine 4
Epic Games
Next Generation
UDK
Unreal Engine 4 Tutorial Series
Video
Education
Series Introduction
Beginner
Basics
How to
Software
Create
Learn
Game Development
Game Engine
Develop
Platform
Project
Tutorial
Video Game
SDK
Overview
Editing
Content
Custom
Editor
Gameplay
Blueprint
Blueprints
unreal engine tutorial
unreal tutorial
unreal 4 tutorial
unreal engine
ue4
Windows
Save Game
Load Game
Load Level
Level
Checkpoint
Teleport
System
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:02
hey guys virtus here and welcome back to
00:00:05
the Unreal Engine for beginner tutorial
00:00:08
series and in today's episode we're
00:00:10
going to be continuing on with our
00:00:12
checkpoint system so if you haven't
00:00:15
watched the last video I advice that you
00:00:16
go ahead and do so using the thumbnail
00:00:18
in the top left hand corner but anyway
00:00:21
in today's video we're going to be using
00:00:23
the save game data that we created in
00:00:25
the last video where we essentially used
00:00:27
the player to get the last location of
00:00:30
where they was once they actually took
00:00:32
touched our checkpoint blueprint our
00:00:35
checkpoint blueprint looking a bit like
00:00:37
this basically what I've done here is
00:00:39
just put a little small box in it just
00:00:41
so we can see it in the world but it's
00:00:43
still exactly the same it's a box
00:00:45
collision and whenever we begin
00:00:47
overlapping with that what it's going to
00:00:49
do is cast to the third person character
00:00:50
get the location set it to the location
00:00:54
check whether or not the safe game
00:00:56
exists if it does you know it's just
00:00:59
going to load the game and then replace
00:01:00
it if it doesn't is going to create a
00:01:01
safe game object and put it into a last
00:01:04
location but what we're going to be
00:01:06
doing today is showing you how to
00:01:09
actually grab that information at the
00:01:12
start of the level and essentially
00:01:13
teleport them to the last location for
00:01:16
your checkpoint so what I'm going to do
00:01:18
is quick example so if I go ahead and
00:01:21
press play you can see I start here but
00:01:24
if I was to hit that checkpoint or this
00:01:27
checkpoint let's go with this one it's
00:01:29
all saved you're going to see that I now
00:01:32
start over here instead of the corner
00:01:34
and each time that I press play on the
00:01:37
level you're going to see it's going to
00:01:39
keep on move me over there or if I was
00:01:41
to go ahead and hit one of the
00:01:42
checkpoints up here and press play
00:01:46
you're going to see it's going to spawn
00:01:48
me up there and it's very simple
00:01:49
all I'm doing is basically using that
00:01:51
vector value to teleport the player on
00:01:54
the event begin play so let's go ahead
00:01:57
and show you exactly how you can do this
00:01:59
so go ahead and open up your player
00:02:03
character for me that's going to be my
00:02:05
third person character and all I've done
00:02:07
here is added a little bit of script
00:02:10
- pretty much on the event begin play so
00:02:14
as soon as you start the level it's
00:02:15
going to print a string for me that's
00:02:17
going to tell me it started and then
00:02:19
it's going to load the game from the
00:02:21
slot and I'm just going to use the same
00:02:24
slot name as I did for all the other
00:02:26
scripts if you have any problems with
00:02:28
following this video it like it doesn't
00:02:30
work for example just make sure the slot
00:02:32
name is exactly the same on the check
00:02:34
plot checkpoint blueprint and also on
00:02:37
your character blueprint from there just
00:02:40
set the sub class customize save game
00:02:42
just so we can reference the last
00:02:44
location variable we created and then
00:02:46
we're just going to use the teleport
00:02:48
node to get the player pawn and then
00:02:50
just set a new destination location and
00:02:53
just teleport it straight there so let's
00:02:56
go ahead and show you how you can do
00:02:58
this I'm just going to quickly delete
00:02:59
all of this and we're going to start
00:03:00
from scratch so if I press delete
00:03:04
compile when we press play now it's not
00:03:07
really going to do anything it's just
00:03:09
going to use our default location for
00:03:10
our player here so first things first we
00:03:14
need to get an event for begin play
00:03:16
because we want it to load from the
00:03:18
check point as soon as the player gets
00:03:19
into a level so just go ahead and
00:03:21
right-click type in event begin play and
00:03:24
add that in and the next thing that we
00:03:28
need to do is pretty much load the game
00:03:30
from the slot so type in load game from
00:03:33
slot and once again just make sure your
00:03:36
slot name is the same as it is
00:03:38
everywhere else so I'm just going to
00:03:40
copy and paste slot name here and check
00:03:42
it in there and now that I've done this
00:03:45
I can actually set this save a subclass
00:03:48
so you need to go ahead and create one
00:03:51
if you haven't got one already creating
00:03:53
one is simple just do it like I did in
00:03:55
the previous video just create a
00:03:57
variable change the app the variable
00:04:00
type to save game and then just name it
00:04:02
whatever so for me I'm just going to
00:04:04
drag this in and I'm going to press set
00:04:06
and I'm going to hook these up just like
00:04:08
that making sure I hook up the return
00:04:11
value to the in over here and under set
00:04:14
save a subclass I'm just going to
00:04:17
quickly cast to my safe game make sure
00:04:19
you're also using the name right for
00:04:21
that so go ahead and hook it up
00:04:23
from this we can now actually get the
00:04:25
last location so type and get last
00:04:28
location so now we can reference that
00:04:30
and we can teleport it to wherever we
00:04:32
want so the next thing that I'm going to
00:04:34
do is use the teleport node but to
00:04:37
actually get the teleport node I need to
00:04:40
get a report so type in get player porn
00:04:44
just right click and then from here just
00:04:47
type in teleport and now that we've done
00:04:51
that just go ahead and hook it up and
00:04:53
under destination location just go ahead
00:04:57
and make sure that you hook up last
00:04:59
location to the dessication location so
00:05:02
if I go ahead and press compile now and
00:05:04
press play hopefully it's now
00:05:07
teleporting us to the new location so if
00:05:09
I go ahead and hit this one over here
00:05:11
you can see it has saved from the print
00:05:13
string and I've got the new value press
00:05:16
play and you can see it's spawning me
00:05:18
straight over here and our checkpoint
00:05:20
system is working perfectly and each
00:05:22
time I hit one it's going to change the
00:05:24
new checkpoint location so but pretty
00:05:26
much everything that I wanted to go over
00:05:28
for this tutorial hopefully now you have
00:05:30
a better understanding of how you can
00:05:33
save game information from the player
00:05:36
put it into a variable and then
00:05:38
reference it for later use and hopefully
00:05:40
this checkpoint system will come in real
00:05:42
handy so thanks for watching comment
00:05:45
like and subscribe and I will see you in
00:05:47
the next video goodbye

Description:

This is episode 69 of my unreal engine 4 beginner tutorial series, in today's episode we teleport the player to their last location using the checkpoint system we started creating in the last episode... We learn how to reference our save game data created in the last episode and then use the teleport node to move the player to the last location at the beginning of the level! Blueprints Creations Series https://www.youtube.com/playlist?list=PLL0cLF8gjBpoojQ7YqsSsxycBe5S3ikkV Sample Heightmap Download - https://linkvertise.com/253297/arBdE3715210187?o=sharing Unreal Engine 4 Download - https://linkvertise.com/253297/aXIih2158242748?o=sharing Sample Textures Download - https://linkvertise.com/253297/af7fR3781499937?o=sharing Tutorial HUD Download - http://bit.ly/tutorialHUD Menu Assets Download - http://bit.ly/1XugVsN Next Video In the next video we'll be diving further into unreal engine 4! Don't forget you can help support the channel on Patreon! https://www.patreon.com/virtushub Subscribe for new episodes weekly! https://www.youtube.com/user/virtusedu?sub_confirmation=1 Virtus Learning Hub // Media Youtube Channel - https://www.youtube.com/virtusedu Facebook Page - https://www.facebook.com/unsupportedbrowser Twitter Page - http://www.twitter.com/virtushub Google Plus - https://workspaceupdates.googleblog.com/2023/04/new-community-features-for-google-chat-and-an-update-currents%20.html

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "Teleporting Player To Checkpoint On Level Load - #69 Unreal Engine 4 Beginner Tutorial Series" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "Teleporting Player To Checkpoint On Level Load - #69 Unreal Engine 4 Beginner Tutorial Series" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "Teleporting Player To Checkpoint On Level Load - #69 Unreal Engine 4 Beginner Tutorial Series" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "Teleporting Player To Checkpoint On Level Load - #69 Unreal Engine 4 Beginner Tutorial Series" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "Teleporting Player To Checkpoint On Level Load - #69 Unreal Engine 4 Beginner Tutorial Series"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "Teleporting Player To Checkpoint On Level Load - #69 Unreal Engine 4 Beginner Tutorial Series"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.