Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Unreal Engine 4.X By Example

You're reading from   Unreal Engine 4.X By Example An example-based practical guide to get you up and running with Unreal Engine 4.X

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781785885532
Length 506 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
 Carnall Carnall
Author Profile Icon Carnall
Carnall
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Unreal Engine 4.X By Example
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Introduction to Unreal Engine 4 2. Blueprints and Barrels – Your First Game FREE CHAPTER 3. Advanced Blueprint, Animation, and Sound 4. Unreal Engine, C++, and You 5. Upgrade Activated – Making Bounty Dash with C++ 6. Power Ups for Your Character, Power Ups for the User 7. Boss Mode Activated – Unreal Robots 8. Advanced AI and Unreal Rendering 9. Creating a Networked Shooter 10. Goodbyes and Thank yous Index

Debugging our Blueprints


Much like C++ code, UE allows us to debug our Blueprints. This is a very useful tool that Unreal has provided for us. Let's take our BH_BarrelKiller_Blueprint as an example. We have just created a node cluster that performs functionality based on a logical check. If we were developing in C++ code and our desired functionality was not taking place, we would place breakpoints throughout the areas of code we wish to investigate, so we can closer inspect our game state at runtime. We can perform the same debugging functionality with Blueprints. We have scripted some blueprint functionality that should only destroy actors when they are of type BH_Barrel. So, let's place a breakpoint on our Destroy Actor function node by right-clicking on the node and selecting Add breakpoint. Nodes with breakpoints can be denoted by a small red circle in the top left-hand corner of the node.

Now place an instance of our BH_BarrelKiller at the base of our first ramp and run the project...

You have been reading a chapter from
Unreal Engine 4.X By Example
Published in: Jul 2016
Publisher: Packt
ISBN-13: 9781785885532
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images