1

Topic: [HELP/SEARCH]

Hi,

where can tell me, how i can find the MousePos?
Thats means in a Server the Mouse/TargetPos.

2

Re: [HELP/SEARCH]

Look for character info, there's some vec2 variable, must be named m_position or something like that.

Not Luck, Just Magic.

3 (edited by unsigned char* 2012-08-20 01:55:36)

Re: [HELP/SEARCH]

The class CCharect inherits from CEntity the public parameter "m_Pos"...
To know the mouse position in server side.. you have in the class CCharacter a private struct called "m_LastestInput" that it have a "m_TargetX" and "m_TargetY" parameters... then, to get the mouse position relative to the player: vec2((m_Pos.x+m_LatestInput.m_TargetX), (m_Pos.y+m_LatestInput.m_TargetY))