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_assetWriteArguments
| Name | Type | Description |
|---|---|---|
kindreq | string | 'action' for an Input Action, 'context' for an Input Mapping Context. action | context |
pathreq | string | Full destination path, like /Game/Input/IA_Move. |
value_type | string = 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 |
Related tools
Nearby in Enhanced Input: