I was just wondering if there is any way I can have an NPC be a member of a guild.
I was just wondering if there is any way I can have an NPC be a member of a guild.
Not really,
You could put sub-name as the guild name, but it wont put them actually in it.
alright thanks for the response.
is there any way to keep an instance open?
for a guild?
That would be cool if you could though haha.
Well you could change a instance to a world map,
Delete the enterance in,
Make a portal in C++ that only lets you in if you are in guild name / id.
Ok lets say I did that but then what would stop other people from entering it. because I was going to do something like Link_S's player housing. where everyone has the same guild house but because it is in an instance it is different for everyone. but I just need to figure out how to make it so the instance never closes and is always open.
what would be an example of that guild only script you mentioned? How would I do that?
would it be like this:
except GetGUID would have to get the guild ID and not the player ID.if(Plr->GetGUID() == 1)
{
pPlayer->SafeTeleport(map, zone, x, y, z, o)
}
Last edited by y2kss66; 03-15-2009 at 11:09 AM.
I'm not great at C++, but I know theres a way to get guild name.
I'll get Link_s to take a look at this thread when he gets online (or somone else answers)![]()
thanks alot for all of your help and hopefully Link_S or someone else can help me out here.
another question:
is it possible,
get guild id and if you are in guild one then on entering a map place them into a raid group?
edit: found the command to get the guild id.
still wondering if you can place people in a raid group?
Last edited by y2kss66; 03-15-2009 at 01:15 PM.
It is possible to add a player to ga group if you are in the same guild.
Check if the Player is on the mapID of the instance, and then if he is, add him to a group with the rest fo the other players.
Nom Nom Nom :P
Thank you very much gastric.