I did, and I look at your tutorial for basic Gameobject scripting as well, and I did the copy/paste thing like you suggested, and it didn't work.
I did, and I look at your tutorial for basic Gameobject scripting as well, and I did the copy/paste thing like you suggested, and it didn't work.
Read what you posted and tell me if it makes any sense.
Code:bool ChatHandler::HandleStartCommand(const char* args, WorldSession *m_session)
Honestly, I don't know, I just copied and pasted the command from the level0.cpp file, and I was assuming it made sense.
The command assumes you have the player selected. Read the function and find the place where it actually starts teaching the player. You WILL need to mod it abit.
you cant just copy and paste because things are a little different. you will need to use something like
if(Plr->getRace() == RACE_HUMAN)//you check race if is equal to humans
{ run the teleport to human starting area}//if so then it teleports them
else //if theyre not then it goes through the rest of the if statements checking the race, and once it find the right race it uses that teleport
{ if(Plr->getRace() == RACE_DWARF)
{ run the teleport to dwarf starting area}
//and so on and so forth
Spidey, you are a genious....I love you, can I have you kids?
And DoubleHex, thanks for the edit, I understand this now well enough that I do this again without needing you guys. Thanks so much, +Rep for both!
EDIT: Spidey, rain check on the rep, it seems I need to "spread rep". How many people need to get rep from me before I can re-rep you?
I have no idea