Okey, so... Is it possible to have a periodic event that updates the mouse coordinates?
Not just "UI - Player Any Player clicks Left mouse button Down.", I would like to have maybe something like " Timer - Every 0.1 seconds of Game Time"
but I can't find a solution were I can add the X and Y cordinates into real variables... Any suggestion? =P
Edit: I would also like to know if it is possible to create a FPS were you control the sight with the mouse, I ave only found a way to do this for the keyboard.
To create an FPS where you control with the mouse, you need to turn ON the following two trigger settings:
Camera -> Turn Camera Mouse Rotation On/Off
Camera -> Lock Camera Mouse Relative Mode On/Off
Enabling both of these will allow you to "look around" by moving the mouse. You can then use "Camera -> Camera Pitch of Player" and "Camera -> Camera Yaw of Player" to determine where they are looking.
You'll also need to modify the camera position to follow whatever unit you want to follow.
Okey, so... Is it possible to have a periodic event that updates the mouse coordinates? Not just "UI - Player Any Player clicks Left mouse button Down.", I would like to have maybe something like " Timer - Every 0.1 seconds of Game Time" but I can't find a solution were I can add the X and Y cordinates into real variables... Any suggestion? =P
Edit: I would also like to know if it is possible to create a FPS were you control the sight with the mouse, I ave only found a way to do this for the keyboard.
@FraindorX: Go
To create an FPS where you control with the mouse, you need to turn ON the following two trigger settings:
Camera -> Turn Camera Mouse Rotation On/Off
Camera -> Lock Camera Mouse Relative Mode On/Off
Enabling both of these will allow you to "look around" by moving the mouse. You can then use "Camera -> Camera Pitch of Player" and "Camera -> Camera Yaw of Player" to determine where they are looking.
You'll also need to modify the camera position to follow whatever unit you want to follow.