1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice

[Tech Help] Can I use Action Command in the command script?

Discussion in 'UO Enhanced Client Discussion' started by Decors, Dec 11, 2009.

  1. Decors

    Decors UOEC Modder
    Stratics Veteran

    Joined:
    Jul 19, 2009
    Messages:
    93
    Likes Received:
    1
    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.