Click To Move

From wowdev
Revision as of 02:58, 22 April 2009 by Malu05 (talk | contribs) (New page: The click to move function can be used to control your toon with the same funtion as Click To Move. This makes it possible to have wow do all the math for the movement and you just having ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The click to move function can be used to control your toon with the same funtion as Click To Move. This makes it possible to have wow do all the math for the movement and you just having to put in the commands. Not that the Interaction commands are limited, and that your toon must move before it can interact with a object. The interaction can happen to any object and npc so this can be used in a wide range of scenarios.


Main Offset

Current: 3.1.0 - 0x1111080
Legacy:
3.0.9.9551 - 0x011F20AC
3.0.3.9183 - 0x011f0ff4
3.0.2.9056 - 0x011EEFDC
Memory Click To Move Block by By Malu05 - 2007
Offset		Type	Description		Additional Details
0x0 =		float	?			?
0x4 =		float	TURN_SCALE		Value determining the scale of the turn (only when turning more than 180 degrees?),
0x8 =		float	?			?
0xC = 		float	INTERACTION_DISTANCE	Value determining how far from the targeted position the player should stop.
0x1C = 	INT	ACTION_TYPE		The action trigger. See details about Action Type Below.
0x20 = 	8int	InteractGUID
0x74 =		float	X move to
0x78 =		float	Y move to
0x7C =		float	Z move to


INTERACTION_DISTANCE

Type		Distance
Travel 		= 0,5
Attack and Loot 	= 3,66666650772095


ACTION_TYPES

INT	MoveID 
1 =	Face Target
3 =	Stop?
4 =	Walk
5 =	Follow + Interact
6 =	Loot
7 =	Interact(trigger object)
8 =	?
9 =	?
10= 	Attack Assigned POS
11= 	Attack GUID pos?
12= 	Walk + Rotate?