Hey there Ownedcore!
I'm scripting a quest right now and I have a npc that's on a ledge. I want him to jump down on the ground below it without making it look buggy as shit. Is there a jump spell or emote? Thank You
Hey there Ownedcore!
I'm scripting a quest right now and I have a npc that's on a ledge. I want him to jump down on the ground below it without making it look buggy as shit. Is there a jump spell or emote? Thank You
Every type of movement is just a packet. For more complicated paths, a lot of coordinates are sent and the server and client syncs it.
There is a movement type for running, jumping, charging, being knockbacked, falling, walking, etc. You will need to call a function that sends the npc moving.
If you have pathfinding enabled, you will probably need to disable it on the creature for the jump to work properly.
How to properly calculate arc and such you can look at how the emulator handles knockback spells.
Spells are used for knockbacking and jumping, for example there is a spell for when Tirion jumps into the air knocking Frostmourne out of Arthas' hand. I forget the spell name.