#how do i use / get the player of the Level Reached event?
1 messages · Page 1 of 1 (latest)
Meaning it only fires for the person who leveled up
If you want to get the players who leveled up you will need to create a event that sends it to ALL players
what should i do? put it inside a Player Definition Board?
no
Place a event definition and give it a name like “leveled up” and add a player property
place a event sender and choose the event you created then look for second option choose ALL and keep the player input to local player
Get a event receiver and choose the event you made
Whenever you execute the event sender all players will receive it at the event receiver
with the player who executed it
what do you mean by keep the player input to local player?
i made an event and the sender has its target to all
oh wait
nevermind, i didnt know how definitions worked.
oml
okay, i got it.
i dont understand how having it as the Localplayer will make it work for the person that leveled up
You asked to get which player leveled up
Because the Level Reached event only executes for the player who leveled up you need to
Send a event to ALL players saying who leveled up
Local player = The system your running on/YOU
So when executing the event sender it will send YOUR name because it’s LOCAL to ALL players
Oh, i thought it was like sending the event to everyone saying that they leveled up.
Does Local Player work because the player is the one that sent the event?
Thats the only reason i see how it could work that way