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 now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
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
2. Exploring the Blueprint Editor FREE CHAPTER 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

Storing values in variables

A variable is a programming concept. It consists of an identifier that points to a memory location where a value can be stored. For example, a character in a game may have variables to store the value of its health, its speed, and the quantity of ammunition.

A Blueprint can have many variables of various types. The variables of a Blueprint are listed on the My Blueprint panel. Clicking the + button in the Variables category creates a variable:

Blueprint is a strongly typed language. This means that you must define the type of values that a variable can store, and this type cannot be modified during program execution.

When you create a variable, its attributes are displayed in the Details panel. The first attribute of a variable is its name, and the second attribute is its type. The various types are as follows:

Each type is represented by a color...

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