Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Huhu, after character creation and joining the server, how will i set the character into a specific

[DiscordArchive] Huhu, after character creation and joining the server, how will i set the character into a specific

[DiscordArchive] Huhu, after character creation and joining the server, how will i set the character into a specific

rektbyfaith
Administrator
0
04-30-2023, 04:34 PM
#1
Archived author: LaHonder • Posted: 2023-04-30T16:34:01.143000+00:00
Original source

Huhu, after character creation and joining the server, how will i set the character into a specific guild? can it be done by the creation command?
rektbyfaith
04-30-2023, 04:34 PM #1

Archived author: LaHonder • Posted: 2023-04-30T16:34:01.143000+00:00
Original source

Huhu, after character creation and joining the server, how will i set the character into a specific guild? can it be done by the creation command?

rektbyfaith
Administrator
0
04-30-2023, 04:40 PM
#2
Archived author: Whomadeit • Posted: 2023-04-30T16:40:20.037000+00:00
Original source

You could make a script that makes the player join a guild when character created
rektbyfaith
04-30-2023, 04:40 PM #2

Archived author: Whomadeit • Posted: 2023-04-30T16:40:20.037000+00:00
Original source

You could make a script that makes the player join a guild when character created

rektbyfaith
Administrator
0
04-30-2023, 04:51 PM
#3
Archived author: LaHonder • Posted: 2023-04-30T16:51:35.461000+00:00
Original source

then i must make a check isFirstLogin or else!?
rektbyfaith
04-30-2023, 04:51 PM #3

Archived author: LaHonder • Posted: 2023-04-30T16:51:35.461000+00:00
Original source

then i must make a check isFirstLogin or else!?

rektbyfaith
Administrator
0
04-30-2023, 04:56 PM
#4
Archived author: LaHonder • Posted: 2023-04-30T16:56:00.425000+00:00
Original source

So maybe :
```cpp
if (player->GetSession()->GetPlayer()->HasAtLoginFlag(AT_LOGIN_FIRST))
player->SetInGuild(1);
```
?
rektbyfaith
04-30-2023, 04:56 PM #4

Archived author: LaHonder • Posted: 2023-04-30T16:56:00.425000+00:00
Original source

So maybe :
```cpp
if (player->GetSession()->GetPlayer()->HasAtLoginFlag(AT_LOGIN_FIRST))
player->SetInGuild(1);
```
?

rektbyfaith
Administrator
0
04-30-2023, 05:07 PM
#5
Archived author: Whomadeit • Posted: 2023-04-30T17:07:28.938000+00:00
Original source

https://tenor.com/view/elmo-shrug-idk-i-...f-17348455
rektbyfaith
04-30-2023, 05:07 PM #5

Archived author: Whomadeit • Posted: 2023-04-30T17:07:28.938000+00:00
Original source

https://tenor.com/view/elmo-shrug-idk-i-...f-17348455

rektbyfaith
Administrator
0
04-30-2023, 05:14 PM
#6
Archived author: LaHonder • Posted: 2023-04-30T17:14:44.430000+00:00
Original source

i made a test script, will see results now
rektbyfaith
04-30-2023, 05:14 PM #6

Archived author: LaHonder • Posted: 2023-04-30T17:14:44.430000+00:00
Original source

i made a test script, will see results now

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