Cursor and crosshair issue
by gamer · in Torque Game Engine · 07/24/2006 (12:27 pm) · 0 replies
Currently in my fps game the crosshair is by default on, I want to have the following function:
when the user rightclick the mouse, the cursor replaces the crosshair and a popup appear right where the cursor is. a problem I encountered while implementing this is that if the crosshair is aiming at a person, and I call CursorOn, the crosshair doesn't turn into a cursor. It works if the crosshair is not aiming at any person.
is there a workaround for this?
thanks
-gamer
when the user rightclick the mouse, the cursor replaces the crosshair and a popup appear right where the cursor is. a problem I encountered while implementing this is that if the crosshair is aiming at a person, and I call CursorOn, the crosshair doesn't turn into a cursor. It works if the crosshair is not aiming at any person.
is there a workaround for this?
thanks
-gamer
About the author