Mikk38024@legacy41558003 (talk | contribs) (Note new (1.11) possibility to pass path to graphic. Note that it is uncertain how it can be used.) |
Endx717735@legacy41538548 (talk | contribs) |
||
Line 25: | Line 25: | ||
* The option to pass ''nil'' was added in 1.11. |
* The option to pass ''nil'' was added in 1.11. |
||
+ | * For custom textures: Appears to only work with blp files |
||
− | |||
+ | * For custom textures: Appears to only work outside of hardware cursor mode (there may be more details) |
||
− | * The option to pass a path to a bitmap was added in 1.11. It is yet unclear if it is possible to use graphics outside Blizzard's .mpq's. |
Revision as of 18:33, 1 July 2006
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
SetCursor(cursor);
Parameters
Arguments
- cursor
- String - Can be one of these:
- "ATTACK_CURSOR"
- "ATTACK_ERROR_CURSOR"
- "BUY_CURSOR"
- "BUY_ERROR_CURSOR"
- "CAST_CURSOR"
- "CAST_ERROR_CURSOR"
- "POINT_CURSOR"
- "POINT_ERROR_CURSOR"
- nil - resets cursor
- A path to a 32x32 cursor graphic
Details
- The option to pass nil was added in 1.11.
- For custom textures: Appears to only work with blp files
- For custom textures: Appears to only work outside of hardware cursor mode (there may be more details)