Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] so there's probably a way to do it via C++?

[DiscordArchive] so there's probably a way to do it via C++?

[DiscordArchive] so there's probably a way to do it via C++?

rektbyfaith
Administrator
0
12-28-2021, 11:32 PM
#1
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++?
rektbyfaith
12-28-2021, 11:32 PM #1

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++?

rektbyfaith
Administrator
0
12-28-2021, 11:46 PM
#2
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
rektbyfaith
12-28-2021, 11:46 PM #2

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

rektbyfaith
Administrator
0
12-29-2021, 12:00 AM
#3
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
rektbyfaith
12-29-2021, 12:00 AM #3

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

rektbyfaith
Administrator
0
12-29-2021, 08:29 PM
#4
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`
rektbyfaith
12-29-2021, 08:29 PM #4

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`

rektbyfaith
Administrator
0
12-29-2021, 08:30 PM
#5
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)
rektbyfaith
12-29-2021, 08:30 PM #5

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)

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)