Hello, I am following the coding-device-interactions-in-verse watch of the verse tutorial. However, the OnButtonInteractedWith hander must be agent->void, and the OnButtonInteractedWith function parameter must be received as a tuple. I followed the instructions in the document, but it fails as above. Can someone please explain?
The type of the value must me agent (I guess the tutorial is outdated) while in your case it’s not.
Also from what I remember SpawnItem() doesn’t take any parameters.
OnBegin<override>()<suspends> : void =
Button.InteractedWithEvent.Subscribe(OnButtonInteractedWith)
OnButtonInteractedWith(Player:agent):void=
ItemSpawner.SpawnItem()
Thank you for answer.
Are you aware of this problem?
I need to use multidimensional array
It is said that Unreal Editor does not support it.
Error: The editable attribute does not yet support multidimensional arrays
Uploading: image.png…