• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Gossip_Menu_option Question

Status
Not open for further replies.

PrestonParsons

BETA Tester
Hello there.

Im trying to fingering out how like Main Cities then i make Orgimmar, Thunder Buff etc. but i want it to show Horde. but not Alliance?

Is there any chance to work like that?
 

Rochet2

Moderator / Eluna Dev
Code:
// add gossip menu item blah blah
if (player->GetTeam() == HORDE)
{
   // add gossip menu item blah blah
}
else
{
   // add gossip menu item blah blah
}
// add gossip menu item blah blah

player->SEND_GOSSIP_MENU(100, creature->GetGUID());
 

PrestonParsons

BETA Tester
Not script. its SQL.

INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 60001, 1, 0, 6, 1419, 0, 0, 0, '', "Stormwind - Alliance Only");
 
Status
Not open for further replies.
Top