Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Problem Re-using Locations
Problem Re-using Locations
This topic is locked. You can no longer write replies here.
Jan 19 2010, 10:55 pm
By: Newb  

Jan 19 2010, 10:55 pm Newb Post #1



I know I read a guide on how to do this, but my triggers seem to fail.

Player 7
Condition: Player 9 brings at least 1 zerg zergling to 'Cycle around'
Actions: Give all zerg zergling for player 9 at 'Cycle around' to Player 10
Preserve Trigger.

Player 7
Condition: Player 9 brings at least 1 zerg zergling to 'anywhere'
Player 9 brings exactly 0 zerg zergling to 'Cycle around'
Actions: Move location on zerg zergling at 'anywhere'
Preserve Trigger.

Player 7
Condition: Player 9 commands exactly 0 zerg zergling
Actions: Give all zerg zergling owned by player 10 at 'anywhere' to Player 9
Preserve Trigger.

EDIT: Problem solved. If anyone doesn't know about cycles, these triggers are actually the correct ones ( which i just found out ) Thread may be locked now.

Post has been edited 3 time(s), last time on Jan 20 2010, 12:29 am by Newb.



None.

Jan 19 2010, 10:58 pm Biophysicist Post #2



Make them owned by a different player.

EDIT: To clarify, only players available in basic StarEdit (players 1-8, Forces, and All Players) will run any triggers whatsoever.

Post has been edited 1 time(s), last time on Jan 19 2010, 11:05 pm by NudeRaider.



None.

Jan 19 2010, 11:04 pm Newb Post #3



Well, players 1-6 are human players. 7 and 8 are their allies. You would see their burrowed units. If I have to I'll do it since it's not such a big problem, but making the map look nice is... well nice.



None.

Jan 19 2010, 11:06 pm NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

To clarify even more: Triggers owned by P9+ will be ignored.

EDIT:
You can leave the actions affecting P9+ units. Just have the trigger owned by one of P1-8




Jan 19 2010, 11:27 pm Newb Post #5



That didn't work either. :><:



None.

Jan 19 2010, 11:29 pm Biophysicist Post #6



Did you make the TRIGGERS or the UNITS owned by a different player? I meant the triggers, not the units.



None.

Jan 19 2010, 11:31 pm NudeRaider Post #7

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

It should. There must be a bug somewhere.
Find out which trigger is firing when. You can do that using text messages.




Jan 19 2010, 11:32 pm Newb Post #8



Yes, I put the triggers onto player 7, then I tried player 1. Neither of the worked.

EDIT: Does the trigger order matter?



None.

Jan 19 2010, 11:33 pm Biophysicist Post #9



What exactly isn't working?



None.

Jan 19 2010, 11:35 pm Newb Post #10



Nothing is working. i made a simple trigger that when player 9 brings a zergling to Cycle around, and player 1 (me) brings a unit to cycle around, it will display a text message and move me back to a location. It doesn't happen.

EDIT: From that info, I can't exactly figure out just what is/isn't happening. I just know it doesn't work.



None.

Jan 19 2010, 11:37 pm Jack Post #11

>be faceless void >mfw I have no face

Post the text triggers from SCMDraft's non-Classic trigedit.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jan 19 2010, 11:42 pm Newb Post #12



Trigger("Player 7"){
Conditions:
Bring("Player 9", "Zerg Zergling", "Cycle Around", At least, 1);

Actions:
Give Units to Player("Player 9", "Player 10", "Zerg Zergling", All, "Cycle Around");
Preserve Trigger();
Comment("Cycle");
}

//-----------------------------------------------------------------//

Trigger("Player 7"){
Conditions:
Bring("Player 9", "Zerg Zergling", "Anywhere", At least, 1);

Actions:
Move Location("Player 9", "Zerg Zergling", "Anywhere", "Cycle Around");
Preserve Trigger();
Comment("Cycle 2");
}

//-----------------------------------------------------------------//

Trigger("Player 7"){
Conditions:
Bring("Player 9", "Zerg Zergling", "Anywhere", Exactly, 0);

Actions:
Give Units to Player("Player 10", "Player 9", "Zerg Zergling", All, "Anywhere");
Preserve Trigger();
Comment("Cycle 3");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Player 1", "Any unit", "Cycle Around", At least, 1);
Bring("Player 9", "Zerg Zergling", "Cycle Around", At least, 1);

Actions:
Display Text Message(Always Display, "IT WORKED");
Move Unit("Player 1", "Any unit", All, "Cycle Around", "Cycle Around Move back");
Preserve Trigger();
}

//-----------------------------------------------------------------//


EDIT: I highly doubt I am already using these locations since they're my 252nd-254th location. Which is why I cannot continue until this works, so I can save a lot of my locations.

Post has been edited 2 time(s), last time on Jan 19 2010, 11:48 pm by Newb.



None.

Jan 19 2010, 11:50 pm Jack Post #13

>be faceless void >mfw I have no face

Change the last trigger to P10 bring zerg zergling, instead of p9.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jan 20 2010, 12:11 am Newb Post #14



EDIT: OMG. I have appeared to have had a blond moment. The location that was supposed to check if there were any zerglings for player 9 left, was for some reason in the center of the map... I found this out by creating a unit at that location, and BAM there it was in the center of the map. *facepalm* Well sorry for wasting your time since it was my own fault... But I did learn a very good lesson from this. ^^

If someone wants to close this thread, or lock it. It would be fine with me.

Post has been edited 2 time(s), last time on Jan 20 2010, 12:23 am by Newb.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
Please log in to shout.


Members Online: Moose, 8andrewe261tM5, newageofpower