- Joined
- Jul 3, 2005
- Messages
- 100
I am making an Tiberium shooting orbital cannon , for the contest , and i have some issues with targeting . I cant figure what's wrong with it , can someone help me please :3 ? I just need to figure out what's wrong , no more .
I cant post the script because i got italian WE , so you won't understand the script ; but if you want it's here . Pretty big , uh ?
Download the map if you can't understand it .
I cant post the script because i got italian WE , so you won't understand the script ; but if you want it's here . Pretty big , uh ?
-
Tiberium Orbital Cannon
-
Eventi
- UnitÃ* - A unit Inizia il lancio di un'abilitÃ*
-
Condizioni
- (Ability being cast) Uguale a Orbital Cannon
-
Azioni
- UnitÃ* - Create 1 Beacon for (Owner of (Casting unit)) at (Target point of ability being cast) facing Orientamento predefinito degli edifici degrees
- Effetto speciale - Create a special effect at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
- Conto alla rovescia - Create a timer window for ZK_DropTimer[(Player number of (Owner of (Casting unit)))] with title Tiberium bombing in...
- Set ZK_DropBoard[(Player number of (Owner of (Casting unit)))] = (Last created timer window)
- Conto alla rovescia - Mostra ZK_DropBoard[(Player number of (Owner of (Casting unit)))] for (Owner of (Casting unit))
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 11.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 1.00), checking every 0.25 seconds
- Conto alla rovescia - Nascondi ZK_DropBoard[(Player number of (Owner of (Casting unit)))] for (Owner of (Casting unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Se - Condizioni
- (Level of (Ability being cast) for (Casting unit)) Uguale a 1
-
Allora - Azioni
- UnitÃ* - Create 1 L4zor for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by (Random real number between 0.00 and 500.00) towards (Random angle) degrees) facing Orientamento predefinito degli edifici degrees
- Set ZK_DropL4zor[(Player number of (Owner of (Casting unit)))] = (Last created unit)
- Animazione - Play ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]'s birth animation
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
-
Gruppo di unitÃ* - Pick every unit in (Units within (Random real number between 300.00 and 500.00) of (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) and do (Actions)
-
Giro - Azioni
- UnitÃ* - Cause (Triggering unit) to damage (Picked unit), dealing ((Random real number between 400.00 and 800.00) - ((Distance between (Position of (Picked unit)) and (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) / 1.00)) damage of attack type Assedio and damage type Fuoco
-
Giro - Azioni
- Ambiente - Crea Blight for (Owner of (Casting unit)) from (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) to a radius of 400.00
- Ambiente - Create a 1.00 second Normale ripple deformation at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) with starting radius 0.00, ending radius 800.00, and depth 64.00, using 1.00 second ripples spaced 15.00 apart
- UnitÃ* - Create 1 Tiberium for Neutrale-passivo at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) facing Orientamento predefinito degli edifici degrees
- UnitÃ* - Kill ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
- UnitÃ* - Create 1 L4zor for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by (Random real number between 0.00 and 500.00) towards (Random angle) degrees) facing Orientamento predefinito degli edifici degrees
- Set ZK_DropL4zor[(Player number of (Owner of (Casting unit)))] = (Last created unit)
- Animazione - Play ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]'s birth animation
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
-
Gruppo di unitÃ* - Pick every unit in (Units within (Random real number between 300.00 and 500.00) of (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) and do (Actions)
-
Giro - Azioni
- UnitÃ* - Cause (Triggering unit) to damage (Picked unit), dealing ((Random real number between 400.00 and 800.00) - ((Distance between (Position of (Picked unit)) and (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) / 1.00)) damage of attack type Assedio and damage type Fuoco
-
Giro - Azioni
- Ambiente - Crea Blight for (Owner of (Casting unit)) from (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) to a radius of 400.00
- Ambiente - Create a 1.00 second Normale ripple deformation at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) with starting radius 0.00, ending radius 800.00, and depth 64.00, using 1.00 second ripples spaced 15.00 apart
- UnitÃ* - Create 1 Tiberium for Neutrale-passivo at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) facing Orientamento predefinito degli edifici degrees
- UnitÃ* - Kill ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
- UnitÃ* - Create 1 L4zor for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by (Random real number between 0.00 and 500.00) towards (Random angle) degrees) facing Orientamento predefinito degli edifici degrees
- Set ZK_DropL4zor[(Player number of (Owner of (Casting unit)))] = (Last created unit)
- Animazione - Play ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]'s birth animation
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
-
Gruppo di unitÃ* - Pick every unit in (Units within (Random real number between 300.00 and 500.00) of (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) and do (Actions)
-
Giro - Azioni
- UnitÃ* - Cause (Triggering unit) to damage (Picked unit), dealing ((Random real number between 400.00 and 800.00) - ((Distance between (Position of (Picked unit)) and (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) / 1.00)) damage of attack type Assedio and damage type Fuoco
-
Giro - Azioni
- Ambiente - Crea Blight for (Owner of (Casting unit)) from (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) to a radius of 400.00
- Ambiente - Create a 1.00 second Normale ripple deformation at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) with starting radius 0.00, ending radius 800.00, and depth 64.00, using 1.00 second ripples spaced 15.00 apart
- UnitÃ* - Create 1 Tiberium for Neutrale-passivo at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) facing Orientamento predefinito degli edifici degrees
- UnitÃ* - Kill ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
- UnitÃ* - Create 1 L4zor for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by (Random real number between 0.00 and 500.00) towards (Random angle) degrees) facing Orientamento predefinito degli edifici degrees
- Set ZK_DropL4zor[(Player number of (Owner of (Casting unit)))] = (Last created unit)
- Animazione - Play ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]'s birth animation
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
-
Gruppo di unitÃ* - Pick every unit in (Units within (Random real number between 300.00 and 500.00) of (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) and do (Actions)
-
Giro - Azioni
- UnitÃ* - Cause (Triggering unit) to damage (Picked unit), dealing ((Random real number between 400.00 and 800.00) - ((Distance between (Position of (Picked unit)) and (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) / 1.00)) damage of attack type Assedio and damage type Fuoco
-
Giro - Azioni
- Ambiente - Crea Blight for (Owner of (Casting unit)) from (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) to a radius of 400.00
- Ambiente - Create a 1.00 second Normale ripple deformation at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) with starting radius 0.00, ending radius 800.00, and depth 64.00, using 1.00 second ripples spaced 15.00 apart
- UnitÃ* - Kill ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]
- UnitÃ* - Create 1 Tiberium for Neutrale-passivo at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) facing Orientamento predefinito degli edifici degrees
-
Altrimenti - Azioni
- Do nothing
-
Se - Condizioni
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Se - Condizioni
- (Level of (Ability being cast) for (Casting unit)) Uguale a 2
-
Allora - Azioni
- UnitÃ* - Create 1 L4zor 2 for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by (Random real number between 0.00 and 500.00) towards (Random angle) degrees) facing Orientamento predefinito degli edifici degrees
- Set ZK_DropL4zor[(Player number of (Owner of (Casting unit)))] = (Last created unit)
- Animazione - Play ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]'s birth animation
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
-
Gruppo di unitÃ* - Pick every unit in (Units within (Random real number between 300.00 and 500.00) of (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) and do (Actions)
-
Giro - Azioni
- UnitÃ* - Cause (Triggering unit) to damage (Picked unit), dealing ((Random real number between 500.00 and 900.00) - ((Distance between (Position of (Picked unit)) and (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) / 1.00)) damage of attack type Assedio and damage type Fuoco
-
Giro - Azioni
- UnitÃ* - Create 1 Blue Tiberium for Neutrale-passivo at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) facing Orientamento predefinito degli edifici degrees
- UnitÃ* - Kill ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
- Ambiente - Crea Blight for (Owner of (Casting unit)) from (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) to a radius of 400.00
- Ambiente - Create a 4.00 second Scoraggiamento ripple deformation at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) with starting radius 0.00, ending radius 900.00, and depth 90.00, using 1.00 second ripples spaced 15.00 apart
- UnitÃ* - Create 1 L4zor 2 for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by (Random real number between 0.00 and 500.00) towards (Random angle) degrees) facing Orientamento predefinito degli edifici degrees
- Set ZK_DropL4zor[(Player number of (Owner of (Casting unit)))] = (Last created unit)
- Animazione - Play ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]'s birth animation
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
-
Gruppo di unitÃ* - Pick every unit in (Units within (Random real number between 300.00 and 500.00) of (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) and do (Actions)
-
Giro - Azioni
- UnitÃ* - Cause (Triggering unit) to damage (Picked unit), dealing ((Random real number between 500.00 and 900.00) - ((Distance between (Position of (Picked unit)) and (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) / 1.00)) damage of attack type Assedio and damage type Fuoco
-
Giro - Azioni
- UnitÃ* - Create 1 Blue Tiberium for Neutrale-passivo at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) facing Orientamento predefinito degli edifici degrees
- UnitÃ* - Kill ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
- Ambiente - Crea Blight for (Owner of (Casting unit)) from (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) to a radius of 400.00
- Ambiente - Create a 4.00 second Scoraggiamento ripple deformation at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) with starting radius 0.00, ending radius 900.00, and depth 90.00, using 1.00 second ripples spaced 15.00 apart
- UnitÃ* - Create 1 L4zor 2 for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by (Random real number between 0.00 and 500.00) towards (Random angle) degrees) facing Orientamento predefinito degli edifici degrees
- Set ZK_DropL4zor[(Player number of (Owner of (Casting unit)))] = (Last created unit)
- Animazione - Play ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]'s birth animation
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
-
Gruppo di unitÃ* - Pick every unit in (Units within (Random real number between 300.00 and 500.00) of (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) and do (Actions)
-
Giro - Azioni
- UnitÃ* - Cause (Triggering unit) to damage (Picked unit), dealing ((Random real number between 500.00 and 900.00) - ((Distance between (Position of (Picked unit)) and (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) / 1.00)) damage of attack type Assedio and damage type Fuoco
-
Giro - Azioni
- UnitÃ* - Create 1 Blue Tiberium for Neutrale-passivo at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) facing Orientamento predefinito degli edifici degrees
- UnitÃ* - Kill ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
- Ambiente - Crea Blight for (Owner of (Casting unit)) from (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) to a radius of 400.00
- Ambiente - Create a 4.00 second Scoraggiamento ripple deformation at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) with starting radius 0.00, ending radius 900.00, and depth 90.00, using 1.00 second ripples spaced 15.00 apart
- UnitÃ* - Create 1 L4zor 2 for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by (Random real number between 0.00 and 500.00) towards (Random angle) degrees) facing Orientamento predefinito degli edifici degrees
- Set ZK_DropL4zor[(Player number of (Owner of (Casting unit)))] = (Last created unit)
- Animazione - Play ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]'s birth animation
- Conto alla rovescia - Start ZK_DropTimer[(Player number of (Owner of (Casting unit)))] as a Una volta timer that will expire in 1.00 seconds
- Wait until ((Remaining time for ZK_DropTimer[(Player number of (Owner of (Casting unit)))]) Minore o uguale a 0.30), checking every 0.25 seconds
-
Gruppo di unitÃ* - Pick every unit in (Units within (Random real number between 300.00 and 500.00) of (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) and do (Actions)
-
Giro - Azioni
- UnitÃ* - Cause (Triggering unit) to damage (Picked unit), dealing ((Random real number between 500.00 and 900.00) - ((Distance between (Position of (Picked unit)) and (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))])) / 1.00)) damage of attack type Assedio and damage type Fuoco
-
Giro - Azioni
- UnitÃ* - Create 1 Blue Tiberium for Neutrale-passivo at (Position of ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]) facing Orientamento predefinito degli edifici degrees
- UnitÃ* - Kill ZK_DropL4zor[(Player number of (Owner of (Casting unit)))]
-
Altrimenti - Azioni
- Do nothing
-
Se - Condizioni
-
Eventi
Download the map if you can't understand it .