| |
a mod i'm editing has a keydown event that binds alt and a keypress as well as item linker.
for some reason it's canceling out the Ctrl keydown event for dressing room so i can't view items in dressing room from a linked item.
function New_SetItemRef (link)
if ( strsub(link, 1, 6) == "player" ) then
local name = strsub(link, 8)
if ( name and (strlen(name) > 0) ) then
if ( IsAltKeyDown() ) then
InviteByName(name)
return --remove the default method that starts a tell with the player clicked
elseif ( IsControlKeyDown() ) then
GDKP_add(full,name)
return
elseif ( IsShiftKeyDown() ) then
GDKP_add(upgrade,name)
anyway of adding in a keydown event for dressing room or fixing the error or it not working?[ post edited by Wakaru ]
Captain Logic has spoken!
|