Skip to content
Tangerie edited this page Mar 28, 2023 · 7 revisions

Mod Download

How to implement in your mod

Adding to your project

In the Content/CustomContent directory run git clone https://github.com/Tangerie/Spellbound.git and then open the uProject

Registering

On your EventBeginPlay add the following node

image

Parameters
Action - The struct containing the default keys, mod name and event name
On Pressed - The event to be called on key press \

You can break the Action pin to make things easier (as seen in the image above) to give the following parameters

Default Keys - The default keybinds to be used (multiple keybinds can be assigned but currently only the first will be used)
Mod Name - The name of your mod (to be shown in the config menu)
Event Name - The name of your keybind (to be shown in the config menu) \

Full Example

image

This creates a keybind with the Tab key. (Note: If you don't have the same parameters on a node, try breaking the struct pin or using a Make struct pin)

Clone this wiki locally