I'm extremely rusty in my coding skills, but looking at the mod's code, it seems that functionality is not actually there.
You can macro DetauntHelper.TargetTop():
Code: Select all
function DetauntHelper.TargetTop()
local LL = DetauntHelper.GetTargetList();
if #LL>0 then
local target_name = LL[1].name;
DTHCommon.Print(DHLang.GetString(DHStrings.TARGET_MSG)..StringToWString(target_name));
DetauntHelper.TargetPlayer(target_name);
end
end
Code: Select all
function DetauntHelper.TargetPlayer(playerName)
DetauntHelper.DetauntTargetName = playerName;
if DetauntHelper.CurrentTargetName == DetauntHelper.DetauntTargetName then
if DHSLocal["SoundOn"] then
PlaySound(DHSLocal["TargetAcquiredSound"]);
end
end
SystemData.UserInput.ChatText = towstring("/target "..playerName)
BroadcastEvent(SystemData.Events.SEND_CHAT_TEXT)
end
Again, i'm very rusty so most likely I must have missed something.