• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Need a glitch fixed..

Status
Not open for further replies.
Level 4
Joined
Oct 4, 2005
Messages
65
Trigger: Range Marker

Event-

Unit - A unit Begins casting an ability

Condintion-

(Ability being cast) Equal to Range Marker (Neutral Hostile)

Action-

Lightning - Create a lightning effect Healing Wave - Primary (Position of (Triggering unit)) ((Position of (Triggering unit)) offset by (X of ((Position of (Triggering unit)) offset by (2000.00, 0.00))) towards 360.00 degrees)
-
Lightning - Create a lightning effect Healing Wave - Primary (Position of (Triggering unit)) ((Position of (Triggering unit)) offset by (X of ((Position of (Triggering unit)) offset by (2000.00, 0.00))) towards 45.00 degrees)
-
Lightning - Create a lightning effect Healing Wave - Primary (Position of (Triggering unit)) ((Position of (Triggering unit)) offset by (X of ((Position of (Triggering unit)) offset by (2000.00, 0.00))) towards 90.00 degrees)
-
Lightning - Create a lightning effect Healing Wave - Primary (Position of (Triggering unit)) ((Position of (Triggering unit)) offset by (X of ((Position of (Triggering unit)) offset by (2000.00, 0.00))) towards 145.00 degrees)
-
Lightning - Create a lightning effect Healing Wave - Primary (Position of (Triggering unit)) ((Position of (Triggering unit)) offset by (X of ((Position of (Triggering unit)) offset by (2000.00, 0.00))) towards 180.00 degrees)
-
Lightning - Create a lightning effect Healing Wave - Primary (Position of (Triggering unit)) ((Position of (Triggering unit)) offset by (X of ((Position of (Triggering unit)) offset by (2000.00, 0.00))) towards 220.00 degrees)
-
Lightning - Create a lightning effect Healing Wave - Primary (Position of (Triggering unit)) ((Position of (Triggering unit)) offset by (X of ((Position of (Triggering unit)) offset by (2000.00, 0.00))) towards 270.00 degrees)
-
Lightning - Create a lightning effect Healing Wave - Primary (Position of (Triggering unit)) ((Position of (Triggering unit)) offset by (X of ((Position of (Triggering unit)) offset by (2000.00, 0.00))) towards 320.00 degrees)
-----

Range Marker is design to show the player the amount of land that they control.

Trigger Remove Range Marker

Event-

Time - (Create a periodic Repeating timer lasting 2.00) expires

No Condintion-

Action-

Lightning - Destroy (Last created lightning effect)

Remove Range Marker is design to remove all lightning effects. Some reason it only removes one effect, any idea how this can be fixed? Thanks.
 
Level 4
Joined
Jul 30, 2005
Messages
66
Oops :eek: I don't think yo ucan do it with variables.

This will be very frustrating.. I reccomend you use this method: get 8 dummy units and trigger-unit create them at the polar offsets then give them a useless ability like... life drain with 0 everything (except duration, of course, and casting range, which you should set to like 2x what you need to make them from the polar center to be safe, and give it the desired lightning effect and remove all other art, and make these dummy units use some random buff effect, like bloodlust but leave scaling alone, give them 0 sight range as well) then make them all cast the life drain to the unit casting range marker and then Wait - X seconds then Unit Group - Pick Every Unit In Playable Area then do If/Then/Else. Put Boolean Unit Type of picked unit is equal to "name of dummy unit" is true. Then for then, choose remove picked unit.
 
Status
Not open for further replies.
Top