[DiscordArchive] i see, is there any function to call to make it happen in cpp script?
[DiscordArchive] i see, is there any function to call to make it happen in cpp script?
Archived author: JacatinRawr • Posted: 2024-09-29T14:08:23.927000+00:00
Original source
i see, is there any function to call to make it happen in cpp script?
is it the creature->MoveRandom(); ?
Archived author: Rymercyble • Posted: 2024-09-29T14:08:27.532000+00:00
Original source
npc set wander or something like that
Archived author: Honey • Posted: 2024-09-29T14:08:41.458000+00:00
Original source
SetWanderDistance iirc
Archived author: JacatinRawr • Posted: 2024-09-29T14:09:05.502000+00:00
Original source
ah this one: `creature->SetWanderDistance((float)option);`
Archived author: JacatinRawr • Posted: 2024-09-29T14:09:09.759000+00:00
Original source
ill try it, thank you!
Archived author: Honey • Posted: 2024-09-29T14:10:01.348000+00:00
Original source
It's `unit:MoveRandom(distance)` in Lua
Might be the same in cpp
Archived author: JacatinRawr • Posted: 2024-09-29T14:11:05.173000+00:00
Original source
ahh ok, didnt realize the function naming is the same. thanks! xd