[DiscordArchive] so there's probably a way to do it via C++?
[DiscordArchive] so there's probably a way to do it via C++?
Archived author: Deleted User • Posted: 2021-12-28T23:32:18.702000+00:00
Original source
so there's probably a way to do it via C++?
Archived author: Yakumo • Posted: 2021-12-28T23:46:09.312000+00:00
Original source
I mean.. smart scripts is just an abstract way of performing C++ actions. They're predefined. I don't see why directly doing it in the source yourself changes anything unless you're giving it new checks to prevent it from getting stuck? I'd assume it simply takes the current position and then adds/subtracts w.e value you wanted and then moves towards that new coord. Haven't looked at it so it's just an assumption. But ye, gl with that rofl
Archived author: Deleted User • Posted: 2021-12-29T00:00:32.657000+00:00
Original source
whoop, I meant that there's probably a better way to do it via C++. But yea, you'd have to make it work better, which doesn't sound particularly easy
Archived author: Deleted User • Posted: 2021-12-29T20:29:01.573000+00:00
Original source
What do you want to achieve exactly? Do you want the NPC to move forward until there is a wall ahead? In that case you can just use the built-in function called `MovePositionToFirstCollision`
Archived author: Deleted User • Posted: 2021-12-29T20:30:19.373000+00:00
Original source
Keep in mind that it only takes VMAPS into consideration (.m2, .wmo)