Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] If unit not existed before and summoned temporarily

[DiscordArchive] If unit not existed before and summoned temporarily

[DiscordArchive] If unit not existed before and summoned temporarily

rektbyfaith
Administrator
0
11-15-2023, 09:32 AM
#1
Archived author: Blocker • Posted: 2023-11-15T09:32:58.147000+00:00
Original source

If unit not existed before and summoned temporarily
```cpp
me->CastSpell(me, 17646, true); // 17646 Summons Onyxia's Whelp. https://wotlk.ezhead.org/?spell=17646
```
and for this creature I have waypoints data in waypoint_scripts table. When I execute command directly on this unit:
```
.wp reload pathId
.wp load pathId
```
it starts moving, but without this command it doesn't move. What did I forget to add?
rektbyfaith
11-15-2023, 09:32 AM #1

Archived author: Blocker • Posted: 2023-11-15T09:32:58.147000+00:00
Original source

If unit not existed before and summoned temporarily
```cpp
me->CastSpell(me, 17646, true); // 17646 Summons Onyxia's Whelp. https://wotlk.ezhead.org/?spell=17646
```
and for this creature I have waypoints data in waypoint_scripts table. When I execute command directly on this unit:
```
.wp reload pathId
.wp load pathId
```
it starts moving, but without this command it doesn't move. What did I forget to add?

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