Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] hey, anyone have idea how can I identify if cre...

[DiscordArchive] hey, anyone have idea how can I identify if cre...

[DiscordArchive] hey, anyone have idea how can I identify if cre...

rektbyfaith
Administrator
0
05-10-2025, 12:01 PM
#1
Archived author: Needle • Posted: 2025-05-10T12:01:52.051000+00:00
Original source

rektbyfaith
05-10-2025, 12:01 PM #1

Archived author: Needle • Posted: 2025-05-10T12:01:52.051000+00:00
Original source

rektbyfaith
Administrator
0
05-10-2025, 12:01 PM
#2
Archived author: Needle • Posted: 2025-05-10T12:01:52.946000+00:00
Original source

Thread automatically created by Shako in <#415944535718494208>
rektbyfaith
05-10-2025, 12:01 PM #2

Archived author: Needle • Posted: 2025-05-10T12:01:52.946000+00:00
Original source

Thread automatically created by Shako in <#415944535718494208>

rektbyfaith
Administrator
0
05-10-2025, 12:39 PM
#3
Archived author: stoneharry • Posted: 2025-05-10T12:39:13.698000+00:00
Original source

```c++

bool WorldObject::IsHostileTo(WorldObject const* target) const
{
return GetReactionTo(target) <= REP_HOSTILE;
}

bool WorldObject::IsFriendlyTo(WorldObject const* target) const
{
return GetReactionTo(target) >= REP_FRIENDLY;
}
```
rektbyfaith
05-10-2025, 12:39 PM #3

Archived author: stoneharry • Posted: 2025-05-10T12:39:13.698000+00:00
Original source

```c++

bool WorldObject::IsHostileTo(WorldObject const* target) const
{
return GetReactionTo(target) <= REP_HOSTILE;
}

bool WorldObject::IsFriendlyTo(WorldObject const* target) const
{
return GetReactionTo(target) >= REP_FRIENDLY;
}
```

rektbyfaith
Administrator
0
05-10-2025, 12:39 PM
#4
Archived author: stoneharry • Posted: 2025-05-10T12:39:44.089000+00:00
Original source

not exposed in Eluna by default, but you can add a new Lua method *very* easily, just invoking the above WorldObject methods
rektbyfaith
05-10-2025, 12:39 PM #4

Archived author: stoneharry • Posted: 2025-05-10T12:39:44.089000+00:00
Original source

not exposed in Eluna by default, but you can add a new Lua method *very* easily, just invoking the above WorldObject methods

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