CrimsonSkillTree · Lesson 6 of 6

Activate a Node at Runtime

Beginner4 minRuntime

Before you start

  • Completed: Configure the Trees
Video coming soon

Chapters

Activate a node

Activation is a single call on the manager: Request Skill Node Action, passing the target NodeGuid and the action type Activate. Call it from client or server — the manager routes through a validated server RPC, so you write no networking code.

Call Request Skill Node Action (Node Guid, Activate) on the manager.

From C++

cpp
// Client or server — the manager routes through a validated Server_ RPC
SkillTreeManager->RequestSkillNodeAction(NodeGuid, ECrimsonSkillNodeActionType::Activate);
Where the GUID comes from
Read the NodeGuid from the asset, or — far more often — from the node widget the player clicked.

Verify replication

In a Listen Server + Client PIE test, the node's state changes to Set on both server and client, and OnSkillTreeStateUpdated broadcasts on each so your UI can refresh. That's server-authoritative replication doing its job — no extra code from you.

What's next
Lay out and style the tree (spline connections), drive batches / respec / loadouts, persist it with save & load, and wire real input — each covered in the Advanced courses.