How to start blueprint

I spent all this day trying to rebuild blueprint that spawns an AI Character from interface function using ‘message’. But i dont have any output from my reciever blueprint.

The thing is that i have function that works exactly the same way, and i tried to rebuild it but in another blueprint. So i have a button in my hud widget connected to a message to interface and it works, but if i create a new blueprint, set interface and put a Event from interface (or just any event) its not doing any output.

Im so desperate, please help me somebody

Make sure your function Spawn Unit is calling the Event Spawn Unit event.

I assume you never Set your Commander Variable and it does not refference anything (is Empty/None) you can verify it yourself with a “isValid” Node. Trying to Call something that does not exist will do nothing naturally. If you create a Object variable its Empty by default. Everything else on your Code is fine.

Training Video for Educational Purpose =)

Commander Variable indeed is empty, but i thought that it is used to be filled with some info from newly created message, for instance, i have similar function, but with reference type “Actor” instead of “Character”, and it is valid, but i never set it anywhere and if i choose it and try “find references” it returns 1 (only this Get node). It gets even stranger for me

It has to call, but if i put print string after message node and after Event node, the first one prints info, but the second doesn’t