The-Shadows
New Member
- Reaction score
- 12
1)
2)
it's turned laggy after playing for a while, i dont know where it come from
Trigger:
- Melee Initialization
- Events
- Map initialization
- Conditions
- Actions
- Set Region[1] = (Random point in Region 000 <gen>)
- Set Region[2] = (Random point in Region 001 <gen>)
- Set Region[3] = (Random point in Region 002 <gen>)
- Set Region[4] = (Random point in Region 003 <gen>)
- Set Region[5] = (Random point in Region 004 <gen>)
- Set Region[6] = (Random point in Region 005 <gen>)
- Set Region[7] = (Random point in Region 006 <gen>)
- Set Region[8] = (Random point in Region 007 <gen>)
- Set Region[9] = (Random point in Region 008 <gen>)
- Set Region[10] = (Random point in Region 009 <gen>)
- Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is playing)) and do (Actions)
- Loop - Actions
- Set NA_TempPoint[1] = Region[(Random integer number between 1 and 10)]
- Camera - Set (Picked player)'s camera Distance to target to 2500.00 over 0.00 seconds
- Unit - Create 1 Hero for (Picked player) at NA_TempPoint[1] facing Default building facing degrees
- Camera - Pan camera for (Picked player) to NA_TempPoint[1] over 0.00 seconds
- Selection - Select (Last created unit) for (Picked player)
- Set RandomAbility = (Random integer number between 1 and 3)
- If (RandomAbility Equal to 1) then do (Unit - Add Jump Slam to (Last created unit)) else do (Do nothing)
- If (RandomAbility Equal to 2) then do (Unit - Add Blink Strike to (Last created unit)) else do (Do nothing)
- If (RandomAbility Equal to 3) then do (Unit - Add Ambush to (Last created unit)) else do (Do nothing)
- Set RandomAbility = (Random integer number between 1 and 3)
- If (RandomAbility Equal to 1) then do (Unit - Add Smoke Bomb to (Last created unit)) else do (Do nothing)
- If (RandomAbility Equal to 2) then do (Unit - Add Mirror Image to (Last created unit)) else do (Do nothing)
- If (RandomAbility Equal to 3) then do (Unit - Add Flash Steps to (Last created unit)) else do (Do nothing)
- Hero - Make (Picked player) Heroes gain 0.00% experience from future kills
- Loop - Actions
- Set Point = (5 x (Number of players in (All players matching (((Matching player) slot status) Equal to Is playing))))
- Custom script: call RemoveLocation(udg_NA_TempPoint[1])
- Events
2)
Trigger:
- Shurikens
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Throw Shurikens
- Actions
- Sound - Play HeroBladeMasterYesAttack1 <gen> at 100.00% volume, attached to (Triggering unit)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- MUI1 Less than or equal to 100
- Then - Actions
- Set MUI1 = (MUI1 + 1)
- Else - Actions
- Set MUI1 = 1
- If - Conditions
- Set ShurikenPoint1[MUI1] = (Position of (Triggering unit))
- Set ShurikenPoint2[MUI1] = (Target point of ability being cast)
- Unit - Set the custom value of (Triggering unit) to MUI1
- Animation - Change (Triggering unit)'s animation speed to 150.00% of its original speed
- Unit Group - Add (Triggering unit) to ShurikenCaster
- Events
Trigger:
- Shurikens Looping 1
- Events
- Time - Every 0.10 seconds of game time
- Conditions
- (ShurikenCaster is empty) Equal to False
- Actions
- Unit Group - Pick every unit in ShurikenCaster and do (Actions)
- Loop - Actions
- Set MUI2 = (Custom value of (Picked unit))
- Set ShurikenNumber[MUI2] = (ShurikenNumber[MUI2] + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ShurikenNumber[MUI2] Greater than or equal to (5 + (Hero level of (Picked unit)))
- Then - Actions
- Animation - Change (Picked unit)'s animation speed to 100.00% of its original speed
- Animation - Reset (Picked unit)'s animation
- Set ShurikenNumber[MUI2] = 0
- Unit Group - Remove (Picked unit) from ShurikenCaster
- Custom script: call RemoveLocation(udg_ShurikenPoint1[udg_MUI2])
- Custom script: call RemoveLocation(udg_ShurikenPoint2[udg_MUI2])
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- MUI3 Less than or equal to 100
- Then - Actions
- Set MUI3 = (MUI3 + 1)
- Else - Actions
- Set MUI3 = 1
- If - Conditions
- Animation - Play (Picked unit)'s spell animation
- Set NA_Caster[MUI1] = (Picked unit)
- Set NA_TempPoint[1] = (ShurikenPoint1[MUI2] offset by 10.00 towards (Angle from ShurikenPoint1[MUI2] to ShurikenPoint2[MUI2]) degrees)
- Unit - Create 1 Dummy Shuriken for (Owner of (Picked unit)) at NA_TempPoint[1] facing ((Angle from ShurikenPoint1[MUI2] to ShurikenPoint2[MUI2]) + (Random real number between -10.00 and 10.00)) degrees
- Unit - Add a (Random real number between 1.25 and 1.75) second Generic expiration timer to (Last created unit)
- Unit - Set the custom value of (Last created unit) to MUI3
- Unit Group - Add (Last created unit) to NA_TempGroup[1]
- Custom script: call RemoveLocation(udg_NA_TempPoint[1])
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Loop - Actions
- Unit Group - Pick every unit in ShurikenCaster and do (Actions)
- Events
Trigger:
- Shurikens Looping 2
- Events
- Time - Every 0.03 seconds of game time
- Conditions
- (NA_TempGroup[1] is empty) Equal to False
- Actions
- Unit Group - Pick every unit in NA_TempGroup[1] and do (Actions)
- Loop - Actions
- Set MUI2 = (Custom value of (Picked unit))
- Set NA_Shuriken[MUI2] = (Picked unit)
- Set NA_TempPoint[1] = (Position of (Picked unit))
- Set NA_TempPoint[2] = (NA_TempPoint[1] offset by 30.00 towards (Facing of (Picked unit)) degrees)
- Unit - Move (Picked unit) instantly to NA_TempPoint[2]
- Set NA_TempGroup[2] = (Units within 75.00 of NA_TempPoint[2] matching ((((Matching unit) belongs to an enemy of (Owner of (Picked unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
- Unit Group - Pick every unit in NA_TempGroup[2] and do (Actions)
- Loop - Actions
- Unit - Cause NA_Shuriken[MUI2] to damage (Picked unit), dealing (Random real number between 25.00 and 35.00) damage of attack type Hero and damage type Normal
- Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Remove NA_Shuriken[MUI2] from the game
- Loop - Actions
- Custom script: call DestroyGroup(udg_NA_TempGroup[2])
- Custom script: call RemoveLocation(udg_NA_TempPoint[1])
- Custom script: call RemoveLocation(udg_NA_TempPoint[2])
- Loop - Actions
- Unit Group - Pick every unit in NA_TempGroup[1] and do (Actions)
- Events
it's turned laggy after playing for a while, i dont know where it come from