It sounds so easy in my head but ive been working on this back and forth for a couple of days now and it is extremely hard to access a prespawned actor. As in, an actor put to the level before game is ran.
And then how do I get a reference to this actor from all other actors?
What I am looking to do is have one function that randomize every drop in the game. I have the function done and it works as expected, but I for example whenever something dies it checks if it was a player or npc/monster/creature that died.
That actor will then pass in certain predefined dropchances from a loottable into the randomizer function.
Purpose of this is to have a clean code where from the actor dying you just get this spawner actor, pass in a couple variables and out comes a fountain of loot :3
EDIT: Oh might work with get all actors of class, since it will be only one of those actors per level, shouldnt take up alot of resources right?