hi, í dont know what i do wrong. i want to build a building in a certain area (i made a region in that area). later there is an event and i want the condition to be "if unit x is in that region". but it doesnt work. i´m confused, in wc3 it was that way...
Allgemein -Wenn (Bedingungen), dann führe (Aktionen) aus, sonst führe (Aktionen) aus
Falls
(Einheitenname von (Auslösende Fortschrittseinheit)) == Fusionskern
(Auslösende Fortschrittseinheit) == (Einheit zu E oben hinzugefügt)
Dann
UI -"B" von (Alle Spieler) im Bereich Untertitel einblenden
Variable -EbuildingOben = (Auslösende Fortschrittseinheit) festlegen
Sonst
unfortunatly its in german , maybe someone of you can read german? :-D
google translator:
Übersetzung von Deutsch in Englisch
General-If (conditions), then do (actions) from, or lead (actions) from
If
(Unit name of (Triggering unit progress)) == nuclear fusion
added (Triggering unit progress ==) (unit of E above)
Then
UI - "B" of (all players) in view subtitles
Variable-EbuildingOben = (Triggering unit set progress)
Otherwise
Ehm, from what I'm seeing your trigger has no events. Thus there is nothing able to detect where to launch the triggers.
Then for your conditions, I don't know if it's the translation, but if it aint, you're doing it wrong.
You can verify the unit type of a specific unit, more pratical that verifying its name.
Wait... Your actions makes no sense either, I'm sorry I can't help you, it must be the traduction. Maybe a german-speaking dude could help translate...
event = finishing to build a structure
condition = nothing
action: if the building is in area 1, do that
if the building is in area 2, do this
and so on.
my if , then , otherwise is: if unit is from type "fusion core" AND if unit is in are "Eoben" --> then say B to all player (as a test) and set the variable to triggering building
the trigger only with the unit type check works, but it doesnt work with the unit is in area condition.
and its strange translated into german. condition --> function --> region --> unit is connected to region
I don't what the "Einheit zu E oben hinzugefügt" function is, but the whole logic behind "(Auslösende Fortschrittseinheit) == (Einheit zu E oben hinzugefügt)" doesn't make sense. Why are you comparing units instead of trying to determine a boolean?
In English, there is a "Unit Attached To Region" function and a "Unit In Region" function. I suspect you are using the first. The first returns a unit and requires the unit to be "attached" not "in" the region. The second returns a boolean. You want to be using the second and have a function that looks like "True == ((Triggering Unit Progress) in Region)".
yeeah it need the boolean value and your right with your translation. but seriosly i´m looking for the boolean tab for days. in which categorie is it? what is the exact name? this stupid german editor has so many bad translation...
(i guess the space key is called because you can make the spaces between letters. they translated it with the word for the other space with the space ships...^^ )
hi, í dont know what i do wrong. i want to build a building in a certain area (i made a region in that area). later there is an event and i want the condition to be "if unit x is in that region". but it doesnt work. i´m confused, in wc3 it was that way...
Allgemein -Wenn (Bedingungen), dann führe (Aktionen) aus, sonst führe (Aktionen) aus
Falls
(Einheitenname von (Auslösende Fortschrittseinheit)) == Fusionskern
(Auslösende Fortschrittseinheit) == (Einheit zu E oben hinzugefügt)
Dann
UI -"B" von (Alle Spieler) im Bereich Untertitel einblenden
Variable -EbuildingOben = (Auslösende Fortschrittseinheit) festlegen
Sonst
unfortunatly its in german , maybe someone of you can read german? :-D
google translator:
Übersetzung von Deutsch in Englisch
General-If (conditions), then do (actions) from, or lead (actions) from
If
(Unit name of (Triggering unit progress)) == nuclear fusion
added (Triggering unit progress ==) (unit of E above)
Then
UI - "B" of (all players) in view subtitles
Variable-EbuildingOben = (Triggering unit set progress)
Otherwise
its no complete trigger. its a "if, then, otherwise" action
@PsychoMC: Go
I am not sure about anything but the first sentance of your question... and even that I'm not sure about... but here's a guess.
You want a trigger that goes off when a unit gets within a certain distance of another unit.
If this does not work for you, and you actually need to use a region, there is an event "Any Unit Enters Region"
ok i go more into detail.
event = finishing to build a structure
condition = nothing
action: if the building is in area 1, do that
if the building is in area 2, do this
and so on.
my if , then , otherwise is: if unit is from type "fusion core" AND if unit is in are "Eoben" --> then say B to all player (as a test) and set the variable to triggering building
the trigger only with the unit type check works, but it doesnt work with the unit is in area condition.
and its strange translated into german. condition --> function --> region --> unit is connected to region
@PsychoMC: Go
I don't what the "Einheit zu E oben hinzugefügt" function is, but the whole logic behind "(Auslösende Fortschrittseinheit) == (Einheit zu E oben hinzugefügt)" doesn't make sense. Why are you comparing units instead of trying to determine a boolean?
In English, there is a "Unit Attached To Region" function and a "Unit In Region" function. I suspect you are using the first. The first returns a unit and requires the unit to be "attached" not "in" the region. The second returns a boolean. You want to be using the second and have a function that looks like "True == ((Triggering Unit Progress) in Region)".
yeeah it need the boolean value and your right with your translation. but seriosly i´m looking for the boolean tab for days. in which categorie is it? what is the exact name? this stupid german editor has so many bad translation...
(i guess the space key is called because you can make the spaces between letters. they translated it with the word for the other space with the space ships...^^ )
@PsychoMC: Go
Try taking a screen shot of the entire trigger and posting up here. Im sure youd get an answer quick enough.
The german you posted seems impossible to read
aaah i found it. oh thank god... and you all. even a little problem can take a long time if you dont know where to look for the solution... :)