Skip to content
Jigwright
HullForge docs

Create Input Asset

Create an empty Input Action or Input Mapping Context. Created in memory only, like every other creation here: call hf_save_object to put it on disk. An Input Action needs its value type set at creation, because changing it later silently invalidates every modifier already attached to every mapping of it.

hf_create_input_assetWrite

Arguments

NameTypeDescription
kindreqstring'action' for an Input Action, 'context' for an Input Mapping Context.
action | context
pathreqstringFull destination path, like /Game/Input/IA_Move.
value_typestring
= boolean
Actions only. What the action produces. axis2d is movement and look; it is also the one whose digital keys need a Swizzle Axis modifier to reach the second axis.
boolean | axis1d | axis2d | axis3d

Nearby in Enhanced Input: