BlueprintScribeDemo Blueprints
/Game/ScribeTest/Blueprints

Actor BP_Turret

Turret that tracks the closest target every frame and heats up while it turns.

Parent
Actor
Compile
Up to date
Size
39 nodes in 1 graph (largest: EventGraph, 39)
Complexity
23 Simple (39 nodes, 1 branch, 2 loops, 1 graph)
C++ candidate
61 Strong C++ candidate
Hard references
1 package, 413 KB
Used by
0
Documented
100% (5 of 5)

Audit 1

  • InfoEvent TickEvent Tick runs 12 nodes every frame. Timers, events or a lower tick interval are often cheaper. EventGraph

C++ migration

61 Strong C++ candidate score 61 of 100

  • 2 loops run every frame inside Event Tick.
  • Event Tick runs 12 nodes every frame; a C++ Tick, a timer or an event costs far less.
  • 18 math nodes: tight math runs many times faster in C++.

Components 1

  • DefaultSceneRoot SceneComponent

Variables 4

NameTypeDefaultDescription
Targets
Instance Editable Turret
Array of Actor Object ReferencesActors the turret can track.
Range
Instance Editable Turret
Float (double-precision)2500.0Tracking distance in cm.
TurnSpeed
Instance Editable Turret
Float (double-precision)4.0How fast the head turns.
Heat
Turret
Float (double-precision)0.0Rises while tracking, 0 to 100.

Events 1

Event Tick Override

Event Tick(DeltaSeconds: Float (single-precision))

Event called every frame, if ticking is enabled

NameTypeDefault
inDeltaSecondsFloat (single-precision)0.0

In EventGraph

Graphs 1

GraphKindNodes
EventGraphEvent Graph39
EventGraph · Event Graph · 39 nodes

References

Uses 1

  • StandardMacros

Used by 0