I have a target launcher that spawns and launches a target blueprint. I’d like to be able to establish the order in which the targets were spawned, so I can then establish which target was hit first.
It’s for a clay shooting game. Certain clay games require targets to be shot in order, and I’m not sure how to go about creating this.
So far I have GetObjectName, from Spawned Actor, sent to a string array, but don’t know how to extract the integer value from the spawned actor string.
Eg. Clay_Regular_BP_Child_C1 Clay_Regular_BP_Child_C2 .etc. I only need the integer from the last character of the string.
Any help would be greatly appreciated. Cheers.