Post by itsamemario on Feb 1, 2015 18:28:18 GMT
Some cool things that can be done with icons
Sync Icon with hotkey
This can be done with the seticonactive command
What this does is sets the selected icon to the active state(without activating the actual icon)
I like to do this instead of using the huds activated hotkeys. If you use icons heavily this will cut down on clutter.
An example:
Hotkeyauto 100 seticonactive 'Ml set' 1000 | equiphead 9653 | equipchest 11687 | equiplegs 812 | equipboots 3553 | equiplhand 8155
Iconauto 100 equiphead 9653 | equipchest 11687 | equiplegs 812 | equipboots 3553 | equiplhand 8155
Note how you must reenter the code even though you set icon state to active.
Lclick:
This is where you enter the main script. You do not need to use auto -- imagine it as a new key instead of a hotkey.
Rclick:
I like to use this if I am making scripts that are long to break up the work into two parts. This can be any script you want just like lclick
Example:
Lclickauto 100 if [$lastdmg <= 349 && $hppc <= 87] say exura gran
Rclickauto 100 if [$lastdmg >= 350 && $hppc <= 87 || $hppc <= 50] say exura vita
Inactive state
This is what the icon will look like before it is turned on.
Active state
This is what the icon will look like while it is active.
Icon type:
Normal-- Image is normal size
Resize -- Image is resized to 32x32
Tile -- Only the bottom tile of the image is used
Center -- Image is centered over the x,y coordinates
Center x -- Image is centered over x coordinate
Center y -- Image is centered over y coordinate
Left -- Image is as far to the left as the x y coordinates will allow
Right -- Image is as far to the right as the x y coordinates will allow
Top -- Image is as far to the top as the x y coordinates will allow
Bottom -- Image is as far to the bottom as the x y coordinates will allow
Icon ids:
You may enter the ids of four items left being top to right being bottom. You can use 0-4 ( I would recommend atleast one for icon inactive state)
Bkg type:
More space to put ids these however go under all of the icon ids
Xpos:
The position the icon will be centered over the x axis
Ypos:
The Position the icon will be centered over the y axis
Txt:
This is where you enter the txt you want to be displayed while the icon is set to inactive/active along with the color the icon will be when clicked (left) and when the mouse is hovering over it (right)