#Is there any way to restrict who can pick up a vehicle?

1 messages · Page 1 of 1 (latest)

versed lantern
#

I've applied a role restriction to a vehicle in game, while it does stop players from entering the vehicle, it doesn't stop them from picking it up from the bumpers, even if there's a room key linked to the vehicle. I've also attempted to make a system which would make the player drop the vehicle if they were holding it without owning its respective room key yet it kept showing as an invalid rec room object. The only thing I can think of doing is just pushing the player away from the vehicle far enough so it can't be grabbed yet that could be abused possibly.. would anyone happen to have a way to just stop players from being able to pick up the vehicle unless if they've got a specific role?

cold apex
#

So you cant make the vehicle a key?

versed lantern
#

Nope, applying a room key to the vehicle doesn’t seem to do anything..

versed lantern
#

I've managed to figure this out surprisingly, just give the cars a special tag then just configure the Everyone role chip to restrict pickup of the applied tag. It's not exactly ideal though as the only way to make it grabbable to players through another role is by allowing the vehicle's tag + the tag of every other grabbable object in the room or restrict the tag of every other vehicle in the room~ then you'd have to make separate roles for combinations of vehicles which is probably just too much, especially since there's a role chip limit. (Otherwise, if there's only one vehicle in the room that's locked behind a room key, just click on the override toggle of the pickup restrictions in a role chip)