- Joined
- Mar 27, 2008
- Messages
- 8,035
Well, this is actually more of a request rather than questioning, I wrote it here because I see there's a few people who'd like to help on Request Section
Famous spot is this section and the Triggers & Scripts.
Enough with that, let's get down to business
Okay, I'm in need of a spell request actually, its name is String Distribution
Here's the info about the spell:
1. Target Ground
2. When targeted, spawns <object> (you can use the none.mdx dummy unit) and from that object, two sources of lightning (acting as "string") will come out from the object and link itself to 2 random units in an 1000 AOE (max AOE check).
3. The total length of the string depends on the distance from Unit A -> Object -> Unit B. I'll draw diagram for this:
------------------------------------Object
-----------------------------------/-------\
-----------------------(500 range)/---------\(500 range)
---------------------------------/-----------\
------------------------------Unit A--------Unit B
--- = space divider
/ and \ = Lightning/String
Example Situation: From Unit A -> Object -> Unit B = 1000 range of string length.
4. If Unit A moves (Unit B is static), then Unit B is pulled equivalent to the distance of Unit A moves. Example: Unit A moves 200 range, Unit B will be pulled 200 range towards the Object.
5. If any unit moves too far away (Greater than or Equal to MaxStringLength (MaxStringLength = Total Distance from Unit A -> Object -> Unit B, assume it like vector) range), then than unit can't move anymore further than that.
6. If both unit is moving at the same speed, the string will have no movement but if Unit A is moving more than 30 movement speed than Unit B, the string will be moved 30 range per trigger loop Event (I bet it's 0.03).
NOTE: The "<value>" thing is my own decision to make what it is. Like that <object>, I have my own dummy to be used, but in your case, you can replace it with whatever you want including the none.mdx dummy unit. If you have any question, please ask
Reward: +3 rep.
(This is due to my big brother's request, I just need to show him that everything can be done with Warcraft III World Editor, are you with me, people ?)
Famous spot is this section and the Triggers & Scripts.
Enough with that, let's get down to business
Okay, I'm in need of a spell request actually, its name is String Distribution
Here's the info about the spell:
1. Target Ground
2. When targeted, spawns <object> (you can use the none.mdx dummy unit) and from that object, two sources of lightning (acting as "string") will come out from the object and link itself to 2 random units in an 1000 AOE (max AOE check).
3. The total length of the string depends on the distance from Unit A -> Object -> Unit B. I'll draw diagram for this:
------------------------------------Object
-----------------------------------/-------\
-----------------------(500 range)/---------\(500 range)
---------------------------------/-----------\
------------------------------Unit A--------Unit B
--- = space divider
/ and \ = Lightning/String
Example Situation: From Unit A -> Object -> Unit B = 1000 range of string length.
4. If Unit A moves (Unit B is static), then Unit B is pulled equivalent to the distance of Unit A moves. Example: Unit A moves 200 range, Unit B will be pulled 200 range towards the Object.
5. If any unit moves too far away (Greater than or Equal to MaxStringLength (MaxStringLength = Total Distance from Unit A -> Object -> Unit B, assume it like vector) range), then than unit can't move anymore further than that.
6. If both unit is moving at the same speed, the string will have no movement but if Unit A is moving more than 30 movement speed than Unit B, the string will be moved 30 range per trigger loop Event (I bet it's 0.03).
NOTE: The "<value>" thing is my own decision to make what it is. Like that <object>, I have my own dummy to be used, but in your case, you can replace it with whatever you want including the none.mdx dummy unit. If you have any question, please ask
Reward: +3 rep.
(This is due to my big brother's request, I just need to show him that everything can be done with Warcraft III World Editor, are you with me, people ?)