im making a map which is essentialy protoss blowing up a dominion science station , sadly i am encountering some problems with triggers these may be blindingly obvius but im a total noob with triggers!
1) i am attempting to have is so that when player2(ai) has no units left a gate behind him explodes and is removed! all of his base is in a object group'player2base'
my script is
//open door
Events
Game - Map initialization
Local Variables
barracks alive = Barracks [41.50, 109.50] <Unit>
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
-1 <= (Number of Living units in player2SCV's) <= 1
-1 <= (Number of Living units in player2 base) <= 1
-1 <= (Player 2 Supplies Limit) <= 1
Then
Unit - Kill Valhalla Base Door [37.00, 117.00]
AI - Suicide all player 2 units
//
sadly it dosnt work:(
my second problem is that i have a expansion point and when the player kills all the ocupiers a cuttscene plays and builldings warp in ( i have puildings preplaced but invisible and in a unit group)( also its a objective but i cant find the right action the script is
//
minifilm+actions
Events
Game - Map initialization
Local Variables
enemyunits in expansion(1) = expansiondefenceder <Unit Group>
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
0 <= (Number of Living units in expansiondefenceder ) <= 1
Then
Cinematics - Turn cinematic mode On for (All players) over 15.0 seconds
Unit Group - Pick each unit in player1base and do (Actions)
Actions
Unit - Show (Picked unit)
Animation - Play Build animation for (Actor for Pylon [62.00, 38.00]) as Default, using No Options options and 15.0 blend time
Story - Set mission objective Objective progress to 0
------- GAAAAAAAAHH why wont it let me select the expansion objective >:(//
finally as said above how do you do objectives??
thankyou for reading ill upload the map when its finished
hi im a wee bit of a noob when it comes to the data editor and at the point where it says delete behaviors/ abilitys: how do you do that? theres no delete/cut/ remove button or left click? how do you do it?? do you duplicate everythig and delete what you do???
0
hi
im making a map which is essentialy protoss blowing up a dominion science station , sadly i am encountering some problems with triggers these may be blindingly obvius but im a total noob with triggers!
1) i am attempting to have is so that when player2(ai) has no units left a gate behind him explodes and is removed! all of his base is in a object group'player2base'
my script is
//open door
Events
Game - Map initialization
Local Variables
barracks alive = Barracks [41.50, 109.50] <Unit>
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
-1 <= (Number of Living units in player2SCV's) <= 1
-1 <= (Number of Living units in player2 base) <= 1
-1 <= (Player 2 Supplies Limit) <= 1
Then
Unit - Kill Valhalla Base Door [37.00, 117.00]
AI - Suicide all player 2 units
//
sadly it dosnt work:(
my second problem is that i have a expansion point and when the player kills all the ocupiers a cuttscene plays and builldings warp in ( i have puildings preplaced but invisible and in a unit group)( also its a objective but i cant find the right action the script is
//
minifilm+actions
Events
Game - Map initialization
Local Variables
enemyunits in expansion(1) = expansiondefenceder <Unit Group>
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
0 <= (Number of Living units in expansiondefenceder ) <= 1
Then
Cinematics - Turn cinematic mode On for (All players) over 15.0 seconds
Unit Group - Pick each unit in player1base and do (Actions)
Actions
Unit - Show (Picked unit)
Animation - Play Build animation for (Actor for Pylon [62.00, 38.00]) as Default, using No Options options and 15.0 blend time
Story - Set mission objective Objective progress to 0
------- GAAAAAAAAHH why wont it let me select the expansion objective >:(//
finally as said above how do you do objectives??
thankyou for reading ill upload the map when its finished
-fuzz
0
hi im a wee bit of a noob when it comes to the data editor and at the point where it says delete behaviors/ abilitys: how do you do that? theres no delete/cut/ remove button or left click? how do you do it?? do you duplicate everythig and delete what you do???
thankyou
-fuzz
p.s. how do you select host: attachment bunker???