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!
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.
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.
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?
ActionsMove all Dropship for Current player at 'Anywhere' to 'Dropship'.
Preserve Trigger.
None.
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.
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?
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.
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.
I think the idea is to minimize lag
None.
if you want it to look dramatic.. make a ghost and lock it down
None.
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.
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
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.
I think the idea is to minimize lag
^ This.
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.
You can use an inverted location exactly the size of the dropship to detect when it moves even a pixel.
None.
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.
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.
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.
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.
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.