Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Namespaces
Task_SetVariable.h File Reference

Atomic task that writes a value into the LocalBlackboard. More...

#include "../../IAtomicTask.h"
+ Include dependency graph for Task_SetVariable.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Olympe::Task_SetVariable
 Atomic task that writes a value into the LocalBlackboard. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Detailed Description

Atomic task that writes a value into the LocalBlackboard.

Author
Olympe Engine
Date
2026-02-23

Task_SetVariable writes the "Value" parameter into the LocalBlackboard variable named by the "VarName" parameter.

Parameters (ParameterMap): "VarName" (String) - name of the blackboard variable to set (required) "Value" (any) - the value to write; type must match the variable's declared type (required)

Returns: Success on successful write. Failure if VarName is missing, Value is missing, or a type mismatch occurs.

C++14 compliant - no C++17/20 features.

Definition in file Task_SetVariable.h.