[DiscordArchive] Could you give some context?
[DiscordArchive] Could you give some context?
Archived author: Nyeriah • Posted: 2023-03-24T19:37:58.814000+00:00
Original source
Could you give some context?
Archived author: Nyeriah • Posted: 2023-03-24T19:43:14.063000+00:00
Original source
Wordobject is the parent object class to everything, creature, game objects and players
Archived author: Nyeriah • Posted: 2023-03-24T19:43:43.969000+00:00
Original source
TYPEID_UNIT can be either creature or player
Archived author: Frost® • Posted: 2023-03-24T22:28:26.487000+00:00
Original source
summoner is the player
Archived author: Frost® • Posted: 2023-03-24T22:28:41.803000+00:00
Original source
so summoert gettype is not unit
Archived author: Frost® • Posted: 2023-03-24T22:28:53.826000+00:00
Original source
so script exits with return
Archived author: Frost® • Posted: 2023-03-24T22:45:34.385000+00:00
Original source
if u just remove :
if (summoner->GetTypeId() != TYPEID_UNIT)
{
return;
}
event works
Archived author: Nyeriah • Posted: 2023-03-24T22:48:52.612000+00:00
Original source
Cool pr it and I’ll get it merged
Archived author: Frost® • Posted: 2023-03-24T23:03:52.343000+00:00
Original source
done