Page 1 of 1

triggers

Posted: Sat Apr 23, 2016 1:10 pm
by tamtam12345
I see in some maps,some units are not allowed to create in towns/stable......
What triggers can I use if I only want chariot can be produced(other units can't)in stable/towns?

Also,can I produce some units that normally can't be produced in barracks/towns....(eg.banner bearer,egyptian swordman)If it can,what triggers I need to use? :?:

Re: triggers

Posted: Sat Apr 23, 2016 6:46 pm
by COOLguy
Trigger 1: have all units put on the buildable list with the trigger
Trigger 2: take them all off
Trigger 3: add in the chariots to the buildable list
tamtam12345 wrote:Also,can I produce some units that normally can't be produced in barracks/towns....(eg.banner bearer,egyptian swordman)If it can,what triggers I need to use?
No, you are not able to do that.

Re: triggers

Posted: Sat Apr 23, 2016 11:28 pm
by Hardeep
If a chariot is the only thing on buildable list, and the player doesn't have chariots unlocked, can he still build them?
Which rules supreme? Unlocks or triggering?

Re: triggers

Posted: Sun Apr 24, 2016 3:06 am
by DoomCarrot
I think the unit must be unlocked.

In other words, the game engine goes: "Can they only build chariots here? Yes? Ok, are chariots unlocked? No? Ok, nvm."

Sorry, I thought that was going to be a good way to describe the boolean process, but that was stupid :lol:

Re: triggers

Posted: Sun Apr 24, 2016 8:18 pm
by COOLguy
lol the game engine slang :)