Post subject: [Help] Need The Building Trigger. And something else.
Posted: November 13th, 2008, 10:36 pm
Newcomer
Joined: October 29th, 2007, 9:28 pm Posts: 9
Hi! alright, I want to request a trigger for like , when u build up to 9 houses remove the Build House Icon from your peasant so you couldn't build anymore of that structure. Please help. You could reach me on AIM, my sn is layzab0ne. Thanks ;]
Also uhm I want to ask someone could they help me with this problem. Alright I copy and pasted a terrain from someone's map a Bigger map and I copied everything from the old map into the new one except the triggers. (I also copied the Variables.) Then when I got to the triggers I try to save it and it doesn't work. Btw, the triggers are jass. I wonder is there any solution to this. The Map is CCD Custom Castle Defense. Thanks.
Build Events Unit - A unit Begins construction Conditions (Unit-type of (Constructed structure)) Equal to Town Hall Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Count structures controlled by (Owner of (Triggering unit)) (Include incomplete structures)) Equal to 10 Then - Actions Unit - Explode (Constructing structure) Else - Actions
Well, this isnt exactly it but it does almost the same thing
EDIT:
Spoiler:
Code:
Untitled Trigger 001 Events Map initialization Conditions Actions Player - Limit training of Town Hall to 9 for (Triggering player)
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum