Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Pan camera for (Picked player) to (Center of Taverna <gen>) over 0 seconds
Player - Set (Picked player) . Current gold to 850
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Taverna <gen>
Set Variable Set TV_HeroArray[1] = "Nalc"
Set Variable Set TV_HeroArray[2] = "Nngs"
Set Variable Set TV_HeroArray[3] = "Ntin"
Set Variable Set TV_HeroArray[4] = "Nbst"
Set Variable Set TV_HeroArray[5] = "Nbrn"
Set Variable Set TV_HeroArray[6] = "Nfir"
Set Variable Set TV_HeroArray[7] = "Npbm"
Set Variable Set TV_HeroArray[8] = "Nplh"
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set TV_Data[(Integer A)] = (Integer A)
Sell Units
Events
Unit - A unit Sells a unit
Conditions
((Sold unit) is A Hero) Equal to True
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
Game - Display to (All players) the text: ((Name of (Triggering player)) + ( |cff32cd32Has chosen|r + (Name of (Sold unit))))
Selection - Select (Sold unit) for (Owner of (Sold unit))
Unit - Move (Sold unit) instantly to ((Owner of (Sold unit)) start location)
Random
Events
Player - Player 1 (Red) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -random (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Number of units in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True).)) Equal to 0
Actions
Set Variable Set TV_Random = (Random integer number between 1 and TV_Count)
Unit - Create 1 . TV_HeroArray[TV_Data[TV_Random]] for (Triggering player) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees
Game - Display to (All players) the text: ((Name of (Triggering player)) + ( |cff32cd32Has randomed|r + (Name of (Last created unit))))
Selection - Select (Last created unit) for (Owner of (Last created unit))
Player - Add -250 to (Triggering player) . Current gold
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Make (Unit-type of (Last created unit)) Unavailable for training/construction by (Picked player)
Set Variable Set TV_Data[TV_Random] = TV_Count
Set Variable Set TV_Count = (TV_Count - 1)
Trigger - Turn off All_Random <gen>
Repick
Events
Player - Player 1 (Red) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Number of units in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True).)) Equal to 1
Actions
Camera - Pan camera for (Triggering player) to (Center of Taverna <gen>) over 0 seconds
Game - Display to (All players) the text: ((Name of (Triggering player)) + |cff32cd32Has repicked.|r )
Unit Group - Pick every unit in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True).) and do (Actions)
Loop - Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Make (Unit-type of (Picked unit)) Available for training/construction by (Picked player)
Unit - Remove (Picked unit) from the game
Set Variable Set TV_Random = (Random integer number between 1 and TV_Count)
Unit - Create 1 . (Unit-type of (Sold unit)) for (Triggering player) at ((Owner of (Sold unit)) start location) facing Default building facing degrees
Selection - Add (Last created unit) to selection for (Owner of (Last created unit))
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Make (Unit-type of (Last created unit)) Unavailable for training/construction by (Picked player)
Set Variable Set TV_Data[TV_Random] = TV_Count
Set Variable Set TV_Count = (TV_Count - 1)
All Random
Events
Player - Player 1 (Red) types a chat message containing -ar (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn off Random <gen>
For each (Integer A) from 1 to 10 , 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
Then - Actions
Set Variable Set TV_Random = (Random integer number between 1 and TV_Count)
Unit - Create 1 . TV_HeroArray[TV_Data[TV_Count]] for (Player((Integer A))) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees
Selection - Add (Last created unit) to selection for (Owner of (Last created unit))
Game - Display to (All players) the text: ((Name of (Triggering player)) + ( |cff32cd32Has Randomed|r + (Name of (Last created unit))))
Player - Add -250 to (Player((Integer A))) . Current gold
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.