I tried to cast to another actor to check the variable value and after I checked the code doesent work
this is the BP_Lever code
also i cant somehow disable an input\
I tried to cast to another actor to check the variable value and after I checked the code doesent work
this is the BP_Lever code
also i cant somehow disable an input\
In the third photo in the Disable Input node, you mixed up the Player Controller and Target pins ![]()
thanks but still does’nt work
Add a Print String node and see which actor fired the End Overlap event. Is this the one you’re waiting for?
And where do you set the value of the Lever Reference variable?
the lever refrence is an actor variable for the casting to work
Have you set the Lever Reference variable? Once a reference variable is added to the Blueprint, it does not contain a reference to any specific actor.
You need to set the value of the variable for everything to work.
or
or in another way.
thanks