Project

General

Profile

Feature #2817

Make the mouse pointer scriptable

Added by Who Knows over 2 years ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Scripting
Target version:
Start date:
08/03/2015
% Done:

0%

Severity:
Normal

Description

Some games show a hand as mouse pointer when objects are taken or moved etc. It would be good having such in OpenMW as well.
It would be nice if an image file could be set for a specific action that is happening. For example setting (new) game variables MousePointer_weaponDrawn to "/icons/crossed_sabres.dds" or MousePointer_spellReadied to "/icons/selfmade_picture.dds"...
As well there could be functions available to set icons for non-standard actions like
@ herbalism script

if ( b_seed_taken == 1 )
    SetMousePointer, "icons/mp_plantHerb.dds" 
else
    UnSetMousePointer
endif

; full fledged

SetMousePointer "<image_path>" [alpha <transparency_value_in_percent>] [x <scale_multiplier>] [y <scale_multiplier>]
ModMousePointer [alpha <transparency_value_in_percent>] [x <scale_multiplier>] [y <scale_multiplier>]
UnsetMousePointer

History

#1 Updated by scrawl . 3 months ago

  • Subject changed from OpenMW: Please make the mouse pointer scriptable to Make the mouse pointer scriptable
  • Category set to Scripting
  • Target version set to openmw-future

Also available in: Atom PDF