You are currently viewing Variable Types

Variable Types

Variable Type Description Common Examples
Boolean Represents a True or False value. Is the Player HP <= 0?
Does the Player have the door key?
Integer Non-fractional numbers (whole numbers). Can contain negative numbers. Number of coins collected by the Player.
Number of trophies unlocked in the game.
Float High-precision fractional values. Also called “rational numbers” in math. Percentages / probabilities
Any number with decimal places
String / Text / Name A sequence of characters used to store words, or “plain text.” A weapon’s name in the game
Text displayed as part of a HUD
Vector 3 Group of 3 Float values that represents 3 related values. Location (X, Y, Z coordinates)
RGB Color (X=red, Y=green, Z=blue)
Rotator Group of 3 Float values that represents a rotation in 3D space. Rotation in X = Roll
Rotation in Y = Pitch
Rotation in Z = Yaw
Transform Contains the Location, Rotation, and Scale of an object in 3D space. The Transform of an Actor Blueprint in the level

Leave a Reply