Late reply. I finally have it working. First I had to add ALL the towers to my builder. I used a trigger to make these towers unavailable. Then I used your examples to write the rest to add 11 various towers for him to be able to be built.
Well it's been a loooong time. Thought i would give it a try, and still no-go. I uploaded the test map. It's a TD just so I don't have to do all the Terrain and spawns.
Maybe someone can take a look and see where the hell I might be going wrong.
Thanks.
I havn't had much time to play with it, but the time I've had hasn't been successful. I think I will make sure my triggers shown above work before trying to inject them into my existing map. Maybe if they work properly, they will also allow the rest of the map to work.
Will let you know how it...
Hi guys.
so Interger A is actually the RACE. So instead of making 15 triggers for 15 races, I use Interger A to condense 15 triggers to 1. This trigger has worked flawlessly until this week.
I will also try putting the action without the if, ands, or buts. :D
@Daemon, will also make sure I...
So I decided to start of at the last map saved before adding the extra triggers, and the game works fine. As soon as I add these triggers, the building wontt build:
Test these towers
Events
Unit - A unit Finishes training a unit
Conditions
(Unit-type of (Trained unit))...
It can be clicked. I can use the mouse to make a "rectangle" around the building to highlight it. Then I get a quick sound as if it's being built, but sits at 100%
No. I havn't touched any units.
But is it possible to have changed him thru triggers? Can I use a trigger to make sure he stays as the type he is supposed to be?
I feel pretty dumb asking this, as I know I had this problem years ago. I just cant find the answer for it.
The building shows as 100 percent, but its actually not built, and all that is showing is the ground underneath.
This trigger worked fine up until today when I was doing other...
But yours was easier to understand, especially since I am getting back into after 3 years away. :D
Thanks. Will try it after work.
EDIT:
Ok, so I have been trying to set up these towers as you guys are describing, and it is not quite working. How can I set up a tower as an ABILITY, when it...
Thanks for the replies. I will have to mull over the answers to see if any are possible, and if I can figure it out in WE. ;) (Havnt coded in years)
What I am doing, is creating a random race from several existing races. I want the triggers to pull the towers from those existing races randomly...
I was wondering if it was possible that a builder does't just have the same towers, but if it could be coded that the builder would receive a couple of towers randomly.
So if there were basic, normal and advanced towers:
A B C D E (Basic)
F G H I J (Normal)
K L M N O (Advanced)
He...
One tower uses one block of ground. But there are some towers that use an extra block all tha way around, so it uses basically 9 blocks of unbuildable area. Where in the editor can I change the ground build size?
I hope someone understands what the heck I am looking for.
jas error:expected a name
call AdjustPlayerStateBJ( GetItemGoldCostById(GetItemTypeId(GetManipulatedItem())), GetOwningPlayer(GetTriggerUnit()), PLAYER_STATE_RESOURCE_GOLD )
here is the corresponding GUI:
Player - Add (Gold cost of (Item-type of (Item being manipulated))) to (Owner of...