Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Blueprints Visual Scripting for Unreal Engine

You're reading from   Blueprints Visual Scripting for Unreal Engine The faster way to build games using UE4 Blueprints

Arrow left icon
Product type Paperback
Published in Aug 2019
Publisher Packt
ISBN-13 9781789347067
Length 380 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Marcos Romero Marcos Romero
Author Profile Icon Marcos Romero
Marcos Romero
Brenden Sewell Brenden Sewell
Author Profile Icon Brenden Sewell
Brenden Sewell
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Section 1: Blueprint Fundamentals FREE CHAPTER
2. Exploring the Blueprint Editor 3. Programming with Blueprints 4. Actors and the Gameplay Framework 5. Understanding Blueprint Communication 6. Section 2: Developing a Game
7. Object Interaction with Blueprints 8. Enhancing Player Abilities 9. Creating Screen UI Elements 10. Creating Constraints and Gameplay Objectives 11. Section 3: Enhancing the Game
12. Building Smart Enemies with Artificial Intelligence 13. Upgrading the AI Enemies 14. Game States and Applying the Finishing Touches 15. Building and Publishing 16. Section 4: Advanced Blueprints
17. Data Structures and Flow Control 18. Math and Trace Nodes 19. Blueprints Tips 20. Introduction to VR Development 21. Other Books You May Enjoy

Organizing the script with Macros and Functions

When we are creating Blueprint scripts, sometimes, a group of Actions is used in more than one place in Blueprint. These Actions can be converted into Macros or Functions, simplifying the initial script because this group of Actions will be replaced by only one node. Also, if you need to change something in this group of Actions, this change will only be implemented in the Macro or Function rather than having to search every location where this group of Actions was used. This is a good programming practice to use as it simplifies code and debugging.

Creating Macros

To create Macros, use the My Blueprint panel and click the + button in the Macros category. The following screenshot...

lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime
Banner background image