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!
I added that and have fixed all my leaks BUT, for some weird reason it says it isnt correct...I have been to MANY memory leak tutorials and have used memory leak tools and so i feel liek jass hates me so i would love for someone to help me... There is only about 70 triggers and most of them are pretty much copies of it and are short so...
Quest - Create a Required quest titled Camera with the description To see far away say..., using icon path ReplaceableTextures\CommandButtons\BTNSell.blp
Quest - Create a Required quest titled Rebuilding Cities with the description To rebuild a city, ..., using icon path ReplaceableTextures\CommandButtons\BTNHire.blp
Quest - Create a Required quest titled Game with the description The game is quite s..., using icon path ReplaceableTextures\CommandButtons\BTNSell.blp
Quest - Create a Optional quest titled Credits with the description Elenai kofi_banan ..., using icon path ReplaceableTextures\CommandButtons\BTNSell.blp
Player Group - Pick every player in (All players) and do (Player - Add 300 to (Picked player) Current gold)
Player - Set name of Player 1 (Red) to ((Sweden) + (Name of Player 1 (Red)))
Player - Set name of Player 2 (Blue) to ((England) + (Name of Player 2 (Blue)))
Player - Set name of Player 3 (Teal) to ((Russia) + (Name of Player 3 (Teal)))
Player - Set name of Player 4 (Purple) to ((Italy) + (Name of Player 4 (Purple)))
Player - Set name of Player 5 (Yellow) to ((France) + (Name of Player 5 (Yellow)))
Player - Set name of Player 6 (Orange) to ((Spain) + (Name of Player 6 (Orange)))
Player - Set name of Player 7 (Green) to ((Byzantine) + (Name of Player 7 (Green)))
Player - Set name of Player 8 (Pink) to ((Poland) + (Name of Player 8 (Pink)))
Player - Set name of Player 9 (Gray) to ((Germany) + (Name of Player 9 (Gray)))
Game - Display to Player Group - Player 1 (Red) the text: You are Sweden, you...
Game - Display to Player Group - Player 2 (Blue) the text: You are Britain, yo...
Game - Display to Player Group - Player 3 (Teal) the text: You are Russia, you...
Game - Display to Player Group - Player 4 (Purple) the text: You are Italy, you ...
Game - Display to Player Group - Player 5 (Yellow) the text: You are France, you...
Game - Display to Player Group - Player 6 (Orange) the text: You are Spain, you ...
Game - Display to Player Group - Player 7 (Green) the text: You are the Byzanti...
Game - Display to Player Group - Player 8 (Pink) the text: You are Poland, so ...
Game - Display to Player Group - Player 9 (Gray) the text: You are Germany, yo...
Game - Display to (All allies of Player 10 (Light Blue)) the text: You are a zombie ma...
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Dying unit)) Equal to Zombie [5]
Then - Actions
Set Death_Spells = (Position of (Dying unit))
Unit - Cause (Dying unit) to damage circular area after 0.50 seconds of radius 600.00 at Death_Spells, dealing 850000.00 damage of attack type Chaos and damage type Universal
Special Effect - Create a special effect at Death_Spells using war3mapImported\Nuclear Explosion.mdx
Wait 10.00 seconds
Special Effect - Destroy (Last created special effect)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Dying unit)) Equal to Nuclear ICBM
Then - Actions
Set Death_Spells = (Position of (Dying unit))
Unit - Cause (Dying unit) to damage circular area after 0.50 seconds of radius 1200.00 at Death_Spells, dealing 850000.00 damage of attack type Chaos and damage type Universal
Special Effect - Create a special effect at Death_Spells using war3mapImported\NuclearExplosionHUGE.mdx
Wait 10.00 seconds
Special Effect - Destroy (Last created special effect)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Last Resort Attack (Neutral Hostile)
Then - Actions
Set Death_Spells = (Position of (Triggering unit))
Unit - Cause (Triggering unit) to damage circular area after 0.50 seconds of radius 1200.00 at Death_Spells, dealing 850000.00 damage of attack type Chaos and damage type Universal
Special Effect - Create a special effect at Death_Spells using war3mapImported\NuclearExplosionHUGE.mdx
Wait 10.00 seconds
Special Effect - Destroy (Last created special effect)
((Triggering player) slot status) Equal to Is playing
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + has deserted Europe..)
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Unit - Change ownership of (Picked unit) to (Random player from (All allies of Player 1 (Red))) and Change color)
Zombies leave
Events
Player - Player 10 (Light Blue) leaves the game
Player - Player 11 (Dark Green) leaves the game
Player - Player 12 (Brown) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + has died out...)
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Unit - Change ownership of (Picked unit) to (Random player from (All allies of Player 10 (Light Blue))) and Change color)
Kill Zombie
Events
Player - Player 10 (Light Blue) types a chat message containing -kill as A substring
Player - Player 11 (Dark Green) types a chat message containing -kill as A substring
Player - Player 12 (Brown) types a chat message containing -kill as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -kill levelone
Then - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Zombie) and do (Unit - Explode (Picked unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -kill leveltwo
Then - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Zombie [2]) and do (Unit - Explode (Picked unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -kill levelthree
Then - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Zombie [3]) and do (Unit - Explode (Picked unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -kill levelfour
Then - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Zombie [4]) and do (Unit - Explode (Picked unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -kill levelfive
Then - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Zombie [5]) and do (Unit - Explode (Picked unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -kill mauler
Then - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Mauler) and do (Unit - Explode (Picked unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -kill gorecrow
Then - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Gore Crow) and do (Unit - Explode (Picked unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -kill stalker
Then - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Stalker) and do (Unit - Explode (Picked unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -kill lumpy
Then - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Lumpy) and do (Unit - Explode (Picked unit))
Okay I looked at my Syntax Error thingy and it says that there is 14 compile errors...
3 of them say this " Undeclared function DestoryForce"
Ohh and stupid me on the events ones i put Events2 and the variable is Event2
So all i need is to fidn out how to get rid of those dam thingys and they are in the Ally code upabove
Thx!
[EDIT]
omg im such a retard at spelling...i feel like a total retard...all the stuff that didnt work was because of MISSPELLS!!?!?!?! lol *shoots myself*
Thx for helping! +rep
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.