Results 1 to 3 of 3

Thread: Player Color Based Interactable

  1. #1

    Player Color Based Interactable

    The interactable property is useful to prevent static objects from being accidentally moved by players. However, in RPG games there are lots of objects which should not be interactable by players and should be interactable by the GM (host).

    It would be ideal if the object interactable property worked like the visibility property in that instead of being a true/false, it would be a string of player colors which are able to interact with that object. An empty string would mean no interaction with any players (i.e. the equivalent of the current interactable = false). Listing all player colors would allow all players to interact with the object (i.e. the equivalent of the current interactable = true). However, listing some player colors (such as black) would allow only those players to interact with the object.

  2. #2
    Yea that really would be super useful, not even just for RPGs. You could script a "don't touch my stuff" tool that lets you quickly set items to only be interactable by you in case you, like me, have friends that like to touch stuff in your player area

  3. #3
    Agreed. I am surprised that the InvisibleTo() function does not do this. I would think that if you are making an object invisible to certain players it is probably for the purpose of not wanting them to interacts with it. How often would a game use invisible objects that players can interact with? I'm guessing it is done this way because the InvisibleTo() just sets some CSS visibility (or similar) but it would probably be more difficult to prevent the interaction.

Similar Threads

  1. Workaround for Player Based UI Elements
    By LordAshes in forum Scripting
    Replies: 3
    Last Post: 09-08-2019, 09:11 PM
  2. Getting player color via UI
    By omikoron in forum Scripting
    Replies: 2
    Last Post: 05-20-2018, 07:52 PM
  3. Replies: 3
    Last Post: 01-29-2017, 06:14 AM
  4. [SUGGESTION] Display player names, and/or color the seats in some way
    By Spheniscine in forum Superfight
    Replies: 7
    Last Post: 07-18-2016, 08:16 PM
  5. Replies: 2
    Last Post: 02-14-2016, 10:25 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •