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...
1:WEU
2:Optimizer, could be an option.
3:Hack, the map...what do you mean, its already GUI. no need to hack. plus, I know of a good place if hacking it would be an option somehow. I just dont know what you mean by that.
Done that, didnt work. I used uninstall proffesional, just to really give the registry a good wipe. The next step would be to reinstall the OS. I will try tommorow on my laptop to see if it works still there, but it doesnt solve my problem how to edit it further.
Also, my map has special...
Since there are MANY previous versions saved that worked just fine, I am going to assume they are not yet corrupt. What else can I use to open my map to try to convert the WEU code to custom script, then I can open it up in normal WE.
As of a few days ago, I have about 650 compile errors in my map. Funny thing is, not just this version, but ALL previous versions that I have saved.
Ok, first things first, I am using WEU, and was already told that it could corrupt my map, but all of them? I have reinstalled warcraft and WEU...
Ok thanks for the info. I will have to ga back and delete double instances of these 2 lines of code. I hope if I missed one somewhere, it doesnt screw things up!! :D
One thing I guess I am not sure of, is I had already an action to remove a tmp point:
Point - Remove MyLocation
But according to your program it still leaks and I should try:
Custom script: call RemoveLocation(udg_MyLocation)
How do I actually know if my script worked or not...