How to use MoveToDestinition function in C++

05/04/2021 21:10 macnn50#1
Edit : Fixed
05/04/2021 23:06 theashmaster#2
chr.MoveToDestPosition usually requires 3 args: characterVID, destX and destY. Try passing player.GetMainCharacterIndex() before x and y and see if that works
05/04/2021 23:09 macnn50#3
Quote:
Originally Posted by theashmaster View Post
chr.MoveToDestPosition usually requires 3 args: characterVID, destX and destY. Try passing player.GetMainCharacterIndex() before x and y and see if that works
"player.GetMainCharacterIndex ()" comes before x and y in the code I wrote.
Then I send "D3DVECTOR" type x, y but it still runs to 0.0.
05/05/2021 15:57 MrCrisp#4
Small suggestion: use function pointers instead of inline assembly.
05/05/2021 16:33 macnn50#5
Quote:
Originally Posted by MrCrisp View Post
Small suggestion: use function pointers instead of inline assembly.
not suppored inline asm this builder, ı'm usign c++builder (rad studio):S

....
05/06/2021 17:09 _asm#6
Quote:
Originally Posted by macnn50 View Post
not suppored inline asm this server :S

....
you are dumb :)
05/06/2021 17:32 macnn50#7
Quote:
Originally Posted by _asm View Post
you are dumb :)
my fault i'm sorry i made a spelling mistake