I’ve been searching for the answer for a long time before asking, hope someone can explain.
I have made an animation for fising (some youtube guide helping me) but he is using 3rd person and I’m using TopDown. In my BP_TopDownControlle I have the walking event. In my BP_TopDownCharacter I have the fishing event.
Now I want to be unable to walk if I’m already fishing, but both these are in different BP’s.
How do I use the “if fishing” from one BP on the other BP?
Hello @flomiel you can try to make variable bIsFishing in your controller. Out of your movement event check bIsFishing and only move if it’s false. In your Character where the fishing event is when the player starts fishing cast to your controller and set bIsFishing to true. If you have problems setting that up or it doesn’t work send your blueprints I will be happy to help.
Sorry as a new guy I’m apparently not allowed to upload more then 1 img. So I can’t share the controller, but I’m sure I can solve that. But I’m not sure how to connect this Cast so that bIsfishing is set to true.
I came as far as above, tried different connections but I do not seem to get it yet… haha
@flomiel Yeah that is how you cast to your controller. In the variable list you have a variable called controllerRef delete it if you are not using it. Just so you can keep the blueprint clean. Or you also can do something like this: