Im still trying to learn using Interfaces, but it just keeps not working. What im doing wrong here? Thanks in advance.
It will be the same old story, that IF_test has not been initialized ( set to something ).
But, also this yellow color of the pin
means you’re calling the event that implements the interface call directly.
In general, there’s no point in using an interface to call stuff inside the same actor.
thank you, your solution have fixed the error,
but its still not triggering.
im not calling an event in the same blueprint, im calling an event in a Game Instance.
Are you doing it like this?
Besides that, not sure what’s the point of GI interface calls. The class is loaded anyway, why not cast instead, it’s faster. And probably irrelevant unless you’re doing 1000s of calls every second; which you shouldn’t be doing anyway.
Also, this does not do what you think it does.
Mind you, casting with GI is ugly.
I did this exact thing yesterday, talking to the GI with interfaces ( streaming and unstreaming levels ). It’s great because you don’t have to do all that messy casting. And it’s modular
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.