Open jasper-law opened 5 years ago
Can you share some code and screenshots? There's just not enough info here to be able to help you currently.
Hi!
I'm running into a similar issue. I've found that self.some_actor.call_function(...)
has no effect (i.e. the corresponding UObject function isn't called) when the supplied function name is correct and that it raises an exception when no function corresponds to the supplied function name. Please refer to PyActorImpl.py
.
Thanks in advance, David
Have you tried making the UFUNCTION BlueprintCallable?
Thanks for the prompt reply.
BlueprintCallable
didn't make a difference unfortunately.
Hi all, I'm trying to call a function that is part of my blueprint class.
I've tried both call() and call_function() on my UObject, but neither have any effect. Passing either method an incorrect function name returns an error, whereas the correct name gives no output at all.
I have also tried adding a print node to the function definition (nothing printed in any case), and I have tried both call() and call_function() at run time and in the editor.
Thanks in advance, Jasper