hopy
Active Member
- Reaction score
- 64
Main question:
I had a spell Rapid Killing, but I changed it a bit because there were some problems with the previous version, but now it doesn't work anymore.
Allows the Archer to fire 2 extra arrows on each attack with an elemental bonus. |n - Fire deals 10% more damage. |n - Ice has 20% more ranged and a 0.5 second shorter Cool Down. |n - Nature can hit an aditional target.
The problem is: it doesn't do anything when attacking...
Rapid_Killing[Interger] is an abiltiy variable set in a different trigger.
Unit_Group and Unit_Group2 are Unit Group variables.
Point is a Point.
The reason I had to use 3 if/else: Every arrow (intreger) has a different effect. (One more target, more AoE etc).
Also I had a few smaller questions, shouldn't take to long to awnser I hope.
- Question 1: Custom Script.
I had a piece of Cusom script in my map that didn't want to work:
I was wondering: How am I supposed to destroy the right Unit Group array?
- Question 2: Dialog buttons. - Fixed Thanks.
I have a few dialogs in my game that allow player 1 to set some options at the start of the map.
For each Dialog I use different Dialog Menu's, but the same buttons with an array for each button.
Would using the same buttons for each Dialog menu cause problems? Because if not there's something else that's causing problems and I'd have to search for that again. xD
- Question 3: Ability unlearn. - Fixed Thanks.
I was planning on creating a Tome that unlearns all your abilities when used so you can spend your ability points again in a different way in case you've made a mestake.
Now I was planning on doing this using "Set ability level of ability to 0" but it turns out you can't select 0 in that menu...
How can I create a tome that sets all hero ability levels to 0.
- Question 4: Item ideas. - Fixed Thanks.
I'm looking for 2 fun Voodoo Item ideas. Let me know if you have any.
And I"m also looking for a few Naga item ideas.
- Question 5: Upgrade names.
I'm horrible with names and I haven't been able to think of any fun names for a few things.
- A speed upgrade for Nerubian workers.
- A building that produces DragonHawk Riders and War Wagons.
+Rep for any usefull help, sollutions, advise and ideas.
Thanks in advance.
I had a spell Rapid Killing, but I changed it a bit because there were some problems with the previous version, but now it doesn't work anymore.
Allows the Archer to fire 2 extra arrows on each attack with an elemental bonus. |n - Fire deals 10% more damage. |n - Ice has 20% more ranged and a 0.5 second shorter Cool Down. |n - Nature can hit an aditional target.
The problem is: it doesn't do anything when attacking...
Trigger:
- Rapid Killing Attack
- Events
- Unit - A unit Is attacked
- Conditions
- ((Attacking unit) has buff Rapid Killing ) Equal to True
- Actions
- Set Point = (Position of (Triggering unit))
- Set Interger = (Random integer number between 1 and 3)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Interger Equal to 1
- Then - Actions
- Set Unit_Group = (Units within 600.00 of Point matching ((((Matching unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True) and ((((Matching unit) has buff Invulnerable) Equal to False) and ((Matching unit) Not equal to (Attacked unit)))))
- Set Unit_Group2 = (Random 2 units from Unit_Group)
- Unit Group - Pick every unit in Unit_Group2 and do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Point facing Default building facing degrees
- Unit - Add Rapid_Killing[Interger] to (Last created unit)
- Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Custom script: call DestroyGroup (udg_Unit_Group)
- Custom script: call DestroyGroup (udg_Unit_Group2)
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Interger Equal to 2
- Then - Actions
- Set Unit_Group = (Units within 720.00 of Point matching ((((Matching unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True) and ((((Matching unit) has buff Invulnerable) Equal to False) and ((Matching unit) Not equal to (Attacked unit)))))
- Set Unit_Group2 = (Random 2 units from Unit_Group)
- Unit Group - Pick every unit in Unit_Group2 and do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Point facing Default building facing degrees
- Unit - Add Rapid_Killing[Interger] to (Last created unit)
- Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Custom script: call DestroyGroup (udg_Unit_Group)
- Custom script: call DestroyGroup (udg_Unit_Group2)
- Else - Actions
- Set Unit_Group = (Units within 600.00 of Point matching ((((Matching unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True) and ((((Matching unit) has buff Invulnerable) Equal to False) and ((Matching unit) Not equal to (Attacked unit)))))
- Set Unit_Group2 = (Random 3 units from Unit_Group)
- Unit Group - Pick every unit in Unit_Group2 and do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Point facing Default building facing degrees
- Unit - Add Rapid_Killing[Interger] to (Last created unit)
- Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Custom script: call DestroyGroup (udg_Unit_Group)
- Custom script: call DestroyGroup (udg_Unit_Group2)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Custom script: call RemoveLocation (udg_Point)
- Events
Rapid_Killing[Interger] is an abiltiy variable set in a different trigger.
Unit_Group and Unit_Group2 are Unit Group variables.
Point is a Point.
The reason I had to use 3 if/else: Every arrow (intreger) has a different effect. (One more target, more AoE etc).
Also I had a few smaller questions, shouldn't take to long to awnser I hope.
- Question 1: Custom Script.
I had a piece of Cusom script in my map that didn't want to work:
Trigger:
- Custom script: call DestroyGroup (udg_Town_Halls[(Player_number_of_(Owner_of_(Triggering_unit)))])
I was wondering: How am I supposed to destroy the right Unit Group array?
- Question 2: Dialog buttons. - Fixed Thanks.
I have a few dialogs in my game that allow player 1 to set some options at the start of the map.
For each Dialog I use different Dialog Menu's, but the same buttons with an array for each button.
Trigger:
- Events
- Dialog - A dialog button is clicked for Dialog_Mode
- Conditions
- (Clicked dialog button) Equal to DialogButton[1]
- Actions
- Dialog - Clear Dialog_Difficulty
- Dialog - Change the title of Dialog_Difficulty to Difficulty:
- Dialog - Create a dialog button for Dialog_Difficulty labelled |cff008B00Very Easy...
- Set DialogButton[1] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog_Difficulty labelled |cff00CD00Easy|r
- Set DialogButton[2] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog_Difficulty labelled |cffFFD700Normal|r
- Dialog - Show Dialog_Difficulty for Dialog_Player
Would using the same buttons for each Dialog menu cause problems? Because if not there's something else that's causing problems and I'd have to search for that again. xD
- Question 3: Ability unlearn. - Fixed Thanks.
I was planning on creating a Tome that unlearns all your abilities when used so you can spend your ability points again in a different way in case you've made a mestake.
Now I was planning on doing this using "Set ability level of ability to 0" but it turns out you can't select 0 in that menu...
How can I create a tome that sets all hero ability levels to 0.
- Question 4: Item ideas. - Fixed Thanks.
I'm looking for 2 fun Voodoo Item ideas. Let me know if you have any.
And I"m also looking for a few Naga item ideas.
- Question 5: Upgrade names.
I'm horrible with names and I haven't been able to think of any fun names for a few things.
- A speed upgrade for Nerubian workers.
- A building that produces DragonHawk Riders and War Wagons.
+Rep for any usefull help, sollutions, advise and ideas.
Thanks in advance.