lol i quit wow quite some time ago, but now they're adding goblins in the mix, i might start again cuz they have always been my favorite race!! i always wondered why the alliance had the gnomes, but the horde never got the goblins :\ but whats up with these worg things? where did they come from??
so u say that if i don't put in anything in the else part, it doesn't leak?
i thought it would just BECAUSE there is a piece of code expected :S but i'm new to this so thats just my logic:D
anyway if this is to be leak-free i thank-thee haha:D
this is how it is now:
Trigger 1 (for opening)
Trigger
Events
Unit - A unit enters open door <gen>
Conditions
((Triggering unit) is a flying unit) Equal to False
Actions
Unit Group - Add all units of (Units in Open Door <gen>) to Opendoorgrp...
how does that thing work that u can post a trigger screen in a reply? then i can show you how i did it.
this is how i did it:
Trigger 1 (for opening)
Trigger
Events
Unit - A unit enters open door <gen>
Conditions
((Triggering unit) is a flying unit) Equal to False...
i know that, though i don't write stories but play the guitar. the awful thing about that is that when i get an idea, it's mostly in the middle of the night i wake up and think YES THATS IT! but i can't record it because everybody is asleep and i'll piss them off. so i have to go to sleep. and...
i haven't used unitgroups. i just used the if/then/else command with
if number of units in open door region is equal to 0 (in short)
then close door
else do nothing
what would that make the name of the unit group?
it isn't working. i did what you said but now it says : expected 'endif' should i just stick that on the end of the line or do i have to do something else?
is there a way i can share my map so you can take a look at it? maybe somebody else can see a mistake i made. cuz i have no idea what's going on.
EDIT: found it. i think it's this one
i checked it's there already. i haven't removed any triggers, just added a few door controls and in the list of game initialization i added that the doors are invulnerable.
they can't walk through trees anymore, I changed them to another kind that is denser. but they still don't harvest them! and i don't know what could possibly be wrong :( does the fact that i use custom triggers affect AI gameplay?
I have made 2 triggers now
one that says event: Unit enters region action: Open Door
the other says Event: Unit Leaves region Action: If ((number of units in (myregion <gen>)) Equal to 0) then do (destructible: close gate <thegate>) else do nothing.
where does it leak?
*i'm pretty...
they're just normal units :S i didn't customize anything but the terrain. also i made some doors in the middle with some triggers. does that have any effect?
(i've also noticed that players start at a fixed position even though the box is unchecked)
hey everybody! i made a map (or am making cuz it's just reaaally basic right now) but during the tests the AI doesn't harvest any lumber :S also you can walk through the forrests of trees. my tileset is cityscape, does that have anything to do with it?
Thnx!
yea but you only have 100 food so there won't be alot of units going through haha also if i make gate = closed a condition, the first unit would open the gate, and then the rest has to follow within a set amount of time or they have to leave and re-enter the region to open the gate again :\ so...
thats kinda the problem. i don't know how to make it check if there aren't any other units in another region:( i tried that but the amount of menus you have to go through is confusing. you choose the comparison (the only thing you can use conditions for) the n u fill in the variables and they...
hi everyone.
i want to make a map that features a gate that opens and closes. but i can't seem to get it to work because i thought it would be easy and all i had to do is make it so that when a unit enters the region the gate opens, when it leaves, gate closes. now i hadn't thought of when you...