SphereCommunity
Players and invis items - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Players and invis items (/Thread-Players-and-invis-items)



Players and invis items - massis87 - 10-09-2017 01:16 AM

how to force a plevel 1 to use (open,dclick for example) an invis object near to him on into the backpack?


RE: Players and invis items - evening - 10-09-2017 02:02 AM

can use removefromview


RE: Players and invis items - darksun84 - 10-09-2017 02:11 AM

Try the useitem itemuid command, it doesn't check line of sight


RE: Players and invis items - massis87 - 10-09-2017 02:27 AM

(10-09-2017 02:02 AM)evening Wrote:  can use removefromview

(10-09-2017 02:11 AM)darksun84 Wrote:  Try the useitem itemuid command, it doesn't check line of sight

dont work Confused


RE: Players and invis items - darksun84 - 10-09-2017 02:49 AM

can you post the script?
What message the player get?


RE: Players and invis items - massis87 - 10-09-2017 10:11 AM

there's no way. i try a lot with a lot of commands.


RE: Players and invis items - Coruja - 10-25-2017 02:03 AM

try change the item ATTR without call UPDATE on it, maybe this will make sphere accept the dclick without let the client know that the item is visible

something like this
Code:
ATTR &= ~attr_invis
SRC.DCLICK <UID>
ATTR |= attr_invis



RE: Players and invis items - massis87 - 10-26-2017 12:10 AM

i do that.
but when attr return invis, you will lose the view of it.
for example: u can open a container, but if u drop an item into that container, the item disappear. u have to reopen for see it. if u click or dclick the item disappear. etc.
for do that we need a new item flag. like use_invis