Staredit Network

Staredit Network -> UMS Assistance -> This is probably...
Report, edit, etc...Posted by PeaceMetroid on 2004-11-14 at 20:29:09
Okay this is probably newbish, and I'm sorry, but I really am normally good with map making, just not when it comes to this type of trigger im doing. Okay, I intended this trigger for when my unit reaches an enemy, it makes me lose my unit, and send all my other units to a battle field, with the enemy as the enemy I ran into with the unit I lost. Now the problem is as follows. I go up to the unit, I lose my unit, but from there, nothing happens. Here's the trigger.


Trigger
Description:
Moo
Players:
¤ Force 2
Conditions:
¤ Curent Player brings exactly 1 Zergling to Party 1
¤ Player 1 controls 1 A Party
Actions:
¤ Set Red Battle Started
¤ Create 5 Zerglings at location owned by current player
¤ Give A Party owned by Player 1 to Player 6
¤ Move all any unit owned by Player 1 at location anywhere to location Red Battle
¤ Preserve Trigger



ADDITION: Just a thing. Would it be because after the losing of the unit, one of the conditions is no longer true? I didnt think it would stop the trigger mid point if one of the conditions became untrue during the actions...
Report, edit, etc...Posted by LegacyWeapon on 2004-11-14 at 21:06:22
QUOTE(PeaceMetroid @ Nov 14 2004, 08:29 PM)
Okay this is probably newbish, and I'm sorry, but I really am normally good with map making, just not when it comes to this type of trigger im doing.  Okay, I intended this trigger for when my unit reaches an enemy, it makes me lose my unit, and send all my other units to a battle field, with the enemy as the enemy I ran into with the unit I lost.  Now the problem is as follows.  I go up to the unit, I lose my unit, but from there, nothing happens.  Here's the trigger.








Trigger
Description:
Moo
Players:
¤ Force 2
Conditions:
¤ Curent Player brings exactly 1 Zergling to Party 1
¤ Player 1 controls 1 A Party
Actions:
¤ Set Red Battle Started
¤ Create 5 Zerglings at location owned by current player
¤ Give A Party owned by Player 1 to Player 6
¤ Move all any unit owned by Player 1 at location anywhere to location Red Battle
¤ Preserve Trigger

ADDITION: Just a thing.  Would it be because after the losing of the unit, one of the conditions is no longer true?  I didnt think it would stop the trigger mid point if one of the conditions became untrue during the actions...
[right][snapback]98815[/snapback][/right]

The trigger will not stop if the condition becomes untrue during the actions.
If the trigger is initiated, the action will run until it finishes all the steps.

Perhaps give me more details on the rest of your map, terrain, locations, other triggers?
Report, edit, etc...Posted by Drakiel on 2004-11-14 at 21:21:57
Yea, I was just thinking that, I can't really tell what the heck to do.

Also, the "current player" "player 1" and "player 6" are confusing me.
What is what for?
Report, edit, etc...Posted by PeaceMetroid on 2004-11-14 at 21:34:56
The map isnt anything yet, just a spot with the monster and the initializer, and then the battle field. There shouldnt be any triggers in the way, because thats about the only one I have for the map. except the ending one that is...

Trigger
Players:
¤ Force 2
Conditions:
¤ Player 7 brings exactly 0 units to End Red Battle
¤ Red Battle Started is Set
Actions:
¤ Clear Red Battle Started
¤ Give 1 A Party owned by Player 6 to Player 1
¤ Preserve Trigger


I have an Idea that might work though...I might make it so that all the units for battle that are owned to a player are started in the battlefield, that way I only have to make the enemy units...but instead of changing it, Im hoping I can just get this way to work...any help?

ADDITION:
QUOTE(Drakiel @ Nov 14 2004, 10:21 PM)
Yea, I was just thinking that, I can't really tell what the heck to do.

Also, the "current player" "player 1" and "player 6" are confusing me.
What is what for?
[right][snapback]98921[/snapback][/right]


Current player is player 7/8. 7/8 are the enemies and I put the triggers in their fields. Player 6 is the Neutral Player. He gains control of your unit while you fight, so that you dont run into multiple battles at once. Player 1 - 5 (only 1 used in this example) is the players that can play.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-11-15 at 16:02:54
So do you lose the zergling because you dont control it anymore or do you lose the zergling because it dissapears.

EDIT: Try this. Change your give trigger to player 6.

Because player 1 doesnt control the zergling anymore.

Conditions:
¤ Curent Player brings exactly 1 Zergling to Party 1
¤ Player 1 controls 1 A Party
Actions:
¤ Set Red Battle Started
¤ Create 5 Zerglings at location owned by current player
¤ Give A Party owned by Player 1 to Player 6
¤ Move all any unit owned by Player 6 at location anywhere to location Red Battle
¤ Preserve Trigger
Report, edit, etc...Posted by Zero on 2004-11-15 at 17:53:21
If im thinking right couldent you just:


Move the location with the unit that you have to get near to,to lose your unit...And when you bring a unit to the location it removes/order/kills it?
Report, edit, etc...Posted by PeaceMetroid on 2004-11-15 at 21:26:14
QUOTE(Gradius @ Nov 15 2004, 05:02 PM)
So do you lose the zergling because you dont control it anymore or do you lose the zergling because it dissapears.

EDIT: Try this.  Change your give trigger to player 6.

Because player 1 doesnt control the zergling anymore.

Conditions:
¤ Curent Player brings exactly 1 Zergling to Party 1
¤ Player 1 controls 1 A Party
Actions:
¤ Set Red Battle Started
¤ Create 5 Zerglings at location owned by current player
¤ Give A Party owned by Player 1 to Player 6
¤ Move all any unit owned by Player 6 at location anywhere to location Red Battle
¤ Preserve Trigger
[right][snapback]99146[/snapback][/right]


You dont lose a Zergling, you bring your DT (AKA A party) to the Zergling, you lose the DT, and then nothing else happens. All Any Unit that is moved is all your units that are supposed to be used for the battle, you only lose your DT so you cannot get in consequative battles. Hence the Player 1 controls exactly 1 A Party. Basically moving all Player 6's units would move your orignal combat initializer to the Battle Room, which would result in nothing happening, because it is invincible. Okay, heres a more exact thing of what I want to happen in this Trigger.

If Player 1 (Or You, lets say) brings your Party Unit to Any Enemy (In this case Zergling, for precise reasons, so I know its targeting the correct unit) The location, Party 1 is exactly always centered on your Party Unit, so wherever u go, it goes, so once something enters the location, you trigger battle. Current Player is Player 7, and the Trigger is owned to it. When you finally reach an enemy (or Zergling) it is to set a Switch, named Red Battle Started. Then it creates 5 Zerglings at the Battle Field for your real party to fight, NOT the Party Unit. Then it gives your Party Unit to Player 6, so that you cannot get multiple battles. Then it brings ALL your Units (AKA the Actual Party) TO the Battle Zone, for your party to fight the Zerglings created previously. What actually happens, is it gives my Party Unit to Player 6, but never actually moves my real Party to the Battle Zone. I dont know if it even makes the Zerglings either.


ADDITION:
QUOTE(InSaNeMaPpEr @ Nov 15 2004, 06:53 PM)
If im thinking right couldent you just:
Move the location with the unit that you have to get near to,to lose your unit...And when you bring a unit to the location it removes/order/kills it?
[right][snapback]99214[/snapback][/right]


I have no clue what you meant by that >_<
Report, edit, etc...Posted by Zero on 2004-11-16 at 07:18:10
QUOTE(PeaceMetroid @ Nov 15 2004, 09:26 PM)
You dont lose a Zergling, you bring your DT (AKA A party) to the Zergling, you lose the DT, and then nothing else happens.  All Any Unit that is moved is all your units that are supposed to be used for the battle, you only lose your DT so you cannot get in consequative battles.  Hence the Player 1 controls exactly 1 A Party.  Basically moving all Player 6's units would move your orignal combat initializer to the Battle Room, which would result in nothing happening, because it is invincible.  Okay, heres a more exact thing of what I want to happen in this Trigger.

If Player 1 (Or You, lets say) brings your Party Unit to Any Enemy (In this case Zergling, for precise reasons, so I know its targeting the correct unit)  The location, Party 1 is exactly always centered on your Party Unit, so wherever u go, it goes, so once something enters the location, you trigger battle.  Current Player is Player 7, and the Trigger is owned to it.  When you finally reach an enemy (or Zergling) it is to set a Switch, named Red Battle Started.  Then it creates 5 Zerglings at the Battle Field for your real party to fight, NOT the Party Unit.  Then it gives your Party Unit to Player 6, so that you cannot get multiple battles.  Then it brings ALL your Units (AKA the Actual Party) TO the Battle Zone, for your party to fight the Zerglings created previously.  What actually happens, is it gives my Party Unit to Player 6, but never actually moves my real Party to the Battle Zone.  I dont know if it even makes the Zerglings either.
ADDITION:

I have no clue what you meant by that >_<
[right][snapback]99428[/snapback][/right]


You said that when you bring a unit to a 'unit' it remove/kills it and sends it somewhere else.
Report, edit, etc...Posted by PeaceMetroid on 2004-11-16 at 14:49:19
When you bring your party unit to an enemy unit (because the location is following ur unit, this happens) it removes its ownership from you to the neutral player.
Report, edit, etc...Posted by PeaceMetroid on 2004-11-16 at 19:21:18
Figured it out. I had the location on the wrong part of the map, so it wouldnt let me move them there. You know how the bottom of the map is unuseable because the Menu goes there, well thats my problem. I had the location too close to that, so it wouldnt move them, but it didnt give me any error either. Finally, after I tried to actually MAKE the units on the locations, I got the "Cannot Place Here" or whatever message in Starcraft when I tried to do the stuff for the triggers. The trigger for battle the whole time WAS working, it just never moved my unit due to it being unplaceable there. Sorry for all this trouble, when it was just some simple error on my part.
Report, edit, etc...Posted by BeeR_KeG on 2004-11-16 at 19:22:18
Peace how the hell did you double post?
Report, edit, etc...Posted by Zero on 2004-11-16 at 19:35:22
woah wtf....shouldent it of made ADDITION?

ADDITION: Yep..just checking
Report, edit, etc...Posted by PeaceMetroid on 2004-11-16 at 19:46:23
No clue >_< Maybe because it wasnt like 1 post than another 10 minutes later.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-11-16 at 23:42:32
15 minutes actually, you should use edit smile.gif

Theres also the possablity that a post was deleted but im pretty sure that didn't happen. I think you have to be a regular to double post too but im not sure.
Report, edit, etc...Posted by PeaceMetroid on 2004-11-17 at 07:02:00
I wasnt paying attention, I would have thought someone else had posted in 5 hours.
Next Page (1)