Unreal Engine Blueprints Unreal Engine Blueprints MCQ 4 — Questions and Answers
Question 1: What is the primary purpose of the Construction Script in a Blueprint Actor?
- To define gameplay logic that runs every frame
- To execute initialization logic each time the Actor is placed or modified in the editor (Correct answer)
- To handle input events from the player
- To define the Actor's network replication rules
Correct answer: To execute initialization logic each time the Actor is placed or modified in the editor
The Construction Script runs whenever the Actor is added to the scene or its properties change in the editor, allowing procedural setup.
Question 2: Which node would you use in Blueprints to smoothly interpolate between two float values over time?
- Lerp (Float)
- FInterp To (Correct answer)
- Timeline
- Clamp
Correct answer: FInterp To
FInterp To smoothly moves a current float value toward a target at a given interp speed, commonly used in Tick for smooth transitions.
Question 3: When a Blueprint variable is set to 'Instance Editable', what does this enable?
- The variable can be changed while the game is running in PIE
- Each placed instance of the Actor can have a unique value set in the Details panel (Correct answer)
- The variable is exposed to the C++ layer
- The variable persists across level loads
Correct answer: Each placed instance of the Actor can have a unique value set in the Details panel
Instance Editable exposes the variable in the Details panel for each Actor instance in the level, allowing per-instance customization.
Question 4: In Blueprints, what is the difference between 'Add Component' and 'Attach Actor to Component'?
- Add Component creates a new component on the Actor; Attach Actor to Component parents one Actor to another's component (Correct answer)
- They are functionally identical
- Add Component is for Static Meshes only; Attach attaches any object
- Add Component runs at edit time; Attach runs only at runtime
Correct answer: Add Component creates a new component on the Actor; Attach Actor to Component parents one Actor to another's component
Add Component dynamically adds a component to the Actor's own component hierarchy, while Attach Actor to Component sets a spatial parent-child relationship between two Actors.
Question 5: What does the 'Do Once' node accomplish in a Blueprint graph?
- Executes its output exactly once and then blocks further calls until reset (Correct answer)
- Runs a loop body exactly one time
- Calls a function once on BeginPlay only
- Limits a function to run once per second
Correct answer: Executes its output exactly once and then blocks further calls until reset
Do Once allows execution to pass through only on the first call; subsequent calls are blocked until the node is reset via its Reset input.
Question 6: Which Blueprint node retrieves the world-space location of a named socket on a Skeletal Mesh Component?
- Get Socket Transform
- Get Bone Location
- Get Socket Location (Correct answer)
- Get Attach Parent Socket Location
Correct answer: Get Socket Location
Get Socket Location returns the world-space position of a named socket defined on the Skeletal Mesh, useful for attaching effects or projectiles.
Question 7: What is the purpose of the 'Sequence' node in a Blueprint execution flow?
- Executes multiple output pins in parallel simultaneously
- Executes multiple output pins sequentially, one after another, in order (Correct answer)
- Randomly selects one output pin to execute
- Waits for all inputs before executing the output
Correct answer: Executes multiple output pins sequentially, one after another, in order
The Sequence node fires each numbered output pin in order (0, 1, 2...), allowing you to fan a single execution wire into multiple ordered paths.
What is the primary purpose of the Construction Script in a Blueprint Actor?