Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] That's not a script function, though, is it?

[DiscordArchive] That's not a script function, though, is it?

[DiscordArchive] That's not a script function, though, is it?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
06-05-2025, 04:09 PM
#11
Archived author: tester • Posted: 2025-06-05T16:09:25.788000+00:00
Original source

‍♂️
rektbyfaith
06-05-2025, 04:09 PM #11

Archived author: tester • Posted: 2025-06-05T16:09:25.788000+00:00
Original source

‍♂️

rektbyfaith
Administrator
0
06-05-2025, 04:10 PM
#12
Archived author: tester • Posted: 2025-06-05T16:10:15.366000+00:00
Original source

seemed pretty close in my tests and made the UI very snappy for updates when i was using it
rektbyfaith
06-05-2025, 04:10 PM #12

Archived author: tester • Posted: 2025-06-05T16:10:15.366000+00:00
Original source

seemed pretty close in my tests and made the UI very snappy for updates when i was using it

rektbyfaith
Administrator
0
06-05-2025, 04:16 PM
#13
Archived author: Natrist • Posted: 2025-06-05T16:16:39.090000+00:00
Original source

```C++
BOOL CCommand_DLoc (char const *command, char const *arguments)
{
unsigned long long activePlayer = ClntObjMgrGetActivePlayer();
CGPlayer_C *player = (CGPlayer_C *)ClntObjMgrObjectPtr(activePlayer,TYPE_PLAYER,__FILE__,__LINE__);
if (player) {
C3Vector pos;
player->GetPosition(pos);
ConsoleWriteA("%g,%g,%g", DEFAULT_COLOR, pos.x, pos.y, pos.z);
}
return TRUE;
}
```
rektbyfaith
06-05-2025, 04:16 PM #13

Archived author: Natrist • Posted: 2025-06-05T16:16:39.090000+00:00
Original source

```C++
BOOL CCommand_DLoc (char const *command, char const *arguments)
{
unsigned long long activePlayer = ClntObjMgrGetActivePlayer();
CGPlayer_C *player = (CGPlayer_C *)ClntObjMgrObjectPtr(activePlayer,TYPE_PLAYER,__FILE__,__LINE__);
if (player) {
C3Vector pos;
player->GetPosition(pos);
ConsoleWriteA("%g,%g,%g", DEFAULT_COLOR, pos.x, pos.y, pos.z);
}
return TRUE;
}
```

rektbyfaith
Administrator
0
06-05-2025, 04:17 PM
#14
Archived author: Natrist • Posted: 2025-06-05T16:17:30.823000+00:00
Original source

Here's what I mean. You can retrieve the unit guid in your script function and use the object manager to retrieve a pointer to that object and get its position from there on and compare it to that of the active player.
rektbyfaith
06-05-2025, 04:17 PM #14

Archived author: Natrist • Posted: 2025-06-05T16:17:30.823000+00:00
Original source

Here's what I mean. You can retrieve the unit guid in your script function and use the object manager to retrieve a pointer to that object and get its position from there on and compare it to that of the active player.

rektbyfaith
Administrator
0
06-05-2025, 04:18 PM
#15
Archived author: tester • Posted: 2025-06-05T16:18:55.920000+00:00
Original source

yeah i understood what you meant, the distance return was a byproduct of what i was already working on, so i left it in for the fun of it, i only hit the distance number because i wanted to conver the 3d to 2d space coordinates for a UI
rektbyfaith
06-05-2025, 04:18 PM #15

Archived author: tester • Posted: 2025-06-05T16:18:55.920000+00:00
Original source

yeah i understood what you meant, the distance return was a byproduct of what i was already working on, so i left it in for the fun of it, i only hit the distance number because i wanted to conver the 3d to 2d space coordinates for a UI

rektbyfaith
Administrator
0
06-05-2025, 04:19 PM
#16
Archived author: Natrist • Posted: 2025-06-05T16:19:46.369000+00:00
Original source

I'm down to help with figuring out function names/prototypes if you need it.
rektbyfaith
06-05-2025, 04:19 PM #16

Archived author: Natrist • Posted: 2025-06-05T16:19:46.369000+00:00
Original source

I'm down to help with figuring out function names/prototypes if you need it.

rektbyfaith
Administrator
0
06-05-2025, 04:25 PM
#17
Archived author: tester • Posted: 2025-06-05T16:25:20.340000+00:00
Original source

you're welcome to release any/all info you have for it for people to debug their stuff/update names
rektbyfaith
06-05-2025, 04:25 PM #17

Archived author: tester • Posted: 2025-06-05T16:25:20.340000+00:00
Original source

you're welcome to release any/all info you have for it for people to debug their stuff/update names

rektbyfaith
Administrator
0
06-05-2025, 04:25 PM
#18
Archived author: tester • Posted: 2025-06-05T16:25:55.300000+00:00
Original source

i dont do too much RE atm so doesnt assist me much, but im sure itll suck me back in some time because ill want some random feature
rektbyfaith
06-05-2025, 04:25 PM #18

Archived author: tester • Posted: 2025-06-05T16:25:55.300000+00:00
Original source

i dont do too much RE atm so doesnt assist me much, but im sure itll suck me back in some time because ill want some random feature

rektbyfaith
Administrator
0
06-05-2025, 06:24 PM
#19
Archived author: Widget • Posted: 2025-06-05T18:24:54.011000+00:00
Original source

like this?
2025-06-05_20-23-32_compressed.mp4

2025-06-05_20-23-55_compressed.mp4
rektbyfaith
06-05-2025, 06:24 PM #19

Archived author: Widget • Posted: 2025-06-05T18:24:54.011000+00:00
Original source

like this?
2025-06-05_20-23-32_compressed.mp4

2025-06-05_20-23-55_compressed.mp4

rektbyfaith
Administrator
0
06-05-2025, 06:26 PM
#20
Archived author: Natrist • Posted: 2025-06-05T18:26:49.209000+00:00
Original source

I guess so. ‍♂️
rektbyfaith
06-05-2025, 06:26 PM #20

Archived author: Natrist • Posted: 2025-06-05T18:26:49.209000+00:00
Original source

I guess so. ‍♂️

Pages (3): Previous 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)