| 06-06-2004, 10:52 PM | #1 |
ok first trig does nothing at all...its supposed to be the winning condition for pig contest mode...Seconf trig makes unit model dissapear...supposed to make it get bigger.... Code:
End Pig Contest
Events
Time - Timer expires
Conditions
Actions
Countdown Timer - Destroy (Last created timer window)
Game - Display to (All players) the text: TIME IS UP!!! The j...
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Unit-type of (Picked unit)) Equal to Farmer) or ((Unit-type of (Picked unit)) Equal to Pig)
Then - Actions
Unit - Move (Picked unit) instantly to (Center of StartEnd <gen>)
Else - Actions
-------- Player One Wins --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PigSizeOne Greater than PigSizeTwo
PigSizeOne Greater than PigSizeThree
PigSizeOne Greater than PigSizeFour
PigSizeOne Greater than PigSizeFive
Then - Actions
Game - Display to (All players) the text: ((Name of Player 1 (Red)) + wins!)
Wait 10.00 seconds
Game - Victory Player 1 (Red) (Skip dialogs, Show scores)
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Else - Actions
-------- Player Two Wins --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PigSizeTwo Greater than PigSizeOne
PigSizeTwo Greater than PigSizeThree
PigSizeTwo Greater than PigSizeFour
PigSizeTwo Greater than PigSizeFive
Then - Actions
Game - Display to (All players) the text: ((Name of Player 2 (Blue)) + wins!)
Wait 10.00 seconds
Game - Victory Player 2 (Blue) (Skip dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Else - Actions
-------- Player Three Wins --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PigSizeThree Greater than PigSizeOne
PigSizeThree Greater than PigSizeTwo
PigSizeThree Greater than PigSizeFour
PigSizeThree Greater than PigSizeFive
Then - Actions
Game - Display to (All players) the text: ((Name of Player 3 (Teal)) + wins!)
Wait 10.00 seconds
Game - Victory Player 3 (Teal) (Skip dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Else - Actions
-------- Player Four Wins --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PigSizeFour Greater than PigSizeOne
PigSizeFour Greater than PigSizeTwo
PigSizeFour Greater than PigSizeThree
PigSizeFour Greater than PigSizeFive
Then - Actions
Game - Display to (All players) the text: ((Name of Player 4 (Purple)) + wins!)
Wait 10.00 seconds
Game - Victory Player 4 (Purple) (Skip dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Else - Actions
-------- Player Five Wins --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PigSizeFive Greater than PigSizeOne
PigSizeFive Greater than PigSizeTwo
PigSizeFive Greater than PigSizeThree
PigSizeFive Greater than PigSizeFour
Then - Actions
Game - Display to (All players) the text: ((Name of Player 5 (Yellow)) + wins!)
Wait 10.00 seconds
Game - Victory Player 5 (Yellow) (Skip dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Else - ActionsCode:
P1 Feed Pig Water
Events
Unit - A unit Acquires an item
Conditions
((Unit-type of (Triggering unit)) Equal to Pig) and ((Item-type of (Item being manipulated)) Equal to Water)
Actions
Animation - Change PigOne's size to (3.00%, 3.00%, 3.00%) of its original size
Item - Remove (Item being manipulated)
Set PigSizeOne = (PigSizeOne + 1)help plzzz :( |
| 06-06-2004, 11:07 PM | #2 |
Your changing it to 3% of it's original size... For example 3% of 100 is 3, so your basically reducing the model's size so much it isn't visible. Try using 103%. |
| 06-06-2004, 11:09 PM | #3 |
DOI! ok, thx shimm, what about the winning conditions? |
