Mouse Cursor and Entity Select.
Posted: Sat Jan 06, 2007 1:41 am
Hi all,
I'm kind of new at Reality Factory, but I've played with the scripting system, and I enjoy the World Editor a lot.
My Question is regarding the information found here: http://dhost.info/realityfactory/online ... .htm#MOUSE
Now, can I:
1) Dynamically change the cursor when over a certain entity (Like a message bubble or movement cursor)?
2) Change the buttons, instead of both doing attacks, one would "click-move" the player (like an RTS or Diablo), and the other would fire?
3) Have HUD buttons that are click-able, and if so, would I be detecting the mouse X and Y locations? Or is there an "OnPress" event that I could add to the HUD buttons?
I've been reading various topics on this subject, but most of them just point to the link I've posted above. I'm also curious where those commands are placed, but I'm assuming that they'd go in the Pawn file...
Thank you all for your time, if I didn't do enough research then please let me know, as I've been checking here for awhile now, and decided to register specifically for this question.
-Aaron
I'm kind of new at Reality Factory, but I've played with the scripting system, and I enjoy the World Editor a lot.
My Question is regarding the information found here: http://dhost.info/realityfactory/online ... .htm#MOUSE
Now, can I:
1) Dynamically change the cursor when over a certain entity (Like a message bubble or movement cursor)?
2) Change the buttons, instead of both doing attacks, one would "click-move" the player (like an RTS or Diablo), and the other would fire?
3) Have HUD buttons that are click-able, and if so, would I be detecting the mouse X and Y locations? Or is there an "OnPress" event that I could add to the HUD buttons?
I've been reading various topics on this subject, but most of them just point to the link I've posted above. I'm also curious where those commands are placed, but I'm assuming that they'd go in the Pawn file...
Thank you all for your time, if I didn't do enough research then please let me know, as I've been checking here for awhile now, and decided to register specifically for this question.
-Aaron