Download

Run a event at only 1 player in a server

i had a question, how can i run a 1 player event in a server? i tried to do this but it doesn’t work

Hi!

Not sure how that is supposed to work but I think that first integer isn’t zero-based but the character index is so I think you need to -1 to not overshoot the possible options. Also where are you triggering this event? In the player controller?

Hi, i trigger this event in the bp map btw -1 value is not working

Like I said I’m not sure how that operation is suppose to work, only that I think that the index starts at 0. You could use Get all actors of class and then get the length of that output array, and calculate a random number from that.