Hi at all,
I've watched the 2+ hours Blueprints Communication Video made by EpicGames.
After that and many research, I couldn't even get a clue, how to solve my Problem.
I want to create a mobile Game.
I've got 2 Gates, each has a different Type (1.
MainGateActor and 2.
From the left side, there comes 1 goatherd, which contains 1-N Goats.
What i want to archieve:
I want to past the Amount of Goats the goatherd has, without letting the goatherd come near the "GoatGateActor". I want, that the
MainGateActor tells the
GoatGateActor, that Something aproched the
MainGateActor, without being able to get any Reference of "`GoatGateActor`".
How can I inform my "`GoatGateActor`", which have no chance of getting any Reference to "`MainGateActor`" and neither "`MainGateActor`" to get any Reference of "`GoatGateActor`", that something specific (Like X Goats passed through the "`MainGateActor`") happend at the "`MainGateActor`".
Example of my Current Situation:
What did I tried so far:
Used Interfaces (Needs a Reference, that's why it isn't suitable for this)
Used Event Dispatchers (Receiver needs a Reference to
MainGateActor, that's why it isn't suitable for this)
Watched tons of Youtube Vids about "Blueprint Communication", but all of these tutorials shows a "`ThirdPersonCharater`" Example... which doesn't fit my Problem.
Smashed at the Keyboard, but it doesn't solve it either :p
I really don't want to use "`GetAllActorsOfClass`" or the "`GetAllActorsOfInterface`" method, cause it doesn't look like a common way, to handle this kind of Problem.
Just to make it sure:
The Goats are getting "stored" in between the MainGate and the GoatGate (The Grey Field).
I just want to inform any Butchers, which are waiting on the right side of the GoatGate, to receive something like "Goats are there, you can now grab 1 and do your work".
This is a full automatic Process, where a User cannot interfere.
Which means, that there is no "Player" you can Control, just Upgrading the max amount of Goats which can be stored. etc.
Thanks in advance for any kind advice.
Mar 28 '18 at 08:19 PM
in Blueprint Scripting