[DiscordArchive] do i need to create the movement step-by-step manually, or is it handled automatically by a spell, f
[DiscordArchive] do i need to create the movement step-by-step manually, or is it handled automatically by a spell, f
Archived author: Lasha • Posted: 2025-07-19T12:57:08.540000+00:00
Original source
do i need to create the movement step-by-step manually, or is it handled automatically by a spell, flag, or phase? i can't find anything related to movement in the sniff. there was a missing record in the database for spell_target_position to cast spell 369728. i added a script for https://www.wowhead.com/spell=362355/disintegrate, now login script runs correctly and objective completes, but i can't figure out how to handle the required movement or phase changing. i tried manually moving the npc to the next position using npc->getmotionmaster()->movepoint(...) but that's not correct and the creature goes through walls. what can i search for in the sniff to find the movement, phase, or npc flag information?
[Embed: Disintegrate]
Disrupt the magical stasis of a target by channeling Spellfrost into it. In the Uncategorized Spells category. Added in World of Warcraft: Dragonflight.
https://www.wowhead.com/spell=362355/disintegrate,
Archived author: SpikeZ • Posted: 2025-07-19T12:58:10.392000+00:00
Original source
movement is also sniffable and is in your sniff with monster_move
Archived author: SpikeZ • Posted: 2025-07-19T12:58:36.179000+00:00
Original source
We have tools to "read" the parsed sniff to create stuff like paths
Archived author: SpikeZ • Posted: 2025-07-19T12:59:02.744000+00:00
Original source
and phasing is a huge system and not that easy if youre not familiar with it
Archived author: Lasha • Posted: 2025-07-19T13:11:07.785000+00:00
Original source
-- GUID: Full: 0x203AF94140B13D80006F7100007518AB Creature/0 R3774/S28529 Map: 2570 (10.0 The Forbidden Reach (Child of 2444)) Entry: 181494 (Dervishian) Low: 7674027
INSERT INTO waypoint_path_node (PathId, NodeId, PositionX, PositionY, PositionZ, Orientation, Delay) VALUES
(@MOVID + 33, '1', '5766.6704', '-3044.4253', '250.45088', '100'), -- PathType: None
......
how do i correctly use this data or attach it to dervishian (181494)?
const uint32 MOVEMENT_ID_BASE = 18149400;
const uint32 DERVISHIAN_PATH_ID = MOVEMENT_ID_BASE + 33;
npc->GetMotionMaster()->MovePath(DERVISHIAN_PATH_ID, false);
is this correct way or i should use smart_scripts?