1. I have a trigger UI - Display "Test" for (All players) to Subtitle area and I want the 'Test' text to be in specific color. In war3 you could do that via |cf000Test|r - just an example, worked if you typed it in the trigger's text too, but does sc2 have a code or how do I make it via this trigger? Or do I need another type message?
2. Is there a way I can play my map by browsing it as a Guest? Because for this offline map I want to play offline not by doing it through the editor 'Test Map' or dragging but by browsing from, Play as Guest (so that my name doesnt appear Local Player' when i type smth in chat or do I need a triggger to change the name of Local Player? That after I've already changed the name of the Players in Map >> Player properties
Search the forum for a post with the word Lazeh in it. It should only turn up 1 entry and the function you need for that is in the first post. I'm not sure if alpha values are supported though. Any ideas Kueken?
Silleh meh, I just remembered that some Unit Tooltips have 'Heals 2 Life' in purple, so forgot the code obviously exists. Well thanks, I can deal with the color from now.
My other question is, do you know a way to start the map from playing as guest that is if you haven't download it from bnet, or the only way remains Test Map through the editor/drag file on sc2 icon? Im trying to make it so that the map can be started in a normal way from the game without publishing and by just browsing the list of maps like you do in normal Play as Guest where you see the list of maps. Is there a way or not?
That is where is the list of Maps you see in Play As Guest >> Play vs AI taken from? I can see the list of some custom and melee maps from bnet. Is there a way to add my map to such Assets or whatever list to make my map selectable for offline?
I dont want to publish ANY maps for now, especially just for download. Plus the map isn't ready, I can't upload it for every save i do can i >_>. My question is again like war3/sc where you could have the map appearing all the time if you put it in the right place... or Blizzard went ridiculous on that not being able to use in single the normal way. I suppose your answer means this is the only way.
do you know a way to start the map from playing as guest that is if you haven't download it from bnet, or the only way remains Test Map through the editor/drag file on sc2 icon?
These are the only ways.
Blizzard removed the "local hosting" part since they've got all the battlenet shenanigans now.
Hybrid Caste Defeated
Events
Unit - Any Unit dies
Local Variables
DefeatedHybrid = No Game Link <Game Link - Unit>
DefeatedHybridPoint = No Point <Point>
DefeatedHybridAngle = 0.0 <Real>
Conditions
(Owner of (Triggering unit)) == 9
((Unit type of (Triggering unit)) has Structure attribute) == False
Actions
Variable - Set DefeatedHybrid = (Unit type of (Triggering unit))
Variable - Set DefeatedHybridPoint = (Position of (Triggering unit))
Variable - Set DefeatedHybridAngle = (Facing of (Triggering unit))
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Hybrid Maar (Zhakul'das)
Then
Unit - Set (Killing unit) Maximum Life to 1000.0
Unit - Set (Killing unit) Maximum Energy to 150.0
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Hybrid Destroyer
Then
Unit - Set (Killing unit) Maximum Energy to 150.0
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Hybrid (Castanar)
Then
Unit - Set (Killing unit) Maximum Life to 500.0
Unit - Set (Killing unit) Maximum Energy to 150.0
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Hybrid Reaver
Then
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Stone Zealot
Then
Unit - Set (Killing unit) Maximum Energy to 150.0
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Zealot
Then
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - Wait 180.0 Game Time seconds
Unit - Create 1 DefeatedHybrid for player 9 at DefeatedHybridPoint facing DefeatedHybridAngle degrees (No Options)
Hybrid Castanar AI Attacked
Events
Unit - Any Unit takes Fatal or Non-Fatal Any damage (from Any effects)
Local Variables
Conditions
(Unit type of (Triggering unit)) == Hybrid (Castanar)
((Damaging unit) is in (Region((Position of (Triggering unit)), 30.0))) == True
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Damaging unit) is in (Region((Position of (Triggering unit)), 6.0))) == True
Then
Unit - Order (Triggering unit) to (HybridF (Hazrad) - Constricting Slime) (Replace Existing Orders)
General - Wait 1.0 Game Time seconds
Unit - Order (Triggering unit) to ( Attack targeting (Position of (Damaging unit))) (Replace Existing Orders)
General - Wait 60.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridF - Consume DNA targeting (Random Living unit from (Any units in (Region((Position of (Triggering unit)), 15.0)) owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))) (Replace Existing Orders)
Else
Unit - Order (Triggering unit) to ( Attack targeting (Position of (Damaging unit))) (Replace Existing Orders)
General - Wait 60.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridF - Consume DNA targeting (Random Living unit from (Any units in (Region((Position of (Triggering unit)), 15.0)) owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))) (Replace Existing Orders)
Hybrid Maar AI Attacked
Events
Unit - Any Unit takes Fatal or Non-Fatal Any damage (from Any effects)
Local Variables
Conditions
(Unit type of (Triggering unit)) == Hybrid Maar (Zhakul'das)
((Damaging unit) is in (Region((Position of (Triggering unit)), 30.0))) == True
Actions
Unit - Order (Triggering unit) to (HybridC - Blink targeting (Position of (Damaging unit))) (Replace Existing Orders)
General - Wait 2.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridC - Psionic Shockwave) (Replace Existing Orders)
General - Wait 30.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridC - HybridC - Graviton Prison targeting (Random Living unit from (Any units in (Region((Position of (Triggering unit)), 15.0)) owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))) (Replace Existing Orders)
General - Wait 60.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridC - HybridC - Plasma Blast targeting (Closest unit to (Position of (Triggering unit)) in (Hero - Hexer units in (Entire map) owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))) (Replace Existing Orders)
Other Hybrids AI Attacked
Events
Unit - Any Unit takes Fatal or Non-Fatal Any damage (from Any effects)
Local Variables
Conditions
Or
Conditions
(Unit type of (Triggering unit)) == Zealot
(Unit type of (Triggering unit)) == Stone Zealot
(Unit type of (Triggering unit)) == Hybrid Reaver
(Unit type of (Triggering unit)) == Hybrid Destroyer
Actions
Unit - Order (Triggering unit) to ( Attack targeting (Position of (Damaging unit))) (Replace Existing Orders)
Defeated By Hybrid Caste
Events
Unit - Any Unit dies
Local Variables
DefeatedByHybrid = (Triggering unit) <Unit>
DefeatedByHybridType = (Unit type of DefeatedByHybrid) <Game Link - Unit>
c = (Owner of DefeatedByHybrid) <Integer>
Temp Loc = No Point <Point>
Conditions
Game Mode != 6
Game Mode != 7
(Owner of (Killing unit)) == 9
DefeatedByHybridType == Hero - Hexer
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
Game Mode != 9
Then
General - Wait 3.0 Game Time seconds
Spawn(c)
General - If (Conditions) then do (Actions) else do (Actions)
If
Computer Player[c] == True
Then
AI(Player Unit[c])
Else
Else
General - Wait 3.0 Game Time seconds
Variable - Set Temp Loc = Spawning Location[(Random integer between 1 and 25)]
Unit - Create 1 DefeatedByHybridType for player c at Temp Loc facing Centre (No Options)
Variable - Set Player Unit[c] = (Last created unit)
Unit - Add 1 Movement Check to (Last replaced unit) from (Last replaced unit)
Animation - Play Birth animation for (Actor for Player Unit[c]) as Default, using No Options options and Default Time blend time
Unit Selection - Deselect all units for player c
Unit Selection - Select Player Unit[c] for player c
Unit Selection - Add Player Unit[c] to control group 1 for player c
Camera - Pan the camera for player c to Temp Loc over 0.0 seconds with Existing Velocity% initial velocity, 10% deceleration, and Do Not use smart panning
General - If (Conditions) then do (Actions) else do (Actions)
If
Computer Player[c] == True
Then
AI(Player Unit[c])
Else
MODIFY EXISTING TRIGGERS
Main
Dialog - Select item 4 of AI Difficulty Dialog List for (All players)
Game - Set the game speed to Fast
Game - Lock game speed
Dialogs
Specialization Dialog
Dialog - Create a Non-modal dialog of size (1000, 500) at (0, -200) relative to Center of screen
....
Dialog - Create an image for dialog Spec Dialog with the dimensions (50, 50) anchored to Top Left with an offset of (50, 400) setting the tooltip to "Random Specialization" using the image Assets\Textures\ui_ingame_help_techtree_questionmark.dds as a Normal type with tiled set to True tint color White and blend mode Add
Variable - Set Spec Dialog Item[5][1] = (Last created dialog item)
Dialog - Create a button for dialog Spec Dialog with the dimensions (830, 50) anchored to Top Left with an offset of (110, 400) setting the tooltip to "Choose a random specialization." with button text "Random" and the hover image set to ""
Dialog - Fade (Last created dialog item) to a transparency of 25.0 over a period of 0.0 seconds for (All players)
Variable - Set Spec Dialog Item[(Random integer between 1 and 4)][(Random integer between 2 and 5)] = (Last created dialog item)
Mode
Unit Group - Pick each unit in (Any units in (Entire map) owned by player Any Player matching (No Value), with at most Any Amount) and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Picked unit)) != Pylon
(Unit type of (Picked unit)) != Photon Cannon
(Unit type of (Picked unit)) != Zealot
(Unit type of (Picked unit)) != Stone Zealot
(Unit type of (Picked unit)) != Hybrid Reaver
(Unit type of (Picked unit)) != Hybrid (Castanar)
(Unit type of (Picked unit)) != Hybrid Destroyer
(Unit type of (Picked unit)) != Hybrid Maar (Zhakul'das)
Then
Unit - Remove (Picked unit) from the game
Elim Death (Elimination)
Killing Player != 9 (add to the main trigger conditions)
Generic Soundtrack = 0 <Integer>
Add it as a Global Variable to Gameplay folder.
Map Setup
If Then Else
General - Else if (Conditions) then do (Actions)
Else If
Map == 1 Map == 3 Map == 4
Then
Variable - Set Generic Soundtrack = 1
Else If
Map == 2
Then
Sound - Stop Music soundtrack for (All players) (After Fading)
Sound - Play Music TZeratul02MusicMain (Any Soundtrack Index) for (All players) (with cue Any Cue) and Do make default
Variable - Set Generic Soundtrack = 2
Rematch
General - If (Conditions) then do (Actions) else do (Actions)
If
Generic Soundtrack == 2
Then
Sound - Stop Music soundtrack for (All players) (After Fading)
Sound - Play Music Hex'd Generic Soundtrack (Any Soundtrack Index) for (All players) (with cue Any Cue) and Do make default
Else
I'm not sure if alpha values are supported though. Any ideas Kueken?
Not sure, I would need to try that. Probably it will include alpha if you enter 8 hexadecimal digits and ignore it for 6? Cannot test it myself right now.
1. I have a trigger UI - Display "Test" for (All players) to Subtitle area and I want the 'Test' text to be in specific color. In war3 you could do that via |cf000Test|r - just an example, worked if you typed it in the trigger's text too, but does sc2 have a code or how do I make it via this trigger? Or do I need another type message?
2. Is there a way I can play my map by browsing it as a Guest? Because for this offline map I want to play offline not by doing it through the editor 'Test Map' or dragging but by browsing from, Play as Guest (so that my name doesnt appear Local Player' when i type smth in chat or do I need a triggger to change the name of Local Player? That after I've already changed the name of the Players in Map >> Player properties
1. You even have a UI for coloring the text within the text editor window. The codes work this way:
<c val="RRGGBB">My colored text</c>
@Eimtr: Go
Search the forum for a post with the word Lazeh in it. It should only turn up 1 entry and the function you need for that is in the first post. I'm not sure if alpha values are supported though. Any ideas Kueken?
Silleh meh, I just remembered that some Unit Tooltips have 'Heals 2 Life' in purple, so forgot the code obviously exists. Well thanks, I can deal with the color from now.
My other question is, do you know a way to start the map from playing as guest that is if you haven't download it from bnet, or the only way remains Test Map through the editor/drag file on sc2 icon? Im trying to make it so that the map can be started in a normal way from the game without publishing and by just browsing the list of maps like you do in normal Play as Guest where you see the list of maps. Is there a way or not?
That is where is the list of Maps you see in Play As Guest >> Play vs AI taken from? I can see the list of some custom and melee maps from bnet. Is there a way to add my map to such Assets or whatever list to make my map selectable for offline?
Upload to battle net and download it -_-
I dont want to publish ANY maps for now, especially just for download. Plus the map isn't ready, I can't upload it for every save i do can i >_>. My question is again like war3/sc where you could have the map appearing all the time if you put it in the right place... or Blizzard went ridiculous on that not being able to use in single the normal way. I suppose your answer means this is the only way.
These are the only ways.
Blizzard removed the "local hosting" part since they've got all the battlenet shenanigans now.
Chrono Rift Charge, Plasma Rounds
Items
Hybrid Caste Defeated
Events
Unit - Any Unit dies
Local Variables
DefeatedHybrid = No Game Link <Game Link - Unit>
DefeatedHybridPoint = No Point <Point>
DefeatedHybridAngle = 0.0 <Real>
Conditions
(Owner of (Triggering unit)) == 9
((Unit type of (Triggering unit)) has Structure attribute) == False
Actions
Variable - Set DefeatedHybrid = (Unit type of (Triggering unit))
Variable - Set DefeatedHybridPoint = (Position of (Triggering unit))
Variable - Set DefeatedHybridAngle = (Facing of (Triggering unit))
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Hybrid Maar (Zhakul'das)
Then
Unit - Set (Killing unit) Maximum Life to 1000.0
Unit - Set (Killing unit) Maximum Energy to 150.0
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Hybrid Destroyer
Then
Unit - Set (Killing unit) Maximum Energy to 150.0
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Hybrid (Castanar)
Then
Unit - Set (Killing unit) Maximum Life to 500.0
Unit - Set (Killing unit) Maximum Energy to 150.0
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Hybrid Reaver
Then
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Stone Zealot
Then
Unit - Set (Killing unit) Maximum Energy to 150.0
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Triggering unit)) == Zealot
Then
Unit - Create 1 Random Item[(Random integer between 1 and 38)] for player 0 at (Position of (Triggering unit)) using default facing (No Options)
Else
General - Wait 180.0 Game Time seconds
Unit - Create 1 DefeatedHybrid for player 9 at DefeatedHybridPoint facing DefeatedHybridAngle degrees (No Options)
Hybrid Castanar AI Attacked
Events
Unit - Any Unit takes Fatal or Non-Fatal Any damage (from Any effects)
Local Variables
Conditions
(Unit type of (Triggering unit)) == Hybrid (Castanar)
((Damaging unit) is in (Region((Position of (Triggering unit)), 30.0))) == True
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Damaging unit) is in (Region((Position of (Triggering unit)), 6.0))) == True
Then
Unit - Order (Triggering unit) to (HybridF (Hazrad) - Constricting Slime) (Replace Existing Orders)
General - Wait 1.0 Game Time seconds
Unit - Order (Triggering unit) to ( Attack targeting (Position of (Damaging unit))) (Replace Existing Orders)
General - Wait 60.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridF - Consume DNA targeting (Random Living unit from (Any units in (Region((Position of (Triggering unit)), 15.0)) owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))) (Replace Existing Orders)
Else
Unit - Order (Triggering unit) to ( Attack targeting (Position of (Damaging unit))) (Replace Existing Orders)
General - Wait 60.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridF - Consume DNA targeting (Random Living unit from (Any units in (Region((Position of (Triggering unit)), 15.0)) owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))) (Replace Existing Orders)
Hybrid Maar AI Attacked
Events
Unit - Any Unit takes Fatal or Non-Fatal Any damage (from Any effects)
Local Variables
Conditions
(Unit type of (Triggering unit)) == Hybrid Maar (Zhakul'das)
((Damaging unit) is in (Region((Position of (Triggering unit)), 30.0))) == True
Actions
Unit - Order (Triggering unit) to (HybridC - Blink targeting (Position of (Damaging unit))) (Replace Existing Orders)
General - Wait 2.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridC - Psionic Shockwave) (Replace Existing Orders)
General - Wait 30.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridC - HybridC - Graviton Prison targeting (Random Living unit from (Any units in (Region((Position of (Triggering unit)), 15.0)) owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))) (Replace Existing Orders)
General - Wait 60.0 Game Time seconds
Unit - Order (Triggering unit) to (HybridC - HybridC - Plasma Blast targeting (Closest unit to (Position of (Triggering unit)) in (Hero - Hexer units in (Entire map) owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))) (Replace Existing Orders)
Other Hybrids AI Attacked
Events
Unit - Any Unit takes Fatal or Non-Fatal Any damage (from Any effects)
Local Variables
Conditions
Or
Conditions
(Unit type of (Triggering unit)) == Zealot
(Unit type of (Triggering unit)) == Stone Zealot
(Unit type of (Triggering unit)) == Hybrid Reaver
(Unit type of (Triggering unit)) == Hybrid Destroyer
Actions
Unit - Order (Triggering unit) to ( Attack targeting (Position of (Damaging unit))) (Replace Existing Orders)
Defeated By Hybrid Caste
Events
Unit - Any Unit dies
Local Variables
DefeatedByHybrid = (Triggering unit) <Unit>
DefeatedByHybridType = (Unit type of DefeatedByHybrid) <Game Link - Unit>
c = (Owner of DefeatedByHybrid) <Integer>
Temp Loc = No Point <Point>
Conditions
Game Mode != 6
Game Mode != 7
(Owner of (Killing unit)) == 9
DefeatedByHybridType == Hero - Hexer
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
Game Mode != 9
Then
General - Wait 3.0 Game Time seconds
Spawn(c)
General - If (Conditions) then do (Actions) else do (Actions)
If
Computer Player[c] == True
Then
AI(Player Unit[c])
Else
Else
General - Wait 3.0 Game Time seconds
Variable - Set Temp Loc = Spawning Location[(Random integer between 1 and 25)]
Unit - Create 1 DefeatedByHybridType for player c at Temp Loc facing Centre (No Options)
Variable - Set Player Unit[c] = (Last created unit)
Unit - Add 1 Movement Check to (Last replaced unit) from (Last replaced unit)
Animation - Play Birth animation for (Actor for Player Unit[c]) as Default, using No Options options and Default Time blend time
Unit Selection - Deselect all units for player c
Unit Selection - Select Player Unit[c] for player c
Unit Selection - Add Player Unit[c] to control group 1 for player c
Camera - Pan the camera for player c to Temp Loc over 0.0 seconds with Existing Velocity% initial velocity, 10% deceleration, and Do Not use smart panning
General - If (Conditions) then do (Actions) else do (Actions)
If
Computer Player[c] == True
Then
AI(Player Unit[c])
Else
MODIFY EXISTING TRIGGERS
Main
Dialog - Select item 4 of AI Difficulty Dialog List for (All players)
Game - Set the game speed to Fast
Game - Lock game speed
Dialogs
Specialization Dialog
Dialog - Create a Non-modal dialog of size (1000, 500) at (0, -200) relative to Center of screen
....
Dialog - Create an image for dialog Spec Dialog with the dimensions (50, 50) anchored to Top Left with an offset of (50, 400) setting the tooltip to "Random Specialization" using the image Assets\Textures\ui_ingame_help_techtree_questionmark.dds as a Normal type with tiled set to True tint color White and blend mode Add
Variable - Set Spec Dialog Item[5][1] = (Last created dialog item)
Dialog - Create a button for dialog Spec Dialog with the dimensions (830, 50) anchored to Top Left with an offset of (110, 400) setting the tooltip to "Choose a random specialization." with button text "Random" and the hover image set to ""
Dialog - Fade (Last created dialog item) to a transparency of 25.0 over a period of 0.0 seconds for (All players)
Variable - Set Spec Dialog Item[(Random integer between 1 and 4)][(Random integer between 2 and 5)] = (Last created dialog item)
Mode
Unit Group - Pick each unit in (Any units in (Entire map) owned by player Any Player matching (No Value), with at most Any Amount) and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Picked unit)) != Pylon
(Unit type of (Picked unit)) != Photon Cannon
(Unit type of (Picked unit)) != Zealot
(Unit type of (Picked unit)) != Stone Zealot
(Unit type of (Picked unit)) != Hybrid Reaver
(Unit type of (Picked unit)) != Hybrid (Castanar)
(Unit type of (Picked unit)) != Hybrid Destroyer
(Unit type of (Picked unit)) != Hybrid Maar (Zhakul'das)
Then
Unit - Remove (Picked unit) from the game
Elim Death (Elimination)
Killing Player != 9 (add to the main trigger conditions)
Generic Soundtrack = 0 <Integer>
Add it as a Global Variable to Gameplay folder.
Map Setup
If Then Else
General - Else if (Conditions) then do (Actions)
Else If
Map == 1 Map == 3 Map == 4
Then
Variable - Set Generic Soundtrack = 1
Else If
Map == 2
Then
Sound - Stop Music soundtrack for (All players) (After Fading)
Sound - Play Music TZeratul02MusicMain (Any Soundtrack Index) for (All players) (with cue Any Cue) and Do make default
Variable - Set Generic Soundtrack = 2
Rematch
General - If (Conditions) then do (Actions) else do (Actions)
If
Generic Soundtrack == 2
Then
Sound - Stop Music soundtrack for (All players) (After Fading)
Sound - Play Music Hex'd Generic Soundtrack (Any Soundtrack Index) for (All players) (with cue Any Cue) and Do make default
Else
Mode Win Changes
ФФО Килс 30, хкснафт Килс 30, ЦТУ 3 точки, Пер поуч 50 точки. Change the descriptions in Dialogs (Game Mode Dialog), Mode (UI Display "Game Mode: ) triggers
Not sure, I would need to try that. Probably it will include alpha if you enter 8 hexadecimal digits and ignore it for 6? Cannot test it myself right now.