| 11-02-2003, 05:02 PM | #1 |
Hey I need someone who knows how to do triggers. I will need somone to do this for me I will give 200 points to anyone who can do some triggers. Its for a small map but they are hard triggers contact me if you want to help. |
| 11-02-2003, 05:22 PM | #2 |
What kind of triggers? I'll help you out but I'm kind of busy atm, can't start a whole batch of new triggers... (EDIT) just read IDISacredIDI's post - yeah don't worry about "paying," some people here actually like to help one another out.... |
| 11-02-2003, 05:28 PM | #3 |
Yeah what kind of triggers do you mean, i can do some things. Theirs no need to pay, just ask for help and people will post with the answers. IDISacredIDI |
| 11-02-2003, 06:10 PM | #4 |
Ok heres the basic idea I Need for some triggers and info of the map: The Undead have began to turn the townsfolk of this small town into the undead. Find a way to kill this Undead leader to save the town.. Villagers: -Find gold and other useful items to sell inorder to affort weapons. -Try not to wander alone... -If Undead kills you, your part of the Undead yourself... Undead: -Kill Villagers to get your army stronger. -Kill all the villagers to win -Do not attack the Resistance camp...get stronger first. Ok now for the triggers: I need someone to make something so like theres 8 villagers. They need to collect items all over the map to sell at merchants in the resistance camp. Then also for the Undead I need a trigger so that if they kill a villager the corpse becomes a zombie and under player 12s control. Then if you get killed you become a Ghoul hero and are allied with player 12. Then if all 8 player units are dead undead wins. In order for that to work I will need someone to make a trigger so that what level they are once they collect enouf cash they can go to the merchant and buy weapons. Then if they buy that weapon he become a hero with that weapon. Its still blurry but bare with me not good at describing triggers. |
| 11-02-2003, 07:39 PM | #5 |
OK... lemme see if I've got this right: Each villager is being controlled by a different player, right? And player 12 is the undead at the start? To make the undead player "turn" the villagers, you'll need two Player Groups: UndeadGroup and LivingGroup, and a boolean: Switch. Then make a trigger like this: Code:
Event - A unit dies
Condition - Player Comparison - Owner of (killing unit) equal to Player 12
C - Boolean Comparison - (Owner of (dying unit) is a member of LivingGroup) is equal to True
Action - Player Group - Remove (Owner of (dying unit)) from LivingGroup
A - Player Group - Add (Owner of (dying unit) to UndeadGroup
A - Player Group - Make UndeadGroup treat UndeadGroup as an Ally
A - Player Group - Make LivingGroup treat LivingGroup as an Ally
A - Player Group - Make LivingGroup treat UndeadGroup as an Enemy
A - Player Group - Make UndeadGroup treat LivingGroup as an Enemy
A - Unit - Create 1 GhoulHero for (owner of (dying unit)) at position of dying unit facing (facing of dying unit) degrees
A - Set Switch = True
A - For A = 1 to 8 do Actions
For Actions
A - If Player(Integer A) is in LivingGroup then set Switch = false else do nothing
A - If Switch = True is equal to True then [THIS MEANS THE UNDEAD HAVE WON]About the collecting items... when they try to buy items, do you just want to check if they have enough gold, or also if they have a high enough level? |
| 11-02-2003, 08:51 PM | #6 |
just enouf gold. I was curious on this though, how can u make a trigger to kill each specific unit owned by a player (the villager) but when he buys a weapon he becomes a different unit can u make it so that applys on that to. |
| 11-02-2003, 09:04 PM | #7 |
Damn, I tryed makeing that trigger and I can't, I just plain suck at triggers. |
| 11-02-2003, 09:36 PM | #8 |
Well... Warcraft makes sure you can't buy an item if you don't have enough gold. As for the turning the villager into a different hero, it's simple - it's E - a unit sells an item C - item-type of item being manipulated equal to (whatever) C - unit-type of buying unit equal to (villager) A - replace buying unit with (new hero) Oh, what part of the trigger is giving you trouble? |
| 11-02-2003, 11:39 PM | #9 |
See if this does it for you... |
| 11-03-2003, 01:50 AM | #10 |
Yes thats exactly what I want Thank you so much. Just one thing....if your a hero do you get turned into a undead too? |
| 11-03-2003, 02:11 AM | #11 |
Nevermind I have figured out how to do it. Thanks alot besure to look for your name in the Credits :D |
