- Joined
- Aug 11, 2009
- Messages
- 6,522
I already know what my score is c:
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.
So its too late to join then?![]()
Prepare for? if start before the contest it's cheating,so we're not allowed to post itIf you know what theme it will be, post itSo i can be prepared!
if IsUnitInGroup(u2,Tossed.Affected) then
call Tossed.Change(u2,R[2],R[1],R[3],R[4],SETargetAttachEffect,SETargetEffect)
else
call Tossed.Create(u2,R[2],R[1],R[3],R[4],SETargetAttachEffect,SETargetEffect)
endif
Unit Group - Pick every unit in (Units within 250.00 of SBTempPoint matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of SBCa and do (Actions)
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in SBDummyGroup[SBInteger] and do (Unit - Kill (Picked unit))
Unit Group - Pick every unit in SBChannelGroup[SBInteger] and do (Unit - Remove (Picked unit) from the game)
Custom script: call DestroyGroup (udg_SBDummyGroup[udg_SBInteger])
Custom script: call DestroyGroup (udg_SBChannelGroup[udg_SBInteger])
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in SBDummyGroup[SBInteger] and do (Unit - Kill (Picked unit))
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in SBChannelGroup[SBInteger] and do (Unit - Remove (Picked unit) from the game)
Custom script: set bj_wantDestroyGroup = true
Melee Initialization

Events


Map initialization

Conditions

Actions


Set loc = (Center of (Playable map area))


Environment - Create a 2.00 second Temporary crater deformation at loc with radius 512.00 and depth 64.00


Game - Display to (All players) the text: (String((Key (Last created terrain deformation))))


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



Loop - Actions




Environment - Create a 2.00 second Temporary crater deformation at loc with radius 512.00 and depth 64.00


Game - Display to (All players) the text: (String((Key (Last created terrain deformation))))


Wait 4.00 seconds


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



Loop - Actions




Environment - Create a 2.00 second Temporary crater deformation at loc with radius 512.00 and depth 64.00


Game - Display to (All players) the text: (String((Key (Last created terrain deformation))))


Wait 4.00 seconds


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



Loop - Actions




Environment - Create a 2.00 second Temporary crater deformation at loc with radius 512.00 and depth 64.00


Game - Display to (All players) the text: (String((Key (Last created terrain deformation))))


Wait 4.00 seconds


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



Loop - Actions




Environment - Create a 2.00 second Temporary crater deformation at loc with radius 512.00 and depth 64.00


Game - Display to (All players) the text: (String((Key (Last created terrain deformation))))


Wait 4.00 seconds


Environment - Create a 2.00 second Temporary crater deformation at loc with radius 512.00 and depth 64.00


Game - Display to (All players) the text: (String((Key (Last created terrain deformation))))
Set GlobalPoint[5] = (Random point in (Region centered at GlobalPoint[4] with size (1200.00, 1200.00)))
Set GlobalPoint[6] = (Random point in (Region centered at GlobalPoint[4] with size (1200.00, 1200.00)))
Set GlobalPoint[7] = (Random point in (Region centered at GlobalPoint[4] with size (1200.00, 1200.00)))
25.5?!
Woho, I didn't know I was that good.
er... it only used the UnitUserData for dummy for the 'first explosion' effect, and if i make a separate unit indexer or struct for it, it can easily surpass the 8192 limit.-1 for UnitUserData which makes your spell difficult to import for people who use that for other things. A hashtable or use of a unit indexer would have been better here.
it is? dang. I'm so outdated.Destroying boolexprs is no longer needed since patch 1.24 or so.
well, i just dislike it to see many temp real variable hangin' in declaration line. The temp real itself is optional though. But done to make reading it easier. Maybe I should just use that many temp real variable...Using a real array for the temp values is a lot slower than using scalar variables.
Btw after casting 1000 needles awhile my war3 crashed and the spell stops awhile after i casted it again while the caster is shooting (Cast it on yourself or your portrait)
I think for the next contest we should have multiple judges or perhaps a poll (and an award icon).
It's obscure bugs like this that suggest to me that there should be more than one person reviewing for errors and quality testing.
..which is a zephyr challenge.I think for the next contest we should have multiple judges or perhaps a poll (and an award icon).

set .dist=SquareRoot(Pow(GetUnitX(.cast)-GetSpellTargetX(),2)+Pow(GetUnitY(.cast)-GetSpellTargetY(),2))
if .dist<=0. then
set .dist=100.
endif
