Give unique index to instance of Blueprint
Hello everyone !
So, my question is, I think, quite simple. I've done a checkpoint blueprint for my racing game, and I need to give to each copy i make in the world a unique index, wich is X+1 each time i duplicate my blueprint. I thought about a LastIndex + 1 in the construction script, but thi does not seems to work.
Also, I'm trying to change only the appearance of the last one, to symbolize it's the finish line, and tried with a Last Index, again on the construction script so I can see where it places it, but it does not seems to work well. If I add this part of code after placing a bunch of my checkpoint, the last one is indeed changed, but if i then duplicate this last one, every other one duplicta from this one will have a changed appearance too.
Thanks for anyone who will be willing to help a stupid guy like me, because i know it's a stupid issue ^^'
asked Mar 05 '19 at 10:18 AM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here