Maybe someone Hold the answer...

Speaker

Premium Member
Joined
Jun 20, 2003
Messages
2,808
Reaction score
2
Location
Computer
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 >.<
 

Speaker

Premium Member
Joined
Jun 20, 2003
Messages
2,808
Reaction score
2
Location
Computer
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....
 

x42bn6

Retired Staff
Joined
Nov 11, 2002
Messages
15,150
Reaction score
2
Location
London, United Kingdom
Can you create buildings instantly? If so, Create building for [triggering player].

I don't know, I need someone else to answer.....
 

Speaker

Premium Member
Joined
Jun 20, 2003
Messages
2,808
Reaction score
2
Location
Computer
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.
 

JesusFreak

Member!
Joined
Apr 12, 2004
Messages
124
Reaction score
0
Location
In a Box, on the side of the street
Website
Visit site
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
 

Garthrs

Member!
Joined
Aug 3, 2003
Messages
130
Reaction score
0
Location
Usually buried at work
Website
Visit site
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
 

Garthrs

Member!
Joined
Aug 3, 2003
Messages
130
Reaction score
0
Location
Usually buried at work
Website
Visit site
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?
 

New threads

Top