using javascript for new cursors?
using javascript for new cursors?
last request for today , can you make it so we have custom mouse cursor objects with color that we can change with javascript?
Re: using javascript for new cursors?
How would you know when to change them? Or would there be something like an array that lists all the different states then you could specify which cursor to use? BTW, there are already some coloured cursors in base.wz/images/intfac/image_cursor*.png
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: using javascript for new cursors?
it would be used as a new action the micro-AI will do. In this case we want to change the icon to a eyeball to show it is in infiltrate mode.
Re: using javascript for new cursors?
Cursors are hard-coded in the SDL backend. So that is not so easy to add.