Difference between revisions of "UO.LTargetKind"
From OpenEUO
(Created page with " UO.LTargetKind ⇔ Returns the class of object that was last targeted. The possible values of this variable are listed in the table below. This variable should also be properly...") |
|||
Line 13: | Line 13: | ||
|} | |} | ||
− | Note: Not setting UO.LTargetKind (usually to 1, to target objects) is by far one of the most common mistakes made when scripting. Simply put, every time that you use | + | Note: Not setting UO.LTargetKind (usually to 1, to target objects) is by far one of the most common mistakes made when scripting. Simply put, every time that you use UO.Macro(22) you must always make sure UO.LTargetKind is set properly beforehand or you will most likely have sporadic targeting problems. |
Revision as of 09:53, 8 October 2010
UO.LTargetKind
⇔ Returns the class of object that was last targeted. The possible values of this variable are listed in the table below. This variable should also be properly set before using UO.Macro(22) (Last Target macro).
Setting | Object Class |
---|---|
1 | Object |
2 | Ground,Mountains,Caves |
3 | Resource: Tree,Water |
Note: Not setting UO.LTargetKind (usually to 1, to target objects) is by far one of the most common mistakes made when scripting. Simply put, every time that you use UO.Macro(22) you must always make sure UO.LTargetKind is set properly beforehand or you will most likely have sporadic targeting problems.