There's this map [Miscellanous / Other] - Northrend Bound: v1.84 Open Source which I'm doing some small changes on. The map is for 8 players and people are a little frustrated if many of the players choose the same race/profession.
So I was hoping to add a text notification function to the triggers that govern the race/profession selection, that is displayed to all players. However, the dialog triggers in this map are very complicated for a simpleton like me.
thx in advance
So I was hoping to add a text notification function to the triggers that govern the race/profession selection, that is displayed to all players. However, the dialog triggers in this map are very complicated for a simpleton like me.
-
General Dialog
-
Events
- Dialog - A dialog button is clicked for General_Dialog[1]
- Dialog - A dialog button is clicked for General_Dialog[2]
- Dialog - A dialog button is clicked for General_Dialog[3]
- Dialog - A dialog button is clicked for General_Dialog[4]
- Dialog - A dialog button is clicked for General_Dialog[5]
- Dialog - A dialog button is clicked for General_Dialog[6]
- Dialog - A dialog button is clicked for General_Dialog[7]
- Dialog - A dialog button is clicked for General_Dialog[8]
- Conditions
-
Actions
- Set TempInt = (Player number of (Triggering player))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Cancel[TempInt]
-
Then - Actions
- Set Diplomacy_Ally[TempInt] = False
- Set Diplomacy_Truce[TempInt] = False
- Set Diplomacy_DeclareWar[TempInt] = False
- Set Diplomacy_Denounce[TempInt] = False
- Set Diplomacy_Tribute[TempInt] = False
-
Else - Actions
- Set TempPlayer = (Triggering player)
- -------- Diplomacy Dialog --------
- -------- Broker Peace --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_BrokerPeace[TempInt]
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Reputation[TempInt] Greater than or equal to 600
-
Then - Actions
-
Player Group - Pick every player in NeutralPlayers and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked player) slot status) Equal to Is playing
- ((Picked player) controller) Equal to User
-
Then - Actions
- Set TempForce = (Player group((Picked player)))
- Player Group - Make TempForce treat NeutralPlayers as an Neutral
- Player Group - Make NeutralPlayers treat TempForce as an Neutral
- Custom script: call DestroyForce(udg_TempForce)
- Set Reputation[(Player number of (Picked player))] = 0
- Multiboard - Set the text for Multiboard item in column 3, row PlayerRow[(Player number of (Picked player))] to (String(Reputation[(Player number of (Picked player))]))
- Set PlayerAlignment[(Player number of (Picked player))] = |CFF949694Trusted|r
- Multiboard - Set the text for Multiboard item in column 4, row PlayerRow[(Player number of (Picked player))] to PlayerAlignment[(Player number of (Picked player))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Player Group - Pick every player in BanditPlayers and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked player) slot status) Equal to Is playing
- ((Picked player) controller) Equal to User
-
Then - Actions
- Set PlayerAlignment[(Player number of (Picked player))] = |CFFFF0000Bandit|r
- Multiboard - Set the text for Multiboard item in column 4, row PlayerRow[(Player number of (Picked player))] to PlayerAlignment[(Player number of (Picked player))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Game - Display to (All players) the text: ((PlayerColor[TempInt] + (Name of (Triggering player))) + |r has brokered peace between all non-bandit factions. Affected players are neutral, reputation is reset, and participants can't attack each other for 2 minutes.)
- Set PeaceBrokered = True
- Trigger - Run Peace Out <gen> (ignoring conditions)
-
Player Group - Pick every player in NeutralPlayers and do (Actions)
-
Else - Actions
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: You need to be |CFF...
- Custom script: call DestroyForce(udg_TempForce)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- -------- Make Alliance --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Alliance[TempInt]
-
Then - Actions
- Set Diplomacy_Ally[TempInt] = True
- Dialog - Clear Selection_Dialog[TempInt]
- Dialog - Change the title of Selection_Dialog[TempInt] to Who do you want to ...
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled Cancel
- Set Button_Cancel[TempInt] = (Last created dialog Button)
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Player((Integer A))) slot status) Equal to Is playing
- ((Player((Integer A))) controller) Equal to User
- (Player((Integer A))) Not equal to TempPlayer
-
Then - Actions
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r))
- Set Button_Player[(Integer A)] = (Last created dialog Button)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Dialog - Show Selection_Dialog[TempInt] for TempPlayer
-
Else - Actions
- -------- Make Truce --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_MakeTruce[TempInt]
-
Then - Actions
- Set Diplomacy_Truce[TempInt] = True
- Dialog - Clear Selection_Dialog[TempInt]
- Dialog - Change the title of Selection_Dialog[TempInt] to Who will you make a...
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled Cancel
- Set Button_Cancel[TempInt] = (Last created dialog Button)
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Player((Integer A))) slot status) Equal to Is playing
- ((Player((Integer A))) controller) Equal to User
- (Player((Integer A))) Not equal to TempPlayer
-
Then - Actions
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r))
- Set Button_Player[(Integer A)] = (Last created dialog Button)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Dialog - Show Selection_Dialog[TempInt] for TempPlayer
-
Else - Actions
- -------- Declare War --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_DeclareWar[TempInt]
-
Then - Actions
- Set Diplomacy_DeclareWar[TempInt] = True
- Dialog - Clear Selection_Dialog[TempInt]
- Dialog - Change the title of Selection_Dialog[TempInt] to Who do you want to ...
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled Cancel
- Set Button_Cancel[TempInt] = (Last created dialog Button)
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Player((Integer A))) slot status) Equal to Is playing
- ((Player((Integer A))) controller) Equal to User
- (Player((Integer A))) Not equal to TempPlayer
-
Then - Actions
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r))
- Set Button_Player[(Integer A)] = (Last created dialog Button)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Dialog - Show Selection_Dialog[TempInt] for TempPlayer
-
Else - Actions
- -------- Denounce --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Denounce[TempInt]
-
Then - Actions
- Set Diplomacy_Denounce[TempInt] = True
- Dialog - Clear Selection_Dialog[TempInt]
- Dialog - Change the title of Selection_Dialog[TempInt] to Who do you want to ...
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled Cancel
- Set Button_Cancel[TempInt] = (Last created dialog Button)
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Player((Integer A))) slot status) Equal to Is playing
- ((Player((Integer A))) controller) Equal to User
- (Player((Integer A))) Not equal to TempPlayer
-
Then - Actions
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r))
- Set Button_Player[(Integer A)] = (Last created dialog Button)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Dialog - Show Selection_Dialog[TempInt] for TempPlayer
-
Else - Actions
- -------- Quest Dialog --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Clicked dialog button) Equal to Button_AcceptMoladune[TempInt]
- (Clicked dialog button) Equal to Button_AcceptCleric[TempInt]
- (Clicked dialog button) Equal to Button_AcceptBoneCollector[TempInt]
- (Clicked dialog button) Equal to Button_AcceptArena[TempInt]
- (Clicked dialog button) Equal to Button_AcceptAshford[TempInt]
- (Clicked dialog button) Equal to Button_AcceptCavalon[TempInt]
- (Clicked dialog button) Equal to Button_AcceptDroknar[TempInt]
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_AcceptMoladune[TempInt]
- QuestActiveMoladune Equal to False
-
Then - Actions
- Set QuestActiveMoladune = True
- Quest - Create a Optional quest titled Moladune Ores No Mo... with the description Moladune is seeking..., using icon path ReplaceableTextures\CommandButtons\BTNGoldMine.blp
- Set QuestMoladune = (Last created quest)
- Set TempForce = (Player group(TempPlayer))
- Quest - Display to TempForce the Quest Discovered message: |cffffcc00Quest Acc...
- Quest - Flash the quest dialog button
- Custom script: call DestroyForce(udg_TempForce)
- Set TempPoint = (Position of |cffffcc00Moladune|r 0256 <gen>)
- Sound - Play WhatMoladune <gen> at 75.00% volume, located at TempPoint with Z offset 0.00
- Floating Text - Create floating text that reads "Give them bastards... at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Set TempFloatText = (Last created floating text)
- Floating Text - Set the velocity of TempFloatText to 32.00 towards 90.00 degrees
- Floating Text - Change TempFloatText: Disable permanence
- Floating Text - Change the lifespan of TempFloatText to 4.00 seconds
- Floating Text - Change the fading age of TempFloatText to 3.00 seconds
- Custom script: call RemoveLocation(udg_TempPoint)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_AcceptCleric[TempInt]
- QuestActiveCleric Equal to False
-
Then - Actions
- Set QuestActiveCleric = True
- Quest - Create a Optional quest titled What Troubles The L... with the description The Cleric wants to..., using icon path ReplaceableTextures\CommandButtons\BTNPriest.blp
- Set QuestCleric = (Last created quest)
- Set TempForce = (Player group(TempPlayer))
- Quest - Display to TempForce the Quest Discovered message: |cffffcc00Quest Acc...
- Quest - Flash the quest dialog button
- Custom script: call DestroyForce(udg_TempForce)
- Set TempPoint = (Position of |cffffcc00Cleric|r 0261 <gen>)
- Sound - Play WhatCleric <gen> at 75.00% volume, located at TempPoint with Z offset 0.00
- Floating Text - Create floating text that reads "Evil is near . . .... at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Set TempFloatText = (Last created floating text)
- Floating Text - Set the velocity of TempFloatText to 32.00 towards 90.00 degrees
- Floating Text - Change TempFloatText: Disable permanence
- Floating Text - Change the lifespan of TempFloatText to 4.00 seconds
- Floating Text - Change the fading age of TempFloatText to 3.00 seconds
- Custom script: call RemoveLocation(udg_TempPoint)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_AcceptBoneCollector[TempInt]
- QuestActiveBoneCollector Equal to False
-
Then - Actions
- Set QuestActiveBoneCollector = True
- Quest - Create a Optional quest titled Bones For The Bone ... with the description The Bone Collector ..., using icon path ReplaceableTextures\CommandButtons\BTNGhostOfKelThuzad.blp
- Set QuestBoneCollector = (Last created quest)
- Set TempForce = (Player group(TempPlayer))
- Quest - Display to TempForce the Quest Discovered message: |cffffcc00Quest Acc...
- Quest - Flash the quest dialog button
- Custom script: call DestroyForce(udg_TempForce)
- Set TempPoint = (Position of |cffffcc00Bone Collector|r (Ghost) 0290 <gen>)
- Sound - Play WhatBoneCollector <gen> at 75.00% volume, located at TempPoint with Z offset 0.00
- Floating Text - Create floating text that reads "This shall be amus... at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Set TempFloatText = (Last created floating text)
- Floating Text - Set the velocity of TempFloatText to 32.00 towards 90.00 degrees
- Floating Text - Change TempFloatText: Disable permanence
- Floating Text - Change the lifespan of TempFloatText to 4.00 seconds
- Floating Text - Change the fading age of TempFloatText to 3.00 seconds
- Custom script: call RemoveLocation(udg_TempPoint)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_AcceptArena[TempInt]
- QuestActiveArena Equal to False
-
Then - Actions
- Set QuestActiveArena = True
- Set ArenaRound1 = True
- Quest - Create a Optional quest titled Trolling The Arena with the description The Arena Master wa..., using icon path ReplaceableTextures\CommandButtons\BTNHeadHunterBerserker.blp
- Set QuestArena = (Last created quest)
- Set TempForce = (Player group(TempPlayer))
- Quest - Display to TempForce the Quest Discovered message: |cffffcc00Quest Acc...
- Quest - Flash the quest dialog button
- Custom script: call DestroyForce(udg_TempForce)
- Set TempPoint = (Position of |cffffcc00Arena Master|r 0035 <gen>)
- Sound - Play WhatArenaMaster <gen> at 75.00% volume, located at TempPoint with Z offset 0.00
- Floating Text - Create floating text that reads "Let the tournament... at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Set TempFloatText = (Last created floating text)
- Floating Text - Set the velocity of TempFloatText to 32.00 towards 90.00 degrees
- Floating Text - Change TempFloatText: Disable permanence
- Floating Text - Change the lifespan of TempFloatText to 4.00 seconds
- Floating Text - Change the fading age of TempFloatText to 3.00 seconds
- Custom script: call RemoveLocation(udg_TempPoint)
- Wait 7.00 seconds
- Set TempGroup = (Units in Arena <gen>)
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ArenaMessage[(Player number of (Owner of (Picked unit)))] Equal to False
-
Then - Actions
- Set ArenaMessage[(Player number of (Owner of (Picked unit)))] = True
- Set TempForce = (Player group((Owner of (Picked unit))))
- Quest - Display to TempForce the New Unit Acquired message: |cffffcc00Round 1:|...
- Custom script: call DestroyForce(udg_TempForce)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Custom script: call DestroyGroup(udg_TempGroup)
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
- Set ArenaMessage[(Integer A)] = False
-
Loop - Actions
- Set TempPoint = (Center of Arena Creep 1 <gen>)
- Unit - Create 1 Troll Warrior for Player 12 (Brown) at TempPoint facing 225.00 degrees
- Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspiritdone.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_TempPoint)
- Set TempPoint = (Center of Arena Creep 2 <gen>)
- Unit - Create 1 Troll Warrior for Player 12 (Brown) at TempPoint facing 225.00 degrees
- Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspiritdone.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_TempPoint)
- Set TempPoint = (Center of Arena Creep 3 <gen>)
- Unit - Create 1 Troll Warrior for Player 12 (Brown) at TempPoint facing 225.00 degrees
- Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspiritdone.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_TempPoint)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_AcceptAshford[TempInt]
- QuestActiveAshford Equal to False
-
Then - Actions
- Set QuestActiveAshford = True
- Set QuesterAshford = (Player group(TempPlayer))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- QuestTierAshford Equal to 4
-
Then - Actions
- Quest - Create a Optional quest titled The King of Thieves with the description A Bandit Lord has t..., using icon path ReplaceableTextures\CommandButtons\BTNBanditLord.blp
- Quest - Display to QuesterAshford the Quest Discovered message: |cffffcc00Quest Acc...
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- QuestTierAshford Equal to 3
-
Then - Actions
- Quest - Create a Optional quest titled Rogue Magic with the description There have been str..., using icon path ReplaceableTextures\CommandButtons\BTNBanditMage.blp
- Quest - Display to QuesterAshford the Quest Discovered message: |cffffcc00Quest Acc...
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- QuestTierAshford Equal to 2
-
Then - Actions
- Quest - Create a Optional quest titled Bandit Woes with the description Ashford's trade rou..., using icon path ReplaceableTextures\CommandButtons\BTNBanditSpearThrower.blp
- Quest - Display to QuesterAshford the Quest Discovered message: |cffffcc00Quest Acc...
-
Else - Actions
- Quest - Create a Optional quest titled Bandit Troubles with the description Ashford's trade rou..., using icon path ReplaceableTextures\CommandButtons\BTNBandit.blp
- Quest - Display to QuesterAshford the Quest Discovered message: |cffffcc00Quest Acc...
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Set QuestAshford = (Last created quest)
- Quest - Flash the quest dialog button
- Set TempPoint = (Position of Herald 0056 <gen>)
- Sound - Play WhatHerald <gen> at 75.00% volume, located at TempPoint with Z offset 0.00
- Floating Text - Create floating text that reads "They were last sig... at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Set TempFloatText = (Last created floating text)
- Floating Text - Set the velocity of TempFloatText to 32.00 towards 90.00 degrees
- Floating Text - Change TempFloatText: Disable permanence
- Floating Text - Change the lifespan of TempFloatText to 4.00 seconds
- Floating Text - Change the fading age of TempFloatText to 3.00 seconds
- Custom script: call RemoveLocation(udg_TempPoint)
- Trigger - Run Ashford Regions <gen> (ignoring conditions)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_AcceptCavalon[TempInt]
- QuestActiveCavalon Equal to False
-
Then - Actions
- Set QuestActiveCavalon = True
- Set QuesterCavalon = (Player group(TempPlayer))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- QuestTierCavalon Equal to 4
-
Then - Actions
- Quest - Create a Optional quest titled Terror Of The Deep with the description A Deeplord is terro..., using icon path ReplaceableTextures\CommandButtons\BTNDeepLordRevenant.blp
- Quest - Display to QuesterCavalon the Quest Discovered message: |cffffcc00Quest Acc...
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- QuestTierCavalon Equal to 3
-
Then - Actions
- Quest - Create a Optional quest titled Scurvy Hag Bags with the description Ghosts have been le..., using icon path ReplaceableTextures\CommandButtons\BTNGhost.blp
- Quest - Display to QuesterCavalon the Quest Discovered message: |cffffcc00Quest Acc...
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- QuestTierCavalon Equal to 2
-
Then - Actions
- Quest - Create a Optional quest titled Out Of The Closet with the description Cavalon's coastline..., using icon path ReplaceableTextures\CommandButtons\BTNSkeletonArcher.blp
- Quest - Display to QuesterCavalon the Quest Discovered message: |cffffcc00Quest Acc...
-
Else - Actions
- Quest - Create a Optional quest titled A Bone To Pick with the description Cavalon's coastline..., using icon path ReplaceableTextures\CommandButtons\BTNSkeletalOrc.blp
- Quest - Display to QuesterCavalon the Quest Discovered message: |cffffcc00Quest Acc...
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Set QuestCavalon = (Last created quest)
- Set TempPoint = (Position of Herald 0058 <gen>)
- Sound - Play WhatHerald <gen> at 75.00% volume, located at TempPoint with Z offset 0.00
- Floating Text - Create floating text that reads "They were last sig... at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Quest - Flash the quest dialog button
- Set TempFloatText = (Last created floating text)
- Floating Text - Set the velocity of TempFloatText to 32.00 towards 90.00 degrees
- Floating Text - Change TempFloatText: Disable permanence
- Floating Text - Change the lifespan of TempFloatText to 4.00 seconds
- Floating Text - Change the fading age of TempFloatText to 3.00 seconds
- Custom script: call RemoveLocation(udg_TempPoint)
- Trigger - Run Cavalon Regions <gen> (ignoring conditions)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_AcceptDroknar[TempInt]
- QuestActiveDroknar Equal to False
-
Then - Actions
- Set QuestActiveDroknar = True
- Set QuesterDroknar = (Player group(TempPlayer))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- QuestTierDroknar Equal to 4
-
Then - Actions
- Quest - Create a Optional quest titled Harbinger Of Darkne... with the description A Dark Wizard and h..., using icon path ReplaceableTextures\CommandButtons\BTNDoomGuard.blp
- Quest - Display to QuesterDroknar the Quest Discovered message: |cffffcc00Quest Acc...
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- QuestTierDroknar Equal to 3
-
Then - Actions
- Quest - Create a Optional quest titled Cult Of The Damned with the description Cultists have been ..., using icon path ReplaceableTextures\CommandButtons\BTNChaosWarlock.blp
- Quest - Display to QuesterDroknar the Quest Discovered message: |cffffcc00Quest Acc...
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- QuestTierDroknar Equal to 2
-
Then - Actions
- Quest - Create a Optional quest titled Kill The Mutant with the description Heretics have been ..., using icon path ReplaceableTextures\CommandButtons\BTNFelHound.blp
- Quest - Display to QuesterDroknar the Quest Discovered message: |cffffcc00Quest Acc...
-
Else - Actions
- Quest - Create a Optional quest titled Burn The Heretic with the description Heretics have been ..., using icon path ReplaceableTextures\CommandButtons\BTNAcolyte.blp
- Quest - Display to QuesterDroknar the Quest Discovered message: |cffffcc00Quest Acc...
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Set QuestDroknar = (Last created quest)
- Set TempPoint = (Position of Herald 0057 <gen>)
- Sound - Play WhatHerald <gen> at 75.00% volume, located at TempPoint with Z offset 0.00
- Floating Text - Create floating text that reads "They were last sig... at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Quest - Flash the quest dialog button
- Set TempFloatText = (Last created floating text)
- Floating Text - Set the velocity of TempFloatText to 32.00 towards 90.00 degrees
- Floating Text - Change TempFloatText: Disable permanence
- Floating Text - Change the lifespan of TempFloatText to 4.00 seconds
- Floating Text - Change the fading age of TempFloatText to 3.00 seconds
- Custom script: call RemoveLocation(udg_TempPoint)
- Trigger - Run Droknar Regions <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- -------- Race Dialog --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Clicked dialog button) Equal to Button_Dwarf[TempInt]
- (Clicked dialog button) Equal to Button_Elf[TempInt]
- (Clicked dialog button) Equal to Button_Human[TempInt]
- (Clicked dialog button) Equal to Button_Orc[TempInt]
- (Clicked dialog button) Equal to Button_Undead[TempInt]
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Set TempPoint = (Random point in Start <gen>)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Dwarf[TempInt]
-
Then - Actions
- Unit - Create 1 Thane for TempPlayer at TempPoint facing (Random angle) degrees
- Player - Limit training of Inn (Dwarf) to 1 for TempPlayer
- Player - Limit training of Dry Dock (Human) to 2 for TempPlayer
- Player - Limit training of Hot Spring to 1 for TempPlayer
- Multiboard - Set the display style for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to Show text and Show icons
- Multiboard - Set the icon for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to war3mapImported\BTNRPGDwarf.blp
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Human[TempInt]
-
Then - Actions
- Unit - Create 1 Lord for TempPlayer at TempPoint facing (Random angle) degrees
- Player - Limit training of Inn (Human) to 1 for TempPlayer
- Player - Limit training of Dry Dock (Human) to 2 for TempPlayer
- Player - Limit training of City Fountain to 1 for TempPlayer
- Multiboard - Set the display style for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to Show text and Show icons
- Multiboard - Set the icon for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to war3mapImported\BTNRPGHuman.blp
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Orc[TempInt]
-
Then - Actions
- Unit - Create 1 Chieftain for TempPlayer at TempPoint facing (Random angle) degrees
- Player - Limit training of Inn (Orc) to 1 for TempPlayer
- Player - Limit training of Dry Dock (Orc) to 2 for TempPlayer
- Player - Limit training of Crimson Oasis to 1 for TempPlayer
- Multiboard - Set the display style for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to Show text and Show icons
- Multiboard - Set the icon for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to war3mapImported\BTNRPGOrc.blp
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Elf[TempInt]
-
Then - Actions
- Unit - Create 1 Guardian for TempPlayer at TempPoint facing (Random angle) degrees
- Player - Limit training of Inn (Elf) to 1 for TempPlayer
- Player - Limit training of Dry Dock (Elf) to 2 for TempPlayer
- Player - Limit training of Moon Well to 1 for TempPlayer
- Multiboard - Set the display style for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to Show text and Show icons
- Multiboard - Set the icon for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to war3mapImported\BTNRPGElf.blp
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Undead[TempInt]
-
Then - Actions
- Unit - Create 1 Magistrate for TempPlayer at TempPoint facing (Random angle) degrees
- Player - Limit training of Inn (Undead) to 1 for TempPlayer
- Player - Limit training of Dry Dock (Undead) to 2 for TempPlayer
- Player - Limit training of Defiled Font to 1 for TempPlayer
- Multiboard - Set the display style for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to Show text and Show icons
- Multiboard - Set the icon for Multiboard item in column 1, row PlayerRow[(Player number of TempPlayer)] to war3mapImported\BTNRPGUndead.blp
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Human\Heal\HealTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Set level of Critical Evasion (Agility) for (Last created unit) to (Agility of (Last created unit) (Include bonuses))
- Unit - Set level of Spell Resistance (Intelligence) for (Last created unit) to (Intelligence of (Last created unit) (Include bonuses))
- Set HERO[(Player number of TempPlayer)] = (Last created unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Quickstart[13] Equal to True
-
Then - Actions
- Hero - Set HERO[(Player number of TempPlayer)] Hero-level to ((Hero level of HERO[(Player number of TempPlayer)]) + 9), Show level-up graphics
- Else - Actions
-
If - Conditions
- -------- Backpack Setup --------
- Unit - Create 1 Bag: Inventory and Status Menu for TempPlayer at TempPoint facing Default building facing degrees
- Hero - Set (Last created unit) Hero-level to 50, Hide level-up graphics
- Set BAG[(Player number of TempPlayer)] = (Last created unit)
- Custom script: call RemoveLocation(udg_TempPoint)
- Dialog - Clear Selection_Dialog[TempInt]
- Dialog - Change the title of Selection_Dialog[TempInt] to Choose Your Startin...
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled |cffffcc00Founder:|...
- Set Button_Founder[TempInt] = (Last created dialog Button)
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled |cffffcc00Fisherman...
- Set Button_Fisherman[TempInt] = (Last created dialog Button)
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled |cffffcc00Trader:|r...
- Set Button_Trader[TempInt] = (Last created dialog Button)
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled |cffffcc00Hunter:|r...
- Set Button_Hunter[TempInt] = (Last created dialog Button)
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled |cffffcc00Delver:|r...
- Set Button_Delver[TempInt] = (Last created dialog Button)
- Dialog - Create a dialog button for Selection_Dialog[TempInt] labelled |cffffcc00Banker:|r...
- Set Button_Banker[TempInt] = (Last created dialog Button)
- Dialog - Show Selection_Dialog[TempInt] for TempPlayer
- Else - Actions
-
If - Conditions
-
If - Conditions
-
If - Conditions
-
If - Conditions
-
If - Conditions
-
If - Conditions
-
If - Conditions
-
If - Conditions
-
Events
-
Selection Dialog
-
Events
- Dialog - A dialog button is clicked for Selection_Dialog[1]
- Dialog - A dialog button is clicked for Selection_Dialog[2]
- Dialog - A dialog button is clicked for Selection_Dialog[3]
- Dialog - A dialog button is clicked for Selection_Dialog[4]
- Dialog - A dialog button is clicked for Selection_Dialog[5]
- Dialog - A dialog button is clicked for Selection_Dialog[6]
- Dialog - A dialog button is clicked for Selection_Dialog[7]
- Dialog - A dialog button is clicked for Selection_Dialog[8]
- Conditions
-
Actions
- Set TempInt = (Player number of (Triggering player))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Cancel[TempInt]
-
Then - Actions
- Set Diplomacy_Ally[TempInt] = False
- Set Diplomacy_Truce[TempInt] = False
- Set Diplomacy_DeclareWar[TempInt] = False
- Set Diplomacy_Denounce[TempInt] = False
- Set Diplomacy_Tribute[TempInt] = False
-
Else - Actions
- Set TempPlayer = (Triggering player)
- -------- Diplomacy Dialog --------
- -------- Player Selection --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Clicked dialog button) Equal to Button_Player[1]
- (Clicked dialog button) Equal to Button_Player[2]
- (Clicked dialog button) Equal to Button_Player[3]
- (Clicked dialog button) Equal to Button_Player[4]
- (Clicked dialog button) Equal to Button_Player[5]
- (Clicked dialog button) Equal to Button_Player[6]
- (Clicked dialog button) Equal to Button_Player[7]
- (Clicked dialog button) Equal to Button_Player[8]
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Diplomacy_Ally[TempInt] Equal to True
-
Then - Actions
- Set Diplomacy_Ally[TempInt] = False
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Player[(Integer A)]
-
Then - Actions
- Hashtable - Save True as TempInt of (Integer A) in AllianceHashtable
- Hashtable - Save 0 as TempInt of (Integer A) in AllianceHashtable
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Load TempInt of (Integer A) from AllianceHashtable) Equal to True
- (Load (Integer A) of TempInt from AllianceHashtable) Equal to True
-
Then - Actions
- Player - Make TempPlayer treat (Player((Integer A))) as an Ally with shared vision
- Player - Make (Player((Integer A))) treat TempPlayer as an Ally with shared vision
- Set PlayerStatus[TempInt] = |CFF18BE00Allied|r
- Multiboard - Set the text for Multiboard item in column 2, row PlayerRow[TempInt] to PlayerStatus[TempInt]
- Set PlayerStatus[(Integer A)] = |CFF18BE00Allied|r
- Multiboard - Set the text for Multiboard item in column 2, row PlayerRow[(Integer A)] to PlayerStatus[(Integer A)]
- Game - Display to (All players) the text: ((PlayerColor[TempInt] + (Name of TempPlayer)) + (|r is now |CFF18BE00Allied|r with + (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r.))))
-
Else - Actions
- Set TempForce = (Player group((Player((Integer A)))))
- Game - Display to TempForce the text: ((PlayerColor[TempInt] + (Name of TempPlayer)) + |r has offered an |CFF18BE00Alliance|r.)
- Custom script: call DestroyForce(udg_TempForce)
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: (You have offered + (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r an |CFF18BE00Alliance|r.)))
- Custom script: call DestroyForce(udg_TempForce)
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Diplomacy_Truce[TempInt] Equal to True
-
Then - Actions
- Set Diplomacy_Truce[TempInt] = False
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Player[(Integer A)]
-
Then - Actions
- Hashtable - Save False as TempInt of (Integer A) in AllianceHashtable
- Hashtable - Save 0 as TempInt of (Integer A) in AllianceHashtable
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Load TempInt of (Integer A) from AllianceHashtable) Equal to 0
- (Load (Integer A) of TempInt from AllianceHashtable) Equal to 0
-
Then - Actions
- Player - Make TempPlayer treat (Player((Integer A))) as an Neutral
- Player - Make (Player((Integer A))) treat TempPlayer as an Neutral
- Set PlayerStatus[TempInt] = |CFF949694Truce|r
- Multiboard - Set the text for Multiboard item in column 2, row PlayerRow[TempInt] to PlayerStatus[TempInt]
- Set PlayerStatus[(Integer A)] = |CFF949694Truce|r
- Multiboard - Set the text for Multiboard item in column 2, row PlayerRow[(Integer A)] to PlayerStatus[(Integer A)]
- Game - Display to (All players) the text: ((PlayerColor[TempInt] + (Name of TempPlayer)) + (|r now has a |CFF949694Truce|r with + (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r.))))
-
Else - Actions
- Set TempForce = (Player group((Player((Integer A)))))
- Game - Display to TempForce the text: ((PlayerColor[TempInt] + (Name of TempPlayer)) + |r has offered a |CFF949694Truce|r.)
- Custom script: call DestroyForce(udg_TempForce)
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: (You have offered + (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r a |CFF949694Truce|r.)))
- Custom script: call DestroyForce(udg_TempForce)
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Diplomacy_DeclareWar[TempInt] Equal to True
-
Then - Actions
- Set Diplomacy_DeclareWar[TempInt] = False
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Player[(Integer A)]
-
Then - Actions
- Hashtable - Save False as TempInt of (Integer A) in AllianceHashtable
- Hashtable - Save False as (Integer A) of TempInt in AllianceHashtable
- Hashtable - Save 1 as TempInt of (Integer A) in AllianceHashtable
- Hashtable - Save 1 as (Integer A) of TempInt in AllianceHashtable
- Player - Make TempPlayer treat (Player((Integer A))) as an Enemy
- Player - Make (Player((Integer A))) treat TempPlayer as an Enemy
- Set PlayerStatus[TempInt] = |CFFFF0000At War|r
- Multiboard - Set the text for Multiboard item in column 2, row PlayerRow[TempInt] to PlayerStatus[TempInt]
- Set PlayerStatus[(Integer A)] = |CFFFF0000At War|r
- Multiboard - Set the text for Multiboard item in column 2, row PlayerRow[(Integer A)] to PlayerStatus[(Integer A)]
- Game - Display to (All players) the text: ((PlayerColor[TempInt] + (Name of TempPlayer)) + (|r has |CFFFF0000Declared War|r on + (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r.))))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Diplomacy_Tribute[TempInt] Equal to True
-
Then - Actions
- Set Diplomacy_Tribute[TempInt] = False
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (TempPlayer Current gold) Greater than or equal to 500
-
Then - Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Player[(Integer A)]
-
Then - Actions
- Player - Add -500 to TempPlayer Current gold
- Player - Add 500 to (Player((Integer A))) Current gold
- Hashtable - Save 0 as (Integer A) of TempInt in AllianceHashtable
- Set TempForce = (Player group((Player((Integer A)))))
- Game - Display to TempForce the text: ((PlayerColor[TempInt] + (Name of TempPlayer)) + |r has offered a tribute of 500 gold. You are more open to negotiations.)
- Custom script: call DestroyForce(udg_TempForce)
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: (You have softened + (PlayerColor[(Integer A)] + ((Name of (Player((Integer A)))) + |r for negotiations with the tribute.)))
- Custom script: call DestroyForce(udg_TempForce)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Else - Actions
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: You don't have enou...
- Custom script: call DestroyForce(udg_TempForce)
-
If - Conditions
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Diplomacy_Denounce[TempInt] Equal to True
-
Then - Actions
- Set Diplomacy_Denounce[TempInt] = False
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Reputation[(Player number of TempPlayer)] Greater than or equal to 300
-
Then - Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Player[(Integer A)]
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Player((Integer A))) slot status) Equal to Is playing
- Reputation[(Player number of (Player((Integer A))))] Greater than -1000
-
Then - Actions
- Set Reputation[(Player number of (Player((Integer A))))] = (Reputation[(Player number of (Player((Integer A))))] - 250)
- Multiboard - Set the text for Multiboard item in column 3, row PlayerRow[(Player number of (Player((Integer A))))] to (String(Reputation[(Player number of (Player((Integer A))))]))
- Set TempForce = (Player group((Player((Integer A)))))
- Game - Display to TempForce the text: ((PlayerColor[TempInt] + (Name of TempPlayer)) + |r has denounced you, decreasing your reputation by 250.)
- Custom script: call DestroyForce(udg_TempForce)
- Set TempPlayer = (Player((Integer A)))
- Trigger - Run Reputation Check <gen> (ignoring conditions)
-
Else - Actions
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: ((PlayerColor[(Integer A)] + (Name of (Player((Integer A))))) + |r cannot lose anymore reputation.)
- Custom script: call DestroyForce(udg_TempForce)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Else - Actions
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: You need to be |CFF...
- Custom script: call DestroyForce(udg_TempForce)
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- -------- Tribute To Townsfolk --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Tribute[TempInt]
-
Then - Actions
- Set Diplomacy_Tribute[TempInt] = False
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (TempPlayer Current gold) Greater than or equal to 500
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- IsABandit[TempInt] Equal to True
-
Then - Actions
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: Townsfolk don't acc...
- Custom script: call DestroyForce(udg_TempForce)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Reputation[(Player number of (Triggering player))] Less than 750
-
Then - Actions
- Player - Add -500 to (Triggering player) Current gold
- Set Reputation[TempInt] = (Reputation[TempInt] + 250)
- Multiboard - Set the text for Multiboard item in column 3, row PlayerRow[(Player number of (Triggering player))] to (String(Reputation[(Player number of (Triggering player))]))
- Set TempPlayer = (Triggering player)
- Trigger - Run Reputation Check <gen> (ignoring conditions)
-
Else - Actions
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: You can't gain any ...
- Custom script: call DestroyForce(udg_TempForce)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Set TempForce = (Player group(TempPlayer))
- Game - Display to TempForce the text: You don't have enou...
- Custom script: call DestroyForce(udg_TempForce)
-
If - Conditions
-
Else - Actions
- -------- Gear Dialog --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Clicked dialog button) Equal to Button_Fisherman[TempInt]
- (Clicked dialog button) Equal to Button_Founder[TempInt]
- (Clicked dialog button) Equal to Button_Trader[TempInt]
- (Clicked dialog button) Equal to Button_Hunter[TempInt]
- (Clicked dialog button) Equal to Button_Delver[TempInt]
- (Clicked dialog button) Equal to Button_Banker[TempInt]
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Fisherman[TempInt]
-
Then - Actions
- Hero - Create |cffff0000Hatchet|r and give it to HERO[(Player number of TempPlayer)]
- Player - Enable Hamstring for TempPlayer
- Player - Enable Mortal Blow for TempPlayer
- Special Effect - Destroy Weapon[(Player number of TempPlayer)]
- Special Effect - Create a special effect attached to the right hand of HERO[(Player number of TempPlayer)] using war3mapImported\Hand Made Axe.mdx
- Set Weapon[(Player number of TempPlayer)] = (Last created special effect)
- Hero - Create |cff4EEE94Fishing Rod|r and give it to HERO[(Player number of TempPlayer)]
- Hero - Create Fish Bait and give it to HERO[(Player number of TempPlayer)]
- Hero - Create Fish Bait and give it to HERO[(Player number of TempPlayer)]
- Player - Set the current research level of Catch 45 fish to 1 for TempPlayer
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Founder[TempInt]
-
Then - Actions
- Hero - Create |cffff0000Pickaxe|r and give it to HERO[(Player number of TempPlayer)]
- Player - Enable Inspire for TempPlayer
- Unit - Add Harvest (Hero) to HERO[(Player number of TempPlayer)]
- Special Effect - Destroy Weapon[(Player number of TempPlayer)]
- Special Effect - Create a special effect attached to the right hand of HERO[(Player number of TempPlayer)] using war3mapImported\Pick.mdx
- Set Weapon[(Player number of TempPlayer)] = (Last created special effect)
- Player - Add 400 to TempPlayer Current lumber
- Player - Set the current research level of Mercenary Contract to 1 for TempPlayer
- Player - Set the current research level of Land Deed to 1 for TempPlayer
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Trader[TempInt]
-
Then - Actions
- Player - Add 250 to TempPlayer Current gold
- Hero - Create |cff4EEE94Leather Boots|r and give it to HERO[(Player number of TempPlayer)]
- Player - Set the current research level of Talk to 50 villagers to 1 for TempPlayer
- Player - Set the current research level of Cooking Recipes to 1 for TempPlayer
- Player - Set the current research level of Alchemy Recipes to 1 for TempPlayer
- Player - Set the current research level of Alchemy or Cooking Recipes to 1 for TempPlayer
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Hunter[TempInt]
-
Then - Actions
- Hero - Create |cffff0000Spear|r and give it to HERO[(Player number of TempPlayer)]
- Player - Enable Vault for TempPlayer
- Player - Enable Shockwave for TempPlayer
- Special Effect - Destroy Weapon[(Player number of TempPlayer)]
- Special Effect - Create a special effect attached to the right hand of HERO[(Player number of TempPlayer)] using war3mapImported\Spear.mdx
- Set Weapon[(Player number of TempPlayer)] = (Last created special effect)
- Hero - Create |CFFFF8A08Wooden Board|r and give it to HERO[(Player number of TempPlayer)]
- Player - Enable Defend (Hero) for TempPlayer
- Player - Enable Shield Bash for TempPlayer
- Hero - Create |cff4EEE94Dog Whistle|r and give it to HERO[(Player number of TempPlayer)]
- Player - Set the current research level of Hunt 20 deer to 1 for TempPlayer
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Button_Delver[TempInt]
-
Then - Actions
- Hero - Create |CFFFF8A08Ammo Pouch|r and give it to HERO[(Player number of TempPlayer)]
- Player - Enable Strafe for TempPlayer
- Player - Enable Arrow Rain for TempPlayer
- Hero - Create |cffff0000Wooden Crossbow|r and give it to HERO[(Player number of TempPlayer)]
- Player - Enable Concussive Shot for TempPlayer
- Player - Enable Poison Sting (Hero) for TempPlayer
- Special Effect - Destroy Weapon[(Player number of TempPlayer)]
- Special Effect - Create a special effect attached to the right hand of HERO[(Player number of TempPlayer)] using war3mapImported\HordeCrossbow.mdx
- Set Weapon[(Player number of TempPlayer)] = (Last created special effect)
- Hero - Create |cff4EEE94Shovel|r and give it to HERO[(Player number of TempPlayer)]
- Player - Set the current research level of Complete 10 quests to 1 for TempPlayer
-
Else - Actions
- Player - Add 1000 to TempPlayer Current gold
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Selection - Select HERO[TempInt] for TempPlayer
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If - Conditions
-
If - Conditions
-
If - Conditions
-
Events
thx in advance