Actually, i´d been using the X-tra editor but now I´m trying that SCMdraft and I located that option... this editor seems more interesting,
Here you have :
* "PLAYER 1" ( this is me)
* "LOS RETADORES" (Force 1) ----> including PLAYER 1
* "Deidad Maxima" (Force 4 only player 6 controlled by computer)
well there you go :
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Any unit", "Centro templo", At least, 1);
Actions:
Set Switch("Switch11", set);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Any unit", "nadie1", At least, 1);
Actions:
Set Switch("Switch11", clear);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Any unit", "Centro templo", Exactly, 0);
Actions:
Set Switch("Switch11", clear);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Any unit", "nadie1", Exactly, 0);
Actions:
Set Switch("Switch11", set);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("\x003Los Retadores"){
Conditions:
Bring("Current Player", "Any unit", "Centro templo", At least, 1);
Bring("Current Player", "Any unit", "nadie1", At least, 1);
Actions:
Kill Unit At Location("Current Player", "Any unit", All, "Centro templo");
Kill Unit At Location("Current Player", "Any unit", All, "nadie1");
Kill Unit At Location("Current Player", "Any unit", All, "nadie2");
Kill Unit At Location("Current Player", "Any unit", All, "nadie3");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("\x001Deidad Máxima"){
Conditions:
Switch("Switch11", not set);
Actions:
Set Alliance Status("Player 1", Enemy);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("\x001Deidad Máxima"){
Conditions:
Switch("Switch11", set);
Actions:
Set Alliance Status("Player 1", Ally);
Preserve Trigger();
}
//-----------------------------------------------------------------//
These are the triggers I used, and I also put these ones because i wanted to know if the triggers were activating :
Trigger("\x003Los Retadores"){
Conditions:
Switch("Switch11", set);
Actions:
Display Text Message(Always Display, "Switch activado");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("\x003Los Retadores"){
Conditions:
Switch("Switch11", not set);
Actions:
Display Text Message(Always Display, "Switch desactivado");
Preserve Trigger();
}
//-----------------------------------------------------------------//
At the very begining of the game it says "switch activado" since switch 11 is set, and the computer called "Deidad maxima" doesnt attack me.
when i take a unit to "centro templo" it doesnt change, it keeps saying "switch activado"
when i take a unit to "nadie1" it DOES change, it reads : "switch desactivado" which means switch 11 is cleared.
BUT the computer called "Deidad maxima" never attacks me and i am in front of his soldiers...
Please need help ... if you need more info i can get it, again , i am just starting to play with these ums maps and i have many things to learn.
None.