Click To Move: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
Then Set the Action Type
Then Set the Action Type
After the action type is set your toon will automatically begin to walk
After the action type is set your toon will automatically begin to walk
Click to move is also used when following a target.
If you put in a NPC GUID into the struc you will be able to follow NPC's or opposite faction alike.


===Main Offset===
===Main Offset===

Revision as of 03:46, 22 April 2009

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.

So to use click to move put in eighter a GUID or a Position. Then Set the interaction distance Then Set the Action Type After the action type is set your toon will automatically begin to walk


Click to move is also used when following a target. If you put in a NPC GUID into the struc you will be able to follow NPC's or opposite faction alike.

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?