Jump to content

Photo

Mouse in ZC


  • Please log in to reply
7 replies to this topic

#1 nyrox

nyrox

    Junior

  • Members
  • Location:Québec

Posted 17 January 2021 - 09:00 PM

what is the base to make script with mouse...

 

like have a cursor of position of mouse?


Edited by nyrox, 17 January 2021 - 09:00 PM.


#2 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 17 January 2021 - 10:43 PM

Check ZScript_Additions.txt for all sorts of scripting documentation. You'd want 'Input->Mouse[]' to access the mouse position.



#3 nyrox

nyrox

    Junior

  • Members
  • Location:Québec

Posted 18 January 2021 - 03:04 PM

Thank you for guide me Venrob is very appreciate you known when you give me the first direction i will done whspat i want after i used a lot of zscript.txt or zquest.Txt i don't known fir this other file.

Edited by nyrox, 18 January 2021 - 03:06 PM.


#4 nyrox

nyrox

    Junior

  • Members
  • Location:Québec

Posted 18 January 2021 - 06:58 PM

i don't found the file ... i'm work in 2.53



#5 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 18 January 2021 - 07:00 PM

Ah, that's for 2.55.

In 2.53, 'zscript.txt' has pretty much everything that's available.



#6 nyrox

nyrox

    Junior

  • Members
  • Location:Québec

Posted 18 January 2021 - 07:39 PM

how  to see  a mouse cursor  in game ?

because a see only

 

 

Spoiler

 

nothing for activate a mouse  in  game or see the mouse pointer in the game



#7 Saffith

Saffith

    IPv7 user

  • ZC Developers

Posted 18 January 2021 - 08:24 PM

You'll have to draw your own cursor. Use Screen->DrawTile() or Screen->DrawCombo() with Link->InputMouseX and Link->InputMouseY for the x and y arguments.


  • nyrox likes this

#8 nyrox

nyrox

    Junior

  • Members
  • Location:Québec

Posted 18 January 2021 - 09:22 PM

thanks saffith

 

work verywell :P




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users