Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Okay so I have a world boss and I am trying to get the list of all the players that are fighting it,

[DiscordArchive] Okay so I have a world boss and I am trying to get the list of all the players that are fighting it,

[DiscordArchive] Okay so I have a world boss and I am trying to get the list of all the players that are fighting it,

rektbyfaith
Administrator
0
04-09-2022, 07:38 PM
#1
Archived author: Shadowmeth • Posted: 2022-04-09T19:38:03.447000+00:00
Original source

Okay so I have a world boss and I am trying to get the list of all the players that are fighting it, how would I possibly do it?
rektbyfaith
04-09-2022, 07:38 PM #1

Archived author: Shadowmeth • Posted: 2022-04-09T19:38:03.447000+00:00
Original source

Okay so I have a world boss and I am trying to get the list of all the players that are fighting it, how would I possibly do it?

rektbyfaith
Administrator
0
04-09-2022, 07:38 PM
#2
Archived author: Jinnai • Posted: 2022-04-09T19:38:42.001000+00:00
Original source

There is something called threat list
rektbyfaith
04-09-2022, 07:38 PM #2

Archived author: Jinnai • Posted: 2022-04-09T19:38:42.001000+00:00
Original source

There is something called threat list

rektbyfaith
Administrator
0
04-09-2022, 07:38 PM
#3
Archived author: Jinnai • Posted: 2022-04-09T19:38:55.031000+00:00
Original source

To work with
rektbyfaith
04-09-2022, 07:38 PM #3

Archived author: Jinnai • Posted: 2022-04-09T19:38:55.031000+00:00
Original source

To work with

rektbyfaith
Administrator
0
04-09-2022, 07:39 PM
#4
Archived author: Shadowmeth • Posted: 2022-04-09T19:39:03.596000+00:00
Original source

Alright thanks.
rektbyfaith
04-09-2022, 07:39 PM #4

Archived author: Shadowmeth • Posted: 2022-04-09T19:39:03.596000+00:00
Original source

Alright thanks.

rektbyfaith
Administrator
0
04-09-2022, 07:40 PM
#5
Archived author: Jinnai • Posted: 2022-04-09T19:40:05.504000+00:00
Original source

https://github.com/TrinityCore/TrinityCo...tManager.h
[Embed: TrinityCore/ThreatManager.h at 3.3.5 · TrinityCore/TrinityCore]
TrinityCore Open Source MMO Framework (master = 9.2.0.43114, 3.3.5 = 3.3.5a.12340) - TrinityCore/ThreatManager.h at 3.3.5 · TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...tManager.h
rektbyfaith
04-09-2022, 07:40 PM #5

Archived author: Jinnai • Posted: 2022-04-09T19:40:05.504000+00:00
Original source

https://github.com/TrinityCore/TrinityCo...tManager.h
[Embed: TrinityCore/ThreatManager.h at 3.3.5 · TrinityCore/TrinityCore]
TrinityCore Open Source MMO Framework (master = 9.2.0.43114, 3.3.5 = 3.3.5a.12340) - TrinityCore/ThreatManager.h at 3.3.5 · TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...tManager.h

rektbyfaith
Administrator
0
04-09-2022, 08:08 PM
#6
Archived author: Shadowmeth • Posted: 2022-04-09T20:08:07.351000+00:00
Original source

Thanks found what I was looking for. 1 more question I want to make the boss use a spell if anyone comes within 5 yards range of him. I tried using MoveInLineofSight function but it works if the player moves, so I can stay right at boss and not move and the spell won't be casted.
rektbyfaith
04-09-2022, 08:08 PM #6

Archived author: Shadowmeth • Posted: 2022-04-09T20:08:07.351000+00:00
Original source

Thanks found what I was looking for. 1 more question I want to make the boss use a spell if anyone comes within 5 yards range of him. I tried using MoveInLineofSight function but it works if the player moves, so I can stay right at boss and not move and the spell won't be casted.

rektbyfaith
Administrator
0
04-09-2022, 08:22 PM
#7
Archived author: Jinnai • Posted: 2022-04-09T20:22:39.594000+00:00
Original source

I'm not at home and it's quite uncomfortable to search for functions and stuff via phone. But I'm sure there is something to check if a player enters a certain range.
rektbyfaith
04-09-2022, 08:22 PM #7

Archived author: Jinnai • Posted: 2022-04-09T20:22:39.594000+00:00
Original source

I'm not at home and it's quite uncomfortable to search for functions and stuff via phone. But I'm sure there is something to check if a player enters a certain range.

rektbyfaith
Administrator
0
04-09-2022, 08:24 PM
#8
Archived author: Jinnai • Posted: 2022-04-09T20:24:13.233000+00:00
Original source

Another gimpy way of doing this would be, schedule an event that targets everything but is limited to 5 yard search range and re-schedule it every second
rektbyfaith
04-09-2022, 08:24 PM #8

Archived author: Jinnai • Posted: 2022-04-09T20:24:13.233000+00:00
Original source

Another gimpy way of doing this would be, schedule an event that targets everything but is limited to 5 yard search range and re-schedule it every second

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