#how do you attach objects to every player permanently

1 messages · Page 1 of 1 (latest)

simple veldt
#

trying to plaster light on to every player in-game

keen cedar
#

based on my knowledge right now you should try using a set position and an event receiver also put a body position chip after thats done connect the event receiver to the set position and configure it to be 30HZ, connect the player body position to the position pin on the set position and lastly connect the target pin to the light that you are using

keen cedar
simple veldt
simple veldt
#

awesome that seem to have worked
well atleast for one player
i’ll have to try it with my mate in a bit or something

#

thanks lots thou

velvet cloak
#

if there is multiple lights you could put them all in a list create

woeful light
#

Just tag the lights "light#" where # is a number based on its index.

Then use a String Concat where the first input is "light" and the second input is Player Get Room Index (with a To String), and connect the result to a Rec Room Object Get First With Tag and Set Transform|Position|Rotation

This is one of the best ways with multiple players as it means every player has their own separate light.

Or you can alternately use a Value Integer Switch with the Player Get Room Index instead, this is honestly the cheapest and most effective way I believe.

#

I would say the last option is what you should do 👍

#

@simple veldt

#

Just keep in mind that there is a bug where some players can share the same index or have none at all, which RR cannot fix as it is a Photon's (think that's the name) issue

#

Shouldn't be much of a problem though

simple veldt
#

gotcha

#

ill do that then

#

ill let you know if it worked

woeful light
#

Aight, I'll be here all day lol

keen cedar
woeful light
simple veldt
#

i’m trying the first option ill send a screenshot in a bit

#

will do

#

hope its readable