Lol i love you, the trigger is now short as a goldfish in a bowl, ty!
Edit: For your question. The spell creates a dummy unit, attaches a region to it, kills the dummy unit, and pauses all units in the region for 1 sec. Then repeats.
Yes it works now because i deleted Level 5 of it in the trigger editor. If i put level 5 of it in the editor and try to save, the editor says its too long. Which means the map dont get saved.. :/
In one of my spells the trigger code is too long, probably because of my many if,then functions. I know I could probably rewrite this with an array, but im not that good with them, could anyone take a look at my spell and help me how to change the code on this spell in particular?
EDIT: It's the spell called "Cider"
EDIT 2: The spell creates a dummy-unit which a region is added to, all enemy units in that region gets paused for 1 sec. The "stun" is repeated 3 times and more on higher levels.
So i want to have a button on the command card which does not execute anything when pressed, since im doing everything by triggers.
EDIT: I tried using a dummy ability like "stop" and then it works. But i want it to work by moving, and i cant find any better dummy Ability Command than stop. :(
This is what I also thought would work, however in my triggers it doesnt. :/
Here are my triggers:
(
Event - Player Any Player presses Attributes
Actions - Dialog - Display button 1 of size (150, 35) with text "Agility" at Bottom Right of screen with offset (110, 470) (run AgilityGain when button is clicked)
)
(
Actions - Unit - Add 1 Agility to Adam Carlfjord [90.00, 84.20] from player 1
)
This works as far as being able to press the button. However, no attribute gains are applied. :/
EDIT: Also, when i use this kind of function, the second trigger does not have any event. Therefore i cannot use "triggering unit" or anything like that. As you can see on my trigger the unit is a preset value, which i do not want because I want several different heroes to be able to use it -.-. Is there any way to fix this?
I have the exact same problem. I cannot seem to find any way to do this, but I am pretty sure it's possible. I would also greatly appreciate a solution to this problem!
I am making a hero arena. I have created herolevels and attributes etc, but I dont want the attribute-gain to be "static". Therefore I have created triggers that, when pushing a "add attribute" button, you get to choose which attribute you want to level up.
However, I cannot find a way to add attribute points to a unit by trigger, please help!
(By attributes, i mean the custom attributes available for unit use. Not ordinary attributes like damage, energy etc.)
I have made a custom weapon which fires a volley of 20 missiles over a small interval, doing 1 damage each (kind of like the thors AA). Now the tooltip does not at all show what i have done. So i figured hey, what if I make a totally custom tooltip like in wc3? Is this possible, and if not, is there a way I can fix my tooltip so it matches what i have done with the weapon?
Thank you!
(If I was not clear enough, for example the range of the weapon is 13, but the tooltip says it is 9 etc)
Okay, i am trying to make units from scratch since im having lots of bugs with duplicating. I am having trouble with adding actors to units. So Im sitting here with a units with abilites and custom weapon but thats about it, please help me.
Also I found this tutorial: ! http://www.sc2mapster.com/api-docs/getting-started-with-galaxy-edit/creating-your/ ! but it does not help me at all since he just copies all the values from the original marine. I do not wish to copy, I wish to add an actor to a unit with no actor or model attached to it (just trying to be extra clear).
0
@SquarelyCircle: Go
Lol i love you, the trigger is now short as a goldfish in a bowl, ty!
Edit: For your question. The spell creates a dummy unit, attaches a region to it, kills the dummy unit, and pauses all units in the region for 1 sec. Then repeats.
0
This is probably a B.Net check when starting, i don't think there is a way to change it.
0
Yes it works now because i deleted Level 5 of it in the trigger editor. If i put level 5 of it in the editor and try to save, the editor says its too long. Which means the map dont get saved.. :/
0
In one of my spells the trigger code is too long, probably because of my many if,then functions. I know I could probably rewrite this with an array, but im not that good with them, could anyone take a look at my spell and help me how to change the code on this spell in particular?
EDIT: It's the spell called "Cider"
EDIT 2: The spell creates a dummy-unit which a region is added to, all enemy units in that region gets paused for 1 sec. The "stun" is repeated 3 times and more on higher levels.
0
This is great! But do you know how to make the hero gain exp in a radius instead of killing blows only? (like in wc3)
0
So i want to have a button on the command card which does not execute anything when pressed, since im doing everything by triggers.
EDIT: I tried using a dummy ability like "stop" and then it works. But i want it to work by moving, and i cant find any better dummy Ability Command than stop. :(
0
@s3rius: Go
I did what you said and my hero now starts with 1 agility instead of 0, but my trigger still does not work. :O
EDIT; Oh nevermind, I forgot to change the behavior in the trigger to the buff instead of the attribute. Thanks a bunch man! :D
0
This is what I also thought would work, however in my triggers it doesnt. :/
Here are my triggers:
(
Event - Player Any Player presses Attributes
Actions - Dialog - Display button 1 of size (150, 35) with text "Agility" at Bottom Right of screen with offset (110, 470) (run AgilityGain when button is clicked)
)
(
Actions - Unit - Add 1 Agility to Adam Carlfjord [90.00, 84.20] from player 1
)
This works as far as being able to press the button. However, no attribute gains are applied. :/
EDIT: Also, when i use this kind of function, the second trigger does not have any event. Therefore i cannot use "triggering unit" or anything like that. As you can see on my trigger the unit is a preset value, which i do not want because I want several different heroes to be able to use it -.-. Is there any way to fix this?
0
@peekuhchew: Go
I have the exact same problem. I cannot seem to find any way to do this, but I am pretty sure it's possible. I would also greatly appreciate a solution to this problem!
0
I am making a hero arena. I have created herolevels and attributes etc, but I dont want the attribute-gain to be "static". Therefore I have created triggers that, when pushing a "add attribute" button, you get to choose which attribute you want to level up.
However, I cannot find a way to add attribute points to a unit by trigger, please help!
(By attributes, i mean the custom attributes available for unit use. Not ordinary attributes like damage, energy etc.)
0
@anguule: Go
Yeah sorry, i mean as in their regular weapon not as an item :/
0
I have made a custom weapon which fires a volley of 20 missiles over a small interval, doing 1 damage each (kind of like the thors AA). Now the tooltip does not at all show what i have done. So i figured hey, what if I make a totally custom tooltip like in wc3? Is this possible, and if not, is there a way I can fix my tooltip so it matches what i have done with the weapon?
Thank you!
(If I was not clear enough, for example the range of the weapon is 13, but the tooltip says it is 9 etc)
0
@Thebillsta: Go
Ahh so I need to make an actor and add the unit to it rather than adding and actor to a parameterfield of the unit directly. I get it now, thank you!
0
Okay, i am trying to make units from scratch since im having lots of bugs with duplicating. I am having trouble with adding actors to units. So Im sitting here with a units with abilites and custom weapon but thats about it, please help me.
Also I found this tutorial: ! http://www.sc2mapster.com/api-docs/getting-started-with-galaxy-edit/creating-your/ ! but it does not help me at all since he just copies all the values from the original marine. I do not wish to copy, I wish to add an actor to a unit with no actor or model attached to it (just trying to be extra clear).
Thank you!