Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Freezing Dropships
Freezing Dropships
Jul 27 2008, 2:13 pm
By: Oh_Man  

Jul 27 2008, 2:13 pm Oh_Man Post #1

Find Me On Discord (Brood War UMS Community & Staredit Network)

Hey guys I am trying to freeze a dropship in place using the following trigger.

Condition:
Always

Action:
Issue order to all Dropship owned by P1 at location Anywhere MOVE to location Dropship.
Preserve Trigger

OK and what happens is the trigger works but if i click fast enough I can move the dropship limitless distances.

And before you ask YES I have hyper triggers. Please help!




Jul 27 2008, 2:15 pm Falkoner Post #2



You can also just constantly move it there, but IMO that sometimes looks slightly unprofessional(slightly) so what I like to do is have a location around the area the unit should be in, that is larger than it, and then if the unit isn't in the smaller location, but is in the bigger one, I deselect the unit by giving it to another player then back, then I order it back, I usually also add another "just in case" location that simply moves them back if they somehow manage to get past the second location.



None.

Jul 27 2008, 2:43 pm Oh_Man Post #3

Find Me On Discord (Brood War UMS Community & Staredit Network)

Well that is using too many locations for my liking and I am sure it can be done this way I have seen it done in other maps I am just not sure how they do it. Also I need my dorpship to be able to drop units. If i was constantly moving it i wuldnt be able to do this.




Jul 27 2008, 2:50 pm Ahli Post #4

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from name:private_parts
Well that is using too many locations for my liking and I am sure it can be done this way I have seen it done in other maps I am just not sure how they do it. Also I need my dorpship to be able to drop units. If i was constantly moving it i wuldnt be able to do this.
dropships can always drop the units, if the ground is clear and walkable. Where is your problem? :crazy:




Jul 27 2008, 3:57 pm KrayZee Post #5



Actions
Move all Dropship for Current player at 'Anywhere' to 'Dropship'.
Preserve Trigger.



None.

Jul 27 2008, 5:13 pm FoxWolf1 Post #6



Quote from KrayZee
Actions
Move all Dropship for Current player at 'Anywhere' to 'Dropship'.
Preserve Trigger.

You could avoid having the trigger constantly running by adding the condition that the player doesn't have a dropship at the dropship location.



None.

Jul 27 2008, 6:40 pm Kaias Post #7



Quote from Ahli
Quote from name:private_parts
Well that is using too many locations for my liking and I am sure it can be done this way I have seen it done in other maps I am just not sure how they do it. Also I need my dorpship to be able to drop units. If i was constantly moving it i wuldnt be able to do this.
dropships can always drop the units, if the ground is clear and walkable. Where is your problem? :crazy:
I think he meant that in response to Falkoner's proposition, which would make him a computer when moving back.

Which of course, you cannot drop units if its not yours.



None.

Jul 27 2008, 7:01 pm KrayZee Post #8



Quote from FoxWolf1
Quote from KrayZee
Actions
Move all Dropship for Current player at 'Anywhere' to 'Dropship'.
Preserve Trigger.

You could avoid having the trigger constantly running by adding the condition that the player doesn't have a dropship at the dropship location.
What? All you need is "Always" in the conditions.



None.

Jul 27 2008, 7:22 pm Kaias Post #9



I think the idea is to minimize lag



None.

Jul 27 2008, 8:40 pm iCafe.Moto Post #10



if you want it to look dramatic.. make a ghost and lock it down



None.

Jul 27 2008, 11:07 pm M s4 Post #11



Quote
You could avoid having the trigger constantly running by adding the condition that the player doesn't have a dropship at the dropship location.

Doing that allows the dropship to move half of its own length before being moved again.



None.

Jul 27 2008, 11:20 pm Ultraviolet Post #12



Quote from iCafe.Moto
if you want it to look dramatic.. make a ghost and lock it down

He said it needs to be able to drop stuff. I'd say you should go with constantly ordering it to move back to it's location, and if it gets outside of that location just teleport it back in.




Jul 27 2008, 11:45 pm Falkoner Post #13



I also said he could constantly teleport it, which will keep it in place perfectly, I just said the way I do it because I'm picky :P Teleporting it will still allow it to drop off it's units, and the method I posted doesn't deselect it unless you try and rapidly click to move it away.



None.

Jul 27 2008, 11:56 pm FoxWolf1 Post #14



Quote from Kaias
I think the idea is to minimize lag

^ This.

Quote from M s4
Quote
You could avoid having the trigger constantly running by adding the condition that the player doesn't have a dropship at the dropship location.

Doing that allows the dropship to move half of its own length before being moved again.

Or more, depending on how large the dropship's box is, but the amount of motion is irrelevant because as soon as it moves too far, it's moved back. WIth this method, it stays in the box without any trigger running constantly.



None.

Jul 28 2008, 2:26 am Falkoner Post #15



You can use an inverted location exactly the size of the dropship to detect when it moves even a pixel.



None.

Jul 28 2008, 4:01 am Vrael Post #16



Make sure your triggers are in this order:

Issue order to Terran Dropship at Dropship Location "Move to Dropship Location"

Then

Center Location "Dropship Location" on Dropship owned by player at anywhere

That way, it will be ordered to where the old position of the dropship was, instead of where it moved. Or, you could just center the dropship location on the dropship once every second instead of 12 times a secon, but contine to run the Order command every trigger cycle.



None.

Jul 28 2008, 4:19 am FoxWolf1 Post #17



Quote from Vrael
Make sure your triggers are in this order:

Issue order to Terran Dropship at Dropship Location "Move to Dropship Location"

Then

Center Location "Dropship Location" on Dropship owned by player at anywhere

That way, it will be ordered to where the old position of the dropship was, instead of where it moved. Or, you could just center the dropship location on the dropship once every second instead of 12 times a secon, but contine to run the Order command every trigger cycle.

The OP's original trigger had the condition "always", which implies that it's never supposed to move, so I don't think we have to worry about centering the location on it (unless triggers are going to move it around, but nothing like that has been specified).



None.

Jul 28 2008, 4:32 am Vrael Post #18



Oh I assumed the location was being centered on the dropship because he said it could move limitless distances. If the location is stationary then the dropship will not be able to move with only the order to location trigger.



None.

Jul 28 2008, 4:44 am FoxWolf1 Post #19



Maybe you're right; it would explain the movement of the dropship...it just sounds an awful like he's going to be using it for a control system or something like this. If he's going to be moving it, the solution would be to center the location on it when it's supposed to stop, and then move the location only when the dropship is moving, yea?



None.

Jul 28 2008, 10:35 am Oh_Man Post #20

Find Me On Discord (Brood War UMS Community & Staredit Network)

Once again you guys never fail to impress thanks for the wide variety of opinions and theories I am sure that I will find one that works.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Moose, Oh_Man