- Joined
- May 16, 2007
- Messages
- 7,274
so what should i do?
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.
Unit Group - Pick every unit in UnitGroup[93] and do (Actions)

Loop - Actions


Player - Enable Sagitarius Arrow ( Aioros de Sagitário ) for (Owner of (Picked unit))


Player - Enable Serpent Ward (Rokhan) for (Owner of (Picked unit))


Player - Enable Summon Bloody Trap of Acheron (Chaotic) for (Owner of (Picked unit))


Player - Enable Starlight Extinction (Aries_Mu) for (Owner of (Picked unit))
Custom script: call DestroyGroup(udg_UnitGroup[93])
Player Group - Pick every player in (All players) and do (Player - Enable Unstoppable Strength (Taurus Aldebaran)(Avatar) for (Picked player))
call DestroyForce(udg_PlayerGroup)
XP for Kanon heroes

Events


Unit - A unit Dies

Conditions


((Triggering unit) is A Hero) Equal to True


((Triggering unit) belongs to an enemy of (Owner of Gemini Kanon 0049 <gen>)) Equal to True


((Region centered at (Position of Gemini Kanon 0049 <gen>) with size (900.00, 900.00)) contains (Triggering unit)) Not equal to True

Actions


Wait until (XP_Giving Equal to False), checking every 0.20 seconds


Set XP_Giving = True


Set Location3[49] = (Position of (Triggering unit))


Set UnitGroup2[38] = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) Not equal to Gemini Kanon 0049 <gen>) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an ally of (Owner of Gemini Kanon


Unit Group - Pick every unit in UnitGroup2[38] and do (Actions)



Loop - Actions




Set XP_HeroNumberDivider = (XP_HeroNumberDivider + 1)


Set XP_HeroNumberDivider = (XP_HeroNumberDivider + 1)


Hero - Add (Hero_XP_Given[(Hero level of (Triggering unit))] / XP_HeroNumberDivider) experience to Gemini Kanon 0049 <gen>, Show level-up graphics


Set XP_HeroNumberDivider = 0


Set XP_Giving = False


Custom script: call RemoveLocation(udg_Location3[49])


Custom script: call DestroyGroup(udg_UnitGroup2[38])
Sagitarius Arrow Movement

Events


Time - Every 0.04 seconds of game time

Conditions

Actions


Set Location3[62] = (Position of Sagitarius_Arrow_Dummy)


Set Location3[63] = (Position of Sagitarius_Arrow_Targ)


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



If - Conditions




(Distance between Location3[62] and Location3[63]) Greater than or equal to 40.00



Then - Actions




Unit - Move Sagitarius_Arrow_Dummy instantly to (Location3[62] offset by 30.00 towards (Angle from Location3[62] to Location3[63]) degrees)




If (((Current flying height of Sagitarius_Arrow_Dummy) Less than or equal to 300.00) and ((Distance between Location3[62] and Location3[63]) Greater than or equal to 2000.00)) then do (Animation - Change Sagitarius_Arrow_Dummy flying height to ((Current flying height of Sagitarius_Arrow_Dummy) + 100.00) at 200.00) else do (Do nothing)




If (((Current flying height of Sagitarius_Arrow_Dummy) Greater than or equal to 200.00) and ((Distance between Location3[62] and Location3[63]) Less than 2000.00)) then do (Animation - Change Sagitarius_Arrow_Dummy flying height to ((Current flying height of Sagitarius_Arrow_Dummy) - 100.00) at 200.00) else do (Do nothing)



Else - Actions




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





If - Conditions






((Sagitarius_Arrow_Targ is in Spell_Imunity_Group) Not equal to True) and (((Sagitarius_Arrow_Targ is Magic Immune) Not equal to True) and ((Sagitarius_Arrow_Targ is in SleepingGroup) Not equal to True))





Then - Actions






Unit - Grant shared vision of Sagitarius_Arrow_Targ to (Owner of Sagitarius_Arrow_Dummy)






Unit - Order Sagitarius_Arrow_Dummy to Stop






Unit - Order Sagitarius_Arrow_Dummy to Human Mountain King - Storm Bolt Sagitarius_Arrow_Targ






Wait until (Sagitarius_Arrow_Casted Equal to True), checking every 0.10 seconds






Unit - Kill Sagitarius_Arrow_Dummy






Unit - Remove Sagitarius_Arrow_Dummy from the game






Unit - Deny shared vision of Sagitarius_Arrow_Targ to (Owner of Sagitarius_Arrow_Dummy)






Set Sagitarius_Arrow_Casted = False






Trigger - Turn off (This trigger)






Trigger - Turn off Sagitarius Arrow Target DIES <gen>






Trigger - Turn off Sagitarius Arrow Casted True <gen>





Else - Actions






Unit - Kill Sagitarius_Arrow_Dummy






Set Sagitarius_Arrow_Casted = False






Trigger - Turn off (This trigger)






Trigger - Turn off Sagitarius Arrow Target DIES <gen>






Trigger - Turn off Sagitarius Arrow Casted True <gen>


Custom script: call RemoveLocation(udg_Location3[62])


Custom script: call RemoveLocation(udg_Location3[63])
real spawn units

Events

Conditions

Actions


Trigger - Turn off (This trigger)


Wait 1.50 seconds


Set Location[9] = (Center of Athenas Select Unit Spawn <gen>)


Set Location[10] = (Center of Demons Zombies Spawn <gen>)


Player Group - Pick every player in AthenaPlayerGroup and do (If (((Picked player) slot status) Equal to Is playing) then do (Unit - Create 1 Divine Spirit for (Picked player) at Location[9] facing Default building facing degrees) else do (Do nothing)) <<<


Player Group - Pick every player in HadesPlayersGroup and do (If (((Picked player) slot status) Equal to Is playing) then do (Unit - Create 1 Aflicted Soul for (Picked player) at Location[10] facing Default building facing degrees) else do (Do nothing)) <<<


Custom script: call RemoveLocation(udg_Location[9])


Custom script: call RemoveLocation(udg_Location[10])


Unit - Create 1 Creeps Reviver (Map - Dummy Unit) for Neutral Hostile at (Center of Dummy asassin respawn <gen>) facing Default building facing degrees


Unit - Make (Last created unit) Invulnerable


Set Assasin_Dummy = (Last created unit)


Custom script: call DestroyForce(udg_AthenaPlayerGroup) <<<


Custom script: call DestroyForce(udg_HadesPlayersGroup) <<<


Custom script: call DestroyTrigger(GetTriggeringTrigger())
((Region centered at (Position of Gemini Kanon 0049 <gen>) with size (900.00, 900.00)) contains (Triggering unit)) Not equal to True
Unit - Move Sagitarius_Arrow_Dummy instantly to (Location3[62] offset by 30.00 towards (Angle from Location3[62] to Location3[63]) degrees)
Sagitarius Arrow Movement

Events


Time - Every 0.04 seconds of game time

Conditions

Actions


Set Location3[62] = (Position of Sagitarius_Arrow_Dummy)


Set Location3[63] = (Position of Sagitarius_Arrow_Targ)


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



If - Conditions




(Distance between Location3[62] and Location3[63]) Greater than or equal to 40.00



Then - Actions




Set Location3[65] = (Location3[62] offset by 30.00 towards (Angle from Location3[62] to Location3[63]) degrees) <<<




Unit - Move Sagitarius_Arrow_Dummy instantly to Location3[65] <<<




If (((Current flying height of Sagitarius_Arrow_Dummy) Less than or equal to 300.00) and ((Distance between Location3[62] and Location3[63]) Greater than or equal to 2000.00)) then do (Animation - Change Sagitarius_Arrow_Dummy flying height to ((Current flying height of Sagitarius_Arrow_Dummy) + 100.00) at 200.00) else do (Do nothing)




If (((Current flying height of Sagitarius_Arrow_Dummy) Greater than or equal to 200.00) and ((Distance between Location3[62] and Location3[63]) Less than 2000.00)) then do (Animation - Change Sagitarius_Arrow_Dummy flying height to ((Current flying height of Sagitarius_Arrow_Dummy) - 100.00) at 200.00) else do (Do nothing)



Else - Actions




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





If - Conditions






((Sagitarius_Arrow_Targ is in Spell_Imunity_Group) Not equal to True) and (((Sagitarius_Arrow_Targ is Magic Immune) Not equal to True) and ((Sagitarius_Arrow_Targ is in SleepingGroup) Not equal to True))





Then - Actions






Unit - Grant shared vision of Sagitarius_Arrow_Targ to (Owner of Sagitarius_Arrow_Dummy)






Unit - Order Sagitarius_Arrow_Dummy to Stop






Unit - Order Sagitarius_Arrow_Dummy to Human Mountain King - Storm Bolt Sagitarius_Arrow_Targ






Wait until (Sagitarius_Arrow_Casted Equal to True), checking every 0.10 seconds






Unit - Kill Sagitarius_Arrow_Dummy






Unit - Remove Sagitarius_Arrow_Dummy from the game






Unit - Deny shared vision of Sagitarius_Arrow_Targ to (Owner of Sagitarius_Arrow_Dummy)






Set Sagitarius_Arrow_Casted = False






Trigger - Turn off (This trigger)






Trigger - Turn off Sagitarius Arrow Target DIES <gen>






Trigger - Turn off Sagitarius Arrow Casted True <gen>





Else - Actions






Unit - Kill Sagitarius_Arrow_Dummy






Set Sagitarius_Arrow_Casted = False






Trigger - Turn off (This trigger)






Trigger - Turn off Sagitarius Arrow Target DIES <gen>






Trigger - Turn off Sagitarius Arrow Casted True <gen>


Custom script: call RemoveLocation(udg_Location3[62])


Custom script: call RemoveLocation(udg_Location3[63])


Custom script: call RemoveLocation(udg_Location3[65]) <<<
Unit - Order Sagitarius_Arrow_Dummy to Human Mountain King - Storm Bolt Sagitarius_Arrow_Targ
Wait until (Sagitarius_Arrow_Casted Equal to True), checking every 0.10 seconds
Hero - Set (Random unit from (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True))) Hero-level to ((Hero level of (Random unit from (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True)))) + 1), Hide level-up graphics
do this leak?
Hero - Set (Random unit from (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True))) Hero-level to ((Hero level of (Random unit from (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True)))) + 1), Hide level-up graphics
im asking coz it refers to a unit in a group that doesnt exist
Set Reg = .....
....
Custom script: call RemoveRect(udg_Reg)
Custom script: call DestroyTrigger(GetTriggeringTrigger())
Custom script: call DestroyTrigger(gg_trg_<trigger name here, with _ instead of spaces>)
Custom script: call DestroyTrigger(gg_trg_<trigger name here, with _ instead of spaces>)
Set Group = (Units in.....)
set udg_Group = CreateGroup
// ...
// ...
set udg_Group = ....
group udg_g = CreateGroup()
group udg_g
//---------------
function abv takes nothing return nothing
set udg_g=CreateGroup()
endfunction
region udg_region1 = null(Was long ago, can't remeber well).
