So, when I try to save my map with this trigger in it:
Notice
Events
Conditions
Actions
Set NoticeTempGroup = (Player group(NoticePlayer))
Game - Display to NoticeTempGroup the text: NoticeString
Custom script: call DestroyGroup(udg_NoticeTempGroup)...
Is there a way to raise all terrain by 1?
I made a new map starting with shallow water so I can do the nice rivers effect, but I don't want to have to raise each patch of land one 8x8 by one.
I can select all terrain, is there a way to raise all?
In the map I'm making there is a shipping/trading aspect between players. How can I make an item which, when used, gives the player 200 gold or 200 lumber, but can be held in a unit's inventory? Can this be done without triggers? I can make it work with triggers probably, but is there an easier...
I'm trying to make it so players in my map can choose to ally with one another like you can in the main game, but still have two different forces.
How is this possible? I know I can use triggers but I thought it'd be easier for the player if they could just use the alliances tab in the game...
How to I modify the sacrifice ability to work for other units to transform them into other units?
I want a building which can train the map's units to their next level so like a militia would train to a footman, etc. How do I edit the sacrifice ability for the militia to turn into a footman?
This trigger is supposed to go every time it is midnight in the game. Only works once (the second if/then/else part)
I know theres leaks, those will be fixed, but does anyone see why this only works once?
Attack
Events
Game - The in-game time of day becomes Equal to 24.00...
Im trying to avoid using a trigger to make this work, but I can if I have to.
I have a building which is supposed to only have 3 units in it. The units are "sold" with a cost of 0. It is supposed to only have 3 and not allow any more after that. A stock replenish time of 0 is instant...
So, with spellbooks, to add/remove skills, do you add every possibly addable skill to the skill list, then remove them all via a trigger and add the ones you want?
I see the add/remove skill actions, but how do you do it for just in the spellbook for a unit?
I'm new to spellbooks, so any...
NewGen help - [Different Question Now]
How do I get/implement NewGen?
Ive been looking at this http://www.thehelper.net/forums/showthread.php?t=98319 and it says I need NewGen. I got....something...
I downloaded a file "jassnewgenpack3g.7z" and extracted it, but when I run NewGen...
I based a trigger ability on Banish to make a quick ability that has a unit target. The ability makes the unit blink to the target (move unit instantly action) and deal damage based on how far the unit blinked...
I set it so every level, the casting range for the skill goes up, but the unit...
How can I tell if there is only one unit left in an array and know which one it is?
The array "heroes" for me is an array which stores the chosen heroes in a hero arena using the player number as the index. I just need a trigger to know when a unit is killed if it is the last unit besides the...
Background info: There is an array variable called forces with 2 slots (0,1)
Players 2-6 are in 0, and 8-12 are in 1. This trigger is supposed to detect when the variable LLives is 0 and remove the heroes for the 0 group, then make the remaining players enemies so they can attack each other. The...
What custom gameplay constants are the descriptions for Upkeep? I have the upkeep box in the top righthand corner displaying the version of my map, but when you scroll over it has a description I wrote, then all the upkeep descriptions. Where can I find these so I can remove them?
Okay, so that is probably the most screwed up title ever but...
Im trying to attach a special effect to a unit via a trigger (create special effect on unit), but the problem is that the model is in the doodads/extra section (Rocking Arthas or whatever it is.)
Basically, is there a way to...
Alright, memory leaks aside, this should be okay, but it doesn't work.
It's supposed to remember the last unit you used a skill on and deal bonus damage if you use it on the same unit again.
Memory Cast
Events
Unit - A unit Starts the effect of an ability
Conditions...
Field of Fire
Events
Unit - A unit Starts the effect of an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Mystic
(Ability being cast) Equal to Field of Fire
Actions
Set FieldofFireUnit = (Triggering unit)
Region - Center...
Hey all. This trigger isn't working right. It is supposed to make all heroes in the array Heroes_Removaarray unavailable for purchasing by the person who bought a unit. Like how DotA works for hero selection. Removing the selected hero for all players works, but removing all heroes for the...
If I have two forces, and checked the "Allied" box on the forces properties menu, can I edit their alliance using triggers?
I need to know this because my current project starts as two teams, then one team is eliminated and the remaining team is pitted against each other. Suggestions?
lightning dance
Events
Unit - A unit Starts the effect of an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Cloudwalker
(Ability being cast) Equal to Lightning Dance
Actions
Wait 0.05 seconds
Set tempunit2 = (Triggering...