Is there any way to use Action Command in the command script?
I wanna use "Use Targeted Object" in the command script to improve open-corpse macro.
I found "SystemData.UserAction.TYPE_USE_TARGETED_OBJECT" in the ActionsWindow.lua.
But sure It dosen't work
I tried a few script ....but all failed lol.
Below two script works when I target myself but corpse.
- UserActionUseItem(TargetWindow.TargetId,false)
j-TargetWindow.OnItemDblClicked()
Hope if I can use Action command in the script or any other script to use targeted object, it's amazing.
I wanna use "Use Targeted Object" in the command script to improve open-corpse macro.
I found "SystemData.UserAction.TYPE_USE_TARGETED_OBJECT" in the ActionsWindow.lua.
But sure It dosen't work
I tried a few script ....but all failed lol.
Below two script works when I target myself but corpse.
- UserActionUseItem(TargetWindow.TargetId,false)
j-TargetWindow.OnItemDblClicked()
Hope if I can use Action command in the script or any other script to use targeted object, it's amazing.