| 05-30-2004, 08:01 PM | #1 |
I started my Micro Wars, the Spawn Trigger doesn't work, look my last post for the trigger/map! |
| 05-30-2004, 11:10 PM | #2 |
Post the triggers here. Under the Trigger Functions part of the trigger editor, right click on the trigger's name and and select Copy as Text. Then paste it in a post here in between [c0de][/c0de]. (Replace the 0 with an o). |
| 05-30-2004, 11:30 PM | #3 |
Yeah, what Shimrra sad. And btw i can't even d/l your map :\ |
| 05-31-2004, 09:57 AM | #4 |
Don't you understand? You wouldn't understand the triggers alone because my Rectanmes and Variablenames are... I think you wouldn't understand anything but if you want, I'll post here in some minutes and I'm no noob so I should know how to do that: Code:
Begin Fight
Events
Time - RoundTimer expires
Conditions
Actions
Set Round = (Round + 1)
Player Group - Pick every player in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))) and do (Actions)
Loop - Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Wins[(Integer A)] Less than or equal to Wins[(Player number of (Picked player))]
((Player((Integer A))) slot status) Equal to Is playing
((Player((Integer A))) controller) Equal to User
Then - Actions
Set PlayerPosition = (PlayerPosition + 1)
Else - Actions
Set RandomGroup = (Random integer number between 1 and DifferentArmies)
Unit Group - Pick every unit in (Units in UnitsToChooseRect[RandomGroup]) and do (Actions)
Loop - Actions
Unit - Create 1 (Unit-type of (Picked unit)) for (Picked player) at (Center of FightPosition[PlayerPosition]) facing Default building facing (270.0) degrees
Set PlayerPosition = 0Additionally I need help, I need a Trigger which sorts 10 variables from the highest to the lowest variable and if two or more variables of them have the same value it should give them a random place between the spots where they could be sorted in. But no spot can be used double!!! Edit Number ?: Newer version! |
| 05-31-2004, 11:15 AM | #5 |
Ok as i see it, you just want units to spawn for each player, and if the player isnt playing dont spawn units. right? Well if so, you can just make some triggers for each player that spawn units every, say, 5 second and anothere trigger if the player isnt playing turn of he's spawning triger |
| 05-31-2004, 11:18 AM | #6 |
Man are you stupid? ITS A MICRO ARENA **** LOOK IN THE MAP IF YOU DONT KNOW WHAT IT IS!!!!!!!!!!!!!!!!!!! YOUR ANSWERS WORTH IS THE SAME AS THE WORTH OF A PIECE OF ****!!!! ^^had to say that because I really hate it when people post "answers" without reading the question just for their post count!!! Edited by Shimrra. Reason: Please refrain from using such language and from blantntly insulting someone who is trying to help you. |
| 05-31-2004, 11:23 AM | #7 |
Sorry then ^_^ I'll post the ansewr later, cuz for now i gata go. |
| 05-31-2004, 12:47 PM | #8 |
I found the problem myself, I forgot adding Run Initialize Rects in the Map Initialization so the rects variables were no rects... Close plz! |
| 05-31-2004, 01:50 PM | #9 |
I'll close it for you, but you really don't need to close a thread if just because your question is answered... |
