Hey -
Generally, to create a delegate with a parameter you would include the parameter in the declaration as such: DECLARE_DELEGATE_OneParam( DelegateName, Param1Type )
And create a variable for the delegate normally: DelegateName MyDelegate;
At this point you can bind the function to call when the delegate is triggered: MyDelegate.Bind(this, &Class::FunctionToBind);
Assuming the function ReturnType FunctionToBind(Param1Type){//some code}
you can make this call from the delegate with MyDelegate.Execute(ParamValue);
The link in BaderThanBad’s answer provides an example of setting up a delegate with a parameter. You can also check the documentation for delegates, Delegates and Lamba Functions in Unreal Engine | Unreal Engine 5.1 Documentation , for more info.
Cheers