Moderator
M
Moderator
18:15, 15th Aug 2010
ap0calypse: Rejected
For reasons stated in post #9.
ap0calypse: Rejected
For reasons stated in post #9.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
(4 ratings)
ApprovedGreedforce PresentsHi!![]()
This is my new map. It´s a arena map where you simply start with choosing a hero, level it up and buy some items. For the moment there is only one shop and there is only hp and mp pots.
When your hero is in high level and you got some items you should go find the other players and kill them. You can play in visibility mode (-vm). Then all players will be able to see the whole map. It will be a lot easier to find your opponent. But have in mind that they will have it easier to find you too. You could also use random mode (-rm). But It´s not finished yet, so there is a few bugs. For example:
1. No one can choose (or have choosen) a hero if u use it. Cuz every player will have a random hero.
2. There might be a player with two heros.
[highlight] I own this map so don´t use it without my permission!
If you have any idéas of how i can make this map better please pm me!
Rate and comment. [/code]
[highlight]Credits:[/code]
Skyfox
Best regards
/ Greedforce
Greedforce Presents
Assassinate
Created by Greedforce
![]()
Hi! This is my new map Assassinate. I´ve got some help from my dear friend skyfox, but that´s all.
Choose your hero and fight against your friend. Rate and comment.
OBS! I own this map so don´t use it without my permission!
If you have any idéas of how i can make this map better please pm me!
Enjoy!
Best regards
/ Greedforce
Dont get out

Events


Unit - A unit leaves Hero selection place <gen>


Unit - A unit leaves Hero selection place2 <gen>

Conditions


(Unit-type of (Triggering unit)) Equal to Chooser

Actions


Unit - Move (Triggering unit) instantly to (Center of Black spot <gen>)
Dont get out

Events


Unit - A unit leaves Hero selection place <gen>


Unit - A unit leaves Hero selection place2 <gen>

Conditions


(Unit-type of (Triggering unit)) Equal to Chooser

Actions


Set Loc = (Center of Black spot <gen>)


Unit - Move (Triggering unit) instantly to Loc


Custom script: call RemoveLocation(udg_Loc)
Murloc Assassin

Events


Unit - A unit enters Murloc Assassin <gen>

Conditions


(Unit-type of (Triggering unit)) Equal to Chooser

Actions


Unit - Create 1 Murloc Assassin for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees


Unit - Remove Murloc Assassin 0051 <gen> from the game


Unit - Remove (Triggering unit) from the game


Trigger - Turn off (This trigger)
Lizard King

Events


Unit - A unit enters Lizard King <gen>

Conditions


(Unit-type of (Triggering unit)) Equal to Chooser

Actions


Unit - Create 1 Lizard King for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees


Unit - Remove Lizard King 0122 <gen> from the game


Unit - Remove (Triggering unit) from the game


Trigger - Turn off (This trigger)
Setup Heroes

Events


Map initialization

Conditions

Actions


-------- Sets up the heroes which can be picked --------


-------- HeroCount: the amount of heroes there will be. --------


-------- Hero: the original hero 'statue'. --------


-------- HeroType: the type of the hero. --------


-------- HeroRect: the region which you need to enter to choose a hero. --------


-------- ================== --------


Set HeroCount = (HeroCount + 1)


Set Hero[HeroCount] = Murloc Assassin 0051 <gen>


Set HeroType[HeroCount] = Murloc Assassin


Set HeroRect[HeroCount] = Murloc Assassin <gen>


-------- --------


Set HeroCount = (HeroCount + 1)


Set Hero[HeroCount] = Lizard King 0122 <gen>


Set HeroType[HeroCount] = Lizard King


Set HeroRect[HeroCount] = Lizard King <gen>


-------- --------


-------- ... etc (set up all heroes like this) --------


For each (Integer A) from 1 to HeroCount, do (Actions)



Loop - Actions




-------- Adds the event to the pick-trigger so you don't need to manually do this ^^ --------




Trigger - Add to Pick Hero <gen> the event (Unit - A unit enters HeroRect[(Integer A)])
Pick Hero

Events

Conditions

Actions


-------- Small wait is required and will not let things bug. --------


Wait 0.10 seconds


-------- Loops through all heroes. --------


For each (Integer B) from 1 to HeroCount, do (Actions)



Loop - Actions




-------- Checks in which region the triggering unit is and if the hero hasn't been taken yet. --------




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(HeroRect[(Integer B)] contains (Triggering unit)) Equal to True






HeroPicked[(Integer B)] Equal to False





Then - Actions






-------- Remove hero --------






Unit - Remove Hero[(Integer B)] from the game






-------- Used to remove the location leak --------






Set Loc = ((Owner of (Triggering unit)) start location)






-------- Creates the correct hero at the correct location. --------






Unit - Create 1 HeroType[(Integer B)] for (Owner of (Triggering unit)) at Loc facing 0.00 degrees






-------- Removes the triggering unit --------






Unit - Remove (Triggering unit) from the game






-------- This will disable all other players from picking this hero again. --------






Set HeroPicked[(Integer B)] = True





Else - Actions

