Problem with access to actor variables without casting.
There is a problem with access to the variables of the actor (Blueprints).
The actors are created after the start of the level.
At one level we are have 50 actors (bots) of different types (orcs, goblins, gnomes, dragons, etc.).
All of them have a variable "HP".
How can get access to variable "HP" or other component of a particular actor without casting?
asked Oct 12 '17 at 06:43 AM in Blueprint Scripting
Parent them to a 'NPC' blueprint that has a 'hp' variable. That way you can just cast to a 'npc' bp without worrying about which specific actor is referenced.
answered Oct 12 '17 at 09:06 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here