I have finished playable version, if anyone wants to check it out Forgotten Halls.
I need to balance item drops and creep camps now, I had little hard time with them.
Players
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
Loop - Actions
Set Players_in_game = (Players_in_game + 1)
Set heroes = Players_in_game...
If ((Hero1 is alive) Equal to True) then do (Set Winner = Hero1) else do (Do nothing)
If ((Hero2 is alive) Equal to True) then do (Set Winner = Hero2) else do (Do nothing)
If ((Hero3 is alive) Equal to True) then do (Set Winner = Hero3) else do (Do nothing)
If ((Hero4 is alive) Equal to True)...
Group is not leaking and there is no other leak in loop trigger but you have few small ones in other 2. Is there anything else in your map that could leak?
that should be it,
ball lightning periodic pick
Events
Time - Every 0.25 seconds of game time
Conditions
Actions
Set ball_lightning_effect_counter = 0
Set TempPOINT = (Position of Dummy CASTER)
Set TempGROUP = (Pick every unit in (Units within 250.00...
This is for first trigger look carefully how it works
Ball Lightning
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to |cffFFC53ABall Lightning
Actions
Animation - Change Dummy CASTER combat Ball Lightning also effect...
i litteraly never seen that "Last created unit group"
But i have an idea how to do this
Could you post triggers again but wihout "trigger" tag so i can show it to you with your triggers. you can put it in "spoiler" tag instead so it does not take up that much space.
Here you have examples how to do it
Group Example:
Example 1
Actions
Set TempGROUP = (Units within 512.00 of (Center of (Playable map area)))
Unit Group - Pick every unit in TempGROUP and do (Actions)
Loop - Actions
-------- do stuff --------...
sry i was in rush didnt had much time i just looked at it and i saw few memory leaks and asumed that you dont know about them
for example
Unit Group - Pick every unit in (Units within 250.00 of (Position of Dummy CASTER combat Ball Lightning also effect 0111 <gen>)) and do (Actions)
Unit -...
yes i noticed that it looks like it spawns litte off, check if is spawning it right or try increasing radius at the end so he wont miss even when it is off
what about
((Triggering unit) has an item of type Kobold Seal) Equal to True
also if you want item to disappear afterwards you can use this
Item - Remove (Item carried by (Triggering unit) of type Kobold Seal)
Congratulations to everyone who participated.
I used this editor for like 9 years and this was my first melee map.
Looking forward next contest, now that i have some idea of what i am actually doing, i am going for a rematch.
Also W3Sour in your review you said "as I think a map like this also...
so i looked at it, i put this in there so i can see how much gold they have
TEST
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Game - Display to (All players) the text: (String((Player 1 (Red) Current gold)))
Game - Display to (All players)...
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.