Staredit Network

Staredit Network -> UMS Assistance -> Victory/Defeat Triggers
Report, edit, etc...Posted by Mr.Kirbycode774 on 2006-04-24 at 01:06:02
Whenever I get bored and decide to make a miniature map, I usually have this problem. Despite triggering victory and defeat, when you win the game says it's a draw!!!
Shouldn't there be a tutorial on how to properly trigger Victory and Defeat?

Anyways, anyone have some tips/guidance on how to properly trigger these events? confused.gif
Report, edit, etc...Posted by Kupo on 2006-04-24 at 01:06:55
Show us triggers for win and loss.
Report, edit, etc...Posted by Mr.Kirbycode774 on 2006-04-24 at 01:08:36
I'm asking more for general guidelines.. not specific errors. (The only way you'd know there's something wrong with my trigs would be if you have general guidelines to go by in the first place!)

So, do you have any? confused.gif
Report, edit, etc...Posted by Zeratul_101 on 2006-04-24 at 01:26:39
QUOTE(Mr.Kirbycode774 @ Apr 23 2006, 11:05 PM)
Whenever I get bored and decide to make a miniature map, I usually have this problem.  Despite triggering victory and defeat, when you win the game says it's a draw!!!
Shouldn't there be a tutorial on how to properly trigger Victory and Defeat?

Anyways, anyone have some tips/guidance on how to properly trigger these events?  confused.gif
[right][snapback]471678[/snapback][/right]


um, the way you trigger every other trigger.

1. think up when you want to win/lose
2. find condition that detects the result of #1
3. add victory/defeat action
4. play your map...


honestly, what are you asking? theres no discussion about this. when the player achieves certain conditions, end scenario in victory/defeat.

and delete the three auto-generated triggers every new map contains.
Report, edit, etc...Posted by RexyRex on 2006-04-24 at 01:31:04
The map won't end in a draw unless you tell it to. closedeyes.gif
Report, edit, etc...Posted by Kyuubi. on 2006-04-24 at 02:45:23
umm...like in melee maps if the gameplay is 2 minutes or less its only a draw...i think the same thing applies to UMS type maps also. when a game ends to quick it brings up a draw end scenario.

ya i'm also having some wierd things going on with the end scenario triggers on my map...somehow it just won't fire, and the conditions are met.
say, you have 6 players, and in the beginning of the map a player has the option to select modes for teams or ffa. the victory conditions work on the ffa, they all being individual players and applies to one person. but in a 2v2 mode, it works for player 1+2 somewhat while the rest of the players, it just won't fire. the
trigger is applied the same way to the other players as with players 1+2.

when the 2v2 mode is selected, the players automatically gets allied.1+2 vs 3+4 vs 5+6, i'm beginning to think the conditions won't work for them being in the same force, only the first group.
i can try and figure this out sooner or later.
Report, edit, etc...Posted by (U)Bolt_Head on 2006-04-24 at 06:17:52
When a victory trigger is run all other players are issued a defeat.
... or is it a draw (it says so in the StarEdit Readme thing if you look up the function of the victory trigger).

I think the key is making it when you have a team victory that all your players have allied victory (set it with triggers) and run the victory trigger at the same time for all the players.
Report, edit, etc...Posted by Kyuubi. on 2006-04-24 at 16:24:58
ya i had the players all with allied victory...but i think the problem might be that the players are all in the same force...like 6 players all in one force? but when the 2v2 mode is started the players like 1+2 gets auto-allied with each other, same goes with 3+4, 5+6, so there are 3 separate teams in one force or something like that...

as posted before, the victory trigger is applied the same way, only changing the team player conditions with it as with players 1+2 that does work with it and the free-for-all mode works fine. the victory trigger works for individually for each player it seems, but it just won't fire for some reason even though the conditions are all met for a team. its simple to have them have a victory pop up when there are no more opponents or opponent controlled units in the map.
Report, edit, etc...Posted by sharf on 2006-04-24 at 17:57:33
yes, i know what your asking kirby ive had this problem b4...untill i solved it happy.gif
ok
1. make sure the condition are different I.E. p1 kills 1 guy victory,p1 has suffered 1 death defeat. for p2: p2 has suffered death. THIS is a conflict they will both win, resulting in a draw.
2. make sure the players or groups dont both have the ability to win, like i had a cat n mosue game, and when the cat died it drawed for cat and mouse, problem was cats win was all mice dead, mice win was all cat dead, problem was when the cat died and the mice won they lost there units(they were given to p12) it was a draw.
3. if a player wins AND loses ts a draw, like if when u win u lose all ur guys, but u lose when u lose ur guys this can cause a draw. this is all i got hope i could be of help
Report, edit, etc...Posted by Mp)7-7 on 2006-04-24 at 18:14:08
Condition -
Player does what you want them to do to win

Action -
Create UNIT at location for currnet player
wait 100 milliseconds
End scenario in victory for current player


Set for the other player

Condition -
other player brings 1 of UNIT to anywhere

Action -
End scenarion in defeat for current player


No matter what problem you have this should fix it, if one player wins it normally automatically makes the other player lose, but if you messed up this will fix just about anything you could have done, any more question PM me or ask here!
Report, edit, etc...Posted by fritfrat(U) on 2006-04-25 at 20:46:23
The ONLY time a draw will be issued when there are only victories and defeats in your triggers is during the first two minutes of the game; it is a draw instead of a victory until 2 minutes have elapsed, even though a defeat stays a defeat. Most issues, such as those sly and bolt addressed, arise from trying to assign an entire group of players victory, and creating a tutorial for this would actually be a good idea.
Report, edit, etc...Posted by MapUnprotector on 2006-04-26 at 15:24:00
The message of either Victory or Defeat in my opinion is very trivial in a UMS map and doesn't really matter. If anything you can just spam YOU WIN or YOU LOSE just to get the message across. I never really cared for people who after playing a game complain about how after they "win" it says they Defeat.

I'm just saying this incase a solution isn't found.
Report, edit, etc...Posted by Mr.Kirbycode774 on 2006-04-26 at 21:44:44
Thanks for all your replies! I was unable to get on the computer for the past two days, but i'm looking over your responses now.

To Zeratul101 and 7-7: Yeah I would think as much too at first glance, but it differs in some respects.

To RexyRex: Thanks for indirectly calling me a liar! pinch.gif

To SlyShadow: I hope you're able to fix the victory/defeat loss problem also!

To (U)Bolt_Head: Nice to have a visit from the retired Mapmaker!

To Sharf and fritfrat: Thanks for bringing out some general principles that I asked for! It's good to know that victory in the first two minutes automatically constitutes a draw; that is useful info.

To 777 (above): But there's just something fun about it saying "Congratulations! You are victorious!" I remember months back when a person was talking about either jerks or hackers how they waste their character just to see "You are Victorious.". He put the SC picture of that as an attachment, and I purposely avoided the argument by telling him I am using the Victorious picture as my desktop. I still have the picture to this day as my desktop! smile.gif
-----

Now all we need is someone to make a tutorial! w00t.gif
Next Page (1)