| 01-11-2004, 02:05 AM | #1 |
I need a trigger that is like this Event - when unit(a unit in a certain region) gets killed by any player, the corresponding player gets the selector unit destoryed (wisp) and gets whatever race he choosed base units (Undead, Human, Orc, Night Elves, Burning Legion and Naga) for instance 5 peons and a great hall or 2 ghouls, 3 acoyltes and a necropolis but i want to do this without doing like a million and a half strings of triggers for each combination of race(6) and players (6). So it's going to need variables, thanks in advance i also need to know what the trigger was in angel arena to gamble. I really liked that function. i will give credit to lil_devil_child, but i don't know how to contact him. |
| 01-11-2004, 04:08 AM | #2 |
i'm not quite sure what you are trying to ask. Tell me if this is wrong. When you kill a unit in a region you then get a wisp that allows you to select a race? Does the wisp build the main building? I could help but I need to be able to understand it more. |
| 01-11-2004, 04:31 AM | #3 |
OK sorry i obvouslly didn't explain this right. When you start the game off it is centered around an area where there are 6 custom runes each with information about each race, in front of each is a barrel, the wisps do enough damage in one hit to kill the barrels, (but i made them invulerable so they couldn't kill eachother) each player gets one of these wisps to go and break a barrel to pick their race. I want it so when a player breaks a barrel , the following things happen 1. It says "Player **insert name here** has chosen **insert race here** 2. Your screen moves and unlocks from where it was to show a basic Wc3 battle , the main 5 peon, peasent , wisps etc. to collect gold,lumber or build structures. 3.a trigger makes it so no one can get the same race the triggering player got 4. Kill the wisp(selector that chose what race to get) thanks , i hope that clears it up |
| 01-11-2004, 11:28 PM | #4 |
this isn't too tricky. To make it so that your camera goes to the area is to put like a region there or something then use the camera - pan camera as necessary, and tell it to pan camera to your region. Now to make the buildings just do Unit - Creat unit facing angle, create the buildings and leave the angle at default building degrees. For the string just use Game - text message auto-timed and some string concatonation. Mess around with the strings and you will get eventually. To kill the wisp, just do unit - remove wisp from game. TO make it so you can't choose same race twice, just make a boolean variable for each race. When a player chooses a race set the boolean to true and put a condition in the pick race trigger that won't allow the trigger to continue if the boolen is set to true. If none of this made sense go look at the many great triggering tutorials. |
| 01-12-2004, 03:29 AM | #5 | |
Quote:
Um.. alot of that helped a little but my main question was What would the condition/events be for that? |
| 01-12-2004, 10:50 PM | #6 |
anyone know the condition event for this? |
| 01-13-2004, 01:23 AM | #7 |
so does anyone know how the event would go? |
| 01-13-2004, 02:20 AM | #8 |
stop bumping your thread. go read a tutorial |
| 01-13-2004, 02:23 AM | #9 |
If I understand it correctly, the event would be: Unit - A unit dies and the condition would be: Boodlean Comparaison: (Dying Unit) is in Region 000 <gen> equal to True There you go. |
| 01-13-2004, 02:36 AM | #10 | |
Quote:
ahh thank you a very kind person unlike some other people coughNARWANZAcough, but is there , for the event/condition to go off when a certain player did that? thanks |
