[DiscordArchive] maybe i need to give it a mapid?
[DiscordArchive] maybe i need to give it a mapid?
Archived author: WireLiteSoftGames • Posted: 2021-06-12T02:51:59.207000+00:00
Original source
maybe i need to give it a mapid?
Archived author: M'Dic • Posted: 2021-06-12T02:52:00.050000+00:00
Original source
```Creature* creatureTarget = creature->SummonCreature(entry, player->GetPositionX(), player->GetPositionY() + 2, player->GetPositionZ(), player->GetOrientation(), TEMPSUMMON_CORPSE_TIMED_DESPAWN, 500s, false);```
Archived author: WireLiteSoftGames • Posted: 2021-06-12T02:52:26.338000+00:00
Original source
oh let me try that.
Archived author: WireLiteSoftGames • Posted: 2021-06-12T02:53:42.166000+00:00
Original source
compiling
Archived author: M'Dic • Posted: 2021-06-12T02:57:13.991000+00:00
Original source
if it still crashes then i suggest searching the solution for a **creature->Summoncreature** and try to match it from there
Archived author: M'Dic • Posted: 2021-06-12T03:01:26.518000+00:00
Original source
```Creature* creatureTarget = creature->SummonCreature(entry, player->GetPositionX(), player->GetPositionY() + 2, player->GetPositionZ(), player->GetOrientation(), TEMPSUMMON_CORPSE_TIMED_DESPAWN, 500ms); ```
This could be another way as well, as im not certain of what build or else u have done, but change the 500s to 500ms, since 500 seconds could be around 8 minutes
Archived author: WireLiteSoftGames • Posted: 2021-06-12T03:02:33.802000+00:00
Original source
core was pulled 3 days ago on 335
Archived author: M'Dic • Posted: 2021-06-12T03:02:51.637000+00:00
Original source
This subsitutes the entry with your creature template id you posted as well
```Creature* creatureTarget = creature->SummonCreature(500149, player->GetPositionX(), player->GetPositionY() + 2, player->GetPositionZ(), player->GetOrientation(), TEMPSUMMON_CORPSE_TIMED_DESPAWN, 500ms); ```
Archived author: M'Dic • Posted: 2021-06-12T03:04:12.101000+00:00
Original source
**->SummonCreature**
^^ search that in the solution actually and you will get a few examples that should work if it is still problematic, but i suggest changing the 500s to 500ms
Archived author: M'Dic • Posted: 2021-06-12T03:04:19.402000+00:00
Original source
but im off for now