Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Is there a version of `SummonCreature()` that you can specify the zone that it spawns in? That is,

[DiscordArchive] Is there a version of `SummonCreature()` that you can specify the zone that it spawns in? That is,

[DiscordArchive] Is there a version of `SummonCreature()` that you can specify the zone that it spawns in? That is,

rektbyfaith
Administrator
0
02-22-2025, 03:07 AM
#1
Archived author: Grant • Posted: 2025-02-22T03:07:56.540000+00:00
Original source

Is there a version of `SummonCreature()` that you can specify the zone that it spawns in? That is, rather than spawning where the player is, spawning in, for example, Goldshire, whether or not any players are there?
rektbyfaith
02-22-2025, 03:07 AM #1

Archived author: Grant • Posted: 2025-02-22T03:07:56.540000+00:00
Original source

Is there a version of `SummonCreature()` that you can specify the zone that it spawns in? That is, rather than spawning where the player is, spawning in, for example, Goldshire, whether or not any players are there?

rektbyfaith
Administrator
0
02-22-2025, 05:30 AM
#2
Archived author: TerraByte • Posted: 2025-02-22T05:30:32.289000+00:00
Original source

Yes, its called zoneId. You can set it in the database if you are adding your creature to it. Also you can just use coordinates of that specific zone. I think there is a get coordinates gm command. You can also make a macro that summons it and immediately teleports target to the coordinates
rektbyfaith
02-22-2025, 05:30 AM #2

Archived author: TerraByte • Posted: 2025-02-22T05:30:32.289000+00:00
Original source

Yes, its called zoneId. You can set it in the database if you are adding your creature to it. Also you can just use coordinates of that specific zone. I think there is a get coordinates gm command. You can also make a macro that summons it and immediately teleports target to the coordinates

rektbyfaith
Administrator
0
02-22-2025, 05:32 AM
#3
Archived author: Kitzunu • Posted: 2025-02-22T05:32:22.497000+00:00
Original source

As I understand it he wants to spawn a creature through a script
rektbyfaith
02-22-2025, 05:32 AM #3

Archived author: Kitzunu • Posted: 2025-02-22T05:32:22.497000+00:00
Original source

As I understand it he wants to spawn a creature through a script

rektbyfaith
Administrator
0
02-22-2025, 05:32 AM
#4
Archived author: Kitzunu • Posted: 2025-02-22T05:32:40.677000+00:00
Original source

If I didnt chill in bed I wouldve looked into it
rektbyfaith
02-22-2025, 05:32 AM #4

Archived author: Kitzunu • Posted: 2025-02-22T05:32:40.677000+00:00
Original source

If I didnt chill in bed I wouldve looked into it

rektbyfaith
Administrator
0
02-22-2025, 05:32 AM
#5
Archived author: Kitzunu • Posted: 2025-02-22T05:32:52.544000+00:00
Original source

But I am indeed in bed
rektbyfaith
02-22-2025, 05:32 AM #5

Archived author: Kitzunu • Posted: 2025-02-22T05:32:52.544000+00:00
Original source

But I am indeed in bed

rektbyfaith
Administrator
0
02-22-2025, 05:32 AM
#6
Archived author: TerraByte • Posted: 2025-02-22T05:32:55.368000+00:00
Original source

Ah, i see. I will edit my reply
rektbyfaith
02-22-2025, 05:32 AM #6

Archived author: TerraByte • Posted: 2025-02-22T05:32:55.368000+00:00
Original source

Ah, i see. I will edit my reply

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