Tools
EditBlueprint
Modify Blueprint structure with AI
The EditBlueprint tool modifies Blueprint assets by adding or removing variables, components, functions, and event dispatchers.
Capabilities
Variables
Add variables with full type support:
Add a float variable called Health with default value 100
Add an array of Actors called TargetList
Add a map from FName to int called ScoreTableSupported types:
- Primitives:
bool,int,float,string,name,text - Vectors:
Vector,Rotator,Transform - Objects:
Object,Actor,Classreferences - Containers:
Array,Set,Map
Components
Add components with property configuration:
Add a StaticMeshComponent called Mesh
Add a BoxCollision component with BoxExtent (50, 50, 50)
Add a PointLight with Intensity 5000 and LightColor (1, 0.8, 0.6)Functions
Add functions with parameters and return types:
Add a function TakeDamage with float Amount parameter returning bool
Add a pure function GetHealthPercent returning floatEvent Dispatchers
Add an event dispatcher OnDamageReceived with float Damage parameter
Add an event dispatcher OnDeath with no parametersSupported Blueprint Types
| Type | Variables | Components | Functions | Events |
|---|---|---|---|---|
| Actor Blueprint | Yes | Yes | Yes | Yes |
| Character Blueprint | Yes | Yes | Yes | Yes |
| Widget Blueprint | Yes | Widgets | Yes | Yes |
| AnimBlueprint | Yes | No | Yes | Yes |
| Component Blueprint | Yes | No | Yes | Yes |
Widget Blueprints
For Widget Blueprints, add widgets to the hierarchy:
Add a Button widget called StartButton
Add a TextBlock called TitleText with Text "Game Over"
Add a ProgressBar called HealthBarAnimation Blueprints
For AnimBlueprints, manage state machines:
Add a state machine called Locomotion
Add a state called Idle to the Locomotion machine
Add a transition from Idle to RunningEvent Binding
Bind events on components or widgets:
Bind OnClicked event on StartButton to function HandleStartClick
Bind OnComponentBeginOverlap on CollisionBox to function HandleOverlapExample Prompts
Complete Character Setup
Open BP_PlayerCharacter and:
- Add float MaxHealth = 100
- Add float CurrentHealth = 100
- Add bool bIsDead = false
- Add SpringArmComponent attached to root with TargetArmLength 400
- Add CameraComponent attached to SpringArm
- Add function TakeDamage(float Amount)
- Add event dispatcher OnPlayerDiedWidget with Events
Open WBP_MainMenu and:
- Add Button called PlayButton
- Add Button called QuitButton
- Add TextBlock called TitleText
- Bind OnClicked on PlayButton to StartGame
- Bind OnClicked on QuitButton to QuitGame