#Equipping Objects Based on Player's Index

1 messages · Page 1 of 1 (latest)

shrewd egret
#

How would I equip a certain object based on which index a player is?

I'm trying to make a system where when you "join" the game, a flashlight get's put in your hand... each flashlight is different based on which player you are in the lobby...

flint sigil
shrewd egret
flint sigil
# shrewd egret Oh I got it to work but thank you! On a seperate note, if someone is already ho...

if you are using room index, that shouldnt be possible
however, if you are doing nothing to prevent a user from dropping their flashlight, which is always nice:

Whoever owns the flashlight knows what flashlight is theirs, so using an Event Receiver (Update 30hz), you need to check "Is there a person who is not me holding my flashlight?", you can do this with Rec Room Object Get Last Equipping Player

If the object is currently being held and the person holding it is not local, unequip flashlight

shrewd egret
#

Ok thank you!

shrewd egret
flint sigil
shrewd egret
#

Here's a ss just in case

shrewd egret
flint sigil
shrewd egret
#

yes

flint sigil
#

Then yes, this setup is perfect

shrewd egret
#

cool

flint sigil
#

If you were using Rec Room Object Get All With Tag, that would be different, as the order of that list changes frequently and is not synced

shrewd egret
#

yeah...

slow locust
#

Oh my lord I'm reading this almost a year later THANK YOU SO MUCH