|  |
|  |
04-13-2004, 02:38 AM
|
#1 (permalink)
|
Join Date: Jun 2003 Location: Your pants Age: 19 Posts: 2,836
| Maybe someone Hold the answer... Only got Two questions here.
1) How o you make a majority vote?
2) How do you make it so: Grey has a castle, red kills it. it becomes red's. Yeloow kills red's castle (the one that was taken over from gray). I know how to make it so when only one time the castle ownership gets transferred.
# = a castle
Gray castle---># <---- Red kills it # <---Yellow kills it # There's a diagram to help explain it >.< |
| | | | Sponsored Links |
04-13-2004, 03:49 AM
|
#2 (permalink)
| Aya Matsuura is awesome
Join Date: Nov 2002 Location: Trieste, Friuli-Venezia Giulia Age: 20 Posts: 15,282
| Why would anyone want to own a destroyed castle? For one thing, a dead building won't be allowed to be assigned. .gif)
__________________ * IM IN UR WIKI RVRTING UR EDITS |
| |
04-13-2004, 04:04 AM
|
#3 (permalink)
|
Join Date: Jun 2003 Location: Your pants Age: 19 Posts: 2,836
| oops, sry, forgot to add this part:
When the castle dies it pops up again but under the killing players control. but when red kills greys castle, i want it so yellow can kill the castle red just took over and have it for his castle.... |
| |
04-13-2004, 04:35 AM
|
#4 (permalink)
| Aya Matsuura is awesome
Join Date: Nov 2002 Location: Trieste, Friuli-Venezia Giulia Age: 20 Posts: 15,282
| Can you create buildings instantly? If so, Create building for [triggering player].
I don't know, I need someone else to answer.....
__________________ * IM IN UR WIKI RVRTING UR EDITS |
| |
04-14-2004, 11:01 PM
|
#5 (permalink)
|
Join Date: Jun 2003 Location: Your pants Age: 19 Posts: 2,836
| yes u can create buildings instantly. its:
Event- Castle008 dies
Action- Create a castle for player (red) at (region)
But i want it so when blue kills a castle it goes to red, when purple kills reds castle that blue jus took over it goes to yellwos control.
ONCE THE CASTLE GETS TAKEN UNDER CONTROL, I WANT ALL PLAYERS THAT WERE ALLIED WITH THE CASTLE TO BECOME ALLIED WITH THE NEW CASTLE OWNER. very complicated map, but it will be very fun if i can figure these two triggs out. |
| |
04-14-2004, 11:22 PM
|
#6 (permalink)
| BattleForums Junior Member
Join Date: Apr 2004 Location: In a Box, on the side of the street Posts: 124
| WOW that is an easy one, you do a
If a unit dies
Condition dieing unit = to castle
Then create a castle for killing player at locationx
you could put a new condition in do it says if the unit that dies is in areaB then make the castle in areaB and then a new trigger for the one in areaA to make it in areaA
__________________ Current WC3 projects (Updated March 08, 05):
---Resident Evil (i have a team working on it)
---Halo 2 Zombies (I have a team working on it)
Progress of RE:
Terrain ----- ||||||||||
Unit's -------- |||||||||||
Spell's/Ablities- |||||||||||
Trigger's ------|||||||||||
Item's----------|||||||||||
Progress of Halo 2:
Terrain ----- ||||||||||
Unit's -------- |||||||||||
Spell's/Ablities- |||||||||||
Trigger's ------|||||||||||
Item's----------|||||||||||
Red = went down
Blue = went up
Green = same |
| |
04-15-2004, 01:28 AM
|
#7 (permalink)
| BattleForums Junior Member
Join Date: Aug 2003 Location: Usually buried at work Posts: 130
| Yup
Event
Generic Unit Event (Unit Dies)
Condition
Boolean Comparrison (Triggering unit is a castle) equal to True
Action
Unit Create 1 Castle at location of triggering unit for owner of killing unit |
| |
04-15-2004, 01:35 AM
|
#8 (permalink)
| BattleForums Junior Member
Join Date: Aug 2003 Location: Usually buried at work Posts: 130
| Majority vote is done with dialog buttons.
Variables required for each button are Integer and dialog button name
Event
Dialog button clicked
Condition
Dialog button equal Easy(or what ever)
Action
Set Easy = (Easy)+1
Get it?
Then after a set time you run a find max If then Esle.. like
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Easy Greater than or Equal to (Max(Easy, Medium, Hard)
Then - Actions
Set difficulty level actions (blah blah)
Else - Actions
Do nothing
If - Conditions
Medium Greater than or Equal to (Max(Easy, Medium, Hard)
Then - Actions
Set difficulty level actions (blah blah)
Else - Actions
Do nothing
If - Conditions
Hard Greater than or Equal to (Max(Easy, Medium, Hard)
Then - Actions
Set difficulty level actions (blah blah)
Else - Actions
Do nothing
That is just how you would do a vote for difficulty, but you can apply similiar triggers to any vote, including Player types a chat message....
Questions? |
| |
04-15-2004, 03:09 AM
|
#9 (permalink)
|
Join Date: Jun 2003 Location: Your pants Age: 19 Posts: 2,836
| thanks someone & garth, ima try it now.... |
| | | |  | | Get rid of all these ads! Take 30 seconds to register. |