WoW API: SetCursor

Revision as of 19:27, 25 June 2006 by WoWWiki>Mikk (Note new (1.11) possibility to pass path to graphic. Note that it is uncertain how it can be used.)

WoW API < SetCursor

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.
  • 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.