Skip to main content

Adapter

Converts a Stat value between different types or modifies it into a format required by the target processor or injector.

Used by various processors and injectors.

There are two families:

FamilyInputOutput
Stat Value Adaptera Stata value
Value Adaptera valuea value

Example​

A Dash moves the Actor to a point 4 m in front of it. No Stat holds that point, so the Tween Effect's End Value builds it with adapters, using the 3DCells and Kodes dash setup:

StepAdapterValue
1the Source's Direction Stat(0.6, 0.2, 0.77)
2Alter Vector3, Multiplier (4, 4, 4)(2.4, 0.8, 3.08)
3Project On Plane, normal (0, 1, 0)(2.4, 0, 3.08)
4Sum with the Source's Position (10, 0, 5)(12.4, 0, 8.08)

Steps 2–4 are one Tree Operation: a Stat Value Adapter that reads Direction, runs it through a Chain of Value Adapters, and merges it with Position.