Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] Subtract 1 mineral... not 2
Report, edit, etc...Posted by Joshgt2 on 2005-12-16 at 08:51:20
It one of my triggers I tell it to only subtract 1 mineral but it always subtracts 2. I tried it with Hypers on and off and it always subtracts 2 when the trigger runs. Any suggestions?
Report, edit, etc...Posted by MrCroww on 2005-12-16 at 08:56:26
Could be possible that you said give to "Force1, or current player" . Make shure you let the target subract 1 mineral by setting Player X.
Report, edit, etc...Posted by The_Shattered_moose on 2005-12-16 at 09:48:08
Check if your trigger has conditions that would cause it to run twice, that seems the most likely cause.
Report, edit, etc...Posted by KABOOM on 2005-12-16 at 10:57:06
post the trigger
Report, edit, etc...Posted by Kumano on 2005-12-16 at 12:40:10
Set it for only 1 player (not in action or anything, I mean the players the trigger is set for), or the trigger will set off for multiple people so it would happen more then once.
Report, edit, etc...Posted by Urmom(U) on 2005-12-16 at 13:12:05
Try adding in a Display Text because it may be possible that the trigger itself is running twice. But yes, you need to post the trigger.
Report, edit, etc...Posted by Joshgt2 on 2005-12-16 at 15:31:32
[center]Here is my trigger...
Trigger
Players:
¤ Player 1
Conditions:
¤ Current player brings at least 3 marines to start
¤ "start" is set
Actions:
¤ Modify reasources subtract 1 gas
¤ Center location labled "end" on bunker owned by Current Player at anywhere
¤ Remove one bunker for player 7 at lives
¤ Move all bunker owned by current player at end to lives
¤ move all zergling for current player from "none" to "end"
¤ Comment: Near end
¤ Preserve Trigger
I wonder if I should add something to the conditions like this:
Trigger
Conditions:
¤ Current player brings at least 3 marines to start
¤ "start" is set
¤ Current player brings exactly "0" "zergling" to "none"
I am going to try adding this condition as well.
[/center]
Report, edit, etc...Posted by Urmom(U) on 2005-12-16 at 15:33:21
It could be the trigger firing more than once. What is clearing the switch?
Report, edit, etc...Posted by Joshgt2 on 2005-12-16 at 15:36:42
A location trigger. It doesn't deal with the reasource amount
Report, edit, etc...Posted by Mp)MinigameEast on 2005-12-16 at 15:43:43
well heres my theory
put this at the bottom *Modify reasources subtract 1 gas
then put this after *Wait 1000
Report, edit, etc...Posted by Joshgt2 on 2005-12-16 at 15:46:29
will try that. *goes to test*

EDIT:

I think I have found the problem... When the bunker is moved it takes another gas away from the player making the number of gas taken away go down by 2. I am now going to try another option to see if I can fix this. I could stil use some suggestions...
Report, edit, etc...Posted by Urmom(U) on 2005-12-16 at 18:58:50
Did you try adding the Display Text trigger to make sure that it's not running more than once? Other than that, you are probably right that something else is subtracting another gas away.
Report, edit, etc...Posted by Joshgt2 on 2005-12-16 at 19:14:44
Tried adding the text thing and it didn't help. It just seems that once the bunker is moved then removed from the other place then the gas goes down by 2... I figured out a nice way to solve it though... You just delete the system. I didn't need it that much anyway so it is not such a big deal... wallbash.gif
Next Page (1)