sco 
Apprentice

Posts: 38
Likes Given: 0
Likes Received: 3 in 1 posts
Joined: Mar 2012
Reputation: 7
Elantharil
![]()
|
RE: Dclick deed inside container
Some itemtypes are doubleclickable in containers outside of your backpack, like books or other containers, but most of them are not.
There are some workarounds for that, but i prefer this one.
Enable Packetfiltering and add to your sphere.ini:
Code:
Packet6=f_precheck_dclick
And add a function to your scripts:
Code:
[function f_precheck_dclick]
return <uid.<hval (<local.1>*01000000)+(<local.2>*010000)+(<local.3>*0100)+<local.4>>.trigger @precheckdclick,<def.tat_as_args>,<local.char>>
Then add this trigger to your deed item:
Code:
[typedef t_always_dclickable]
on=@precheckdclick
trysrc <args> use 0
return 1
|
|
06-28-2014 07:27 AM |
|
The following 3 users Like sco's post:3 users Like sco's post
Dataline (06-29-2014), Mordaunt (06-29-2014), XuN (06-29-2014)
|