In my player controller, i have a variable ‘SelectedCharacter’ as a character reference variable.
On InputAction LeftMouseButton - Pressed, which is a self-explanatory event, i want to set any character under the cursor as the value for ‘SelectedCharacter’.
I have tried using ‘get hit result under cursor’ both by channel and by object. Both hit result, when broken, yields to ‘hit actor’ that is not a valid reference for characters.
What can I do?
Suggestion to staff: can we please make UE blueprints friendlier for those who want to make RTS or third person multi-character RPGs? All of the blueprint tutorials for RTS-styles out there looks more like a clever workaround to Action/FPS/Single-Character oriented engine, which i’m pretty sure can be made to be less… taxing.
If it matters, me and my friends are just trying to clone The Sims.