Staredit Network

Staredit Network -> UMS Assistance -> Move Unit Issues
Report, edit, etc...Posted by iHaveNoRegrets on 2006-11-01 at 21:03:27
I am running seven Hyper Triggers and I have several marines on map. These marines need to stay in one spot, be able to attack, and take damage from units. I am using a Move Unit trigger to do this and it is set to All Terran Marine. They stay in one spot, they can attack, but they seem to evade the damage in the constant moving of the unit. They sometimes take the damage, but its not very often. Maybe a 1/20 chance of them taking any at all.

Is there a way I can fix this? Keep in mind: These marines need to stay in one spot, be able to attack, and take damage from units.
Report, edit, etc...Posted by EcHo on 2006-11-01 at 22:05:05
Maybe the terrain difference? Did you make terrain higher than the other?
Also, I suggest you do "Move all units at location a to b", where as a is where the marines are located and "b" is either on water or a doodad thats not walkable.
Report, edit, etc...Posted by Kenoli on 2006-11-01 at 22:30:50
Using the Move Unit action will cause the units to be hard or impossible to attack, and there is no way around it.

Why don't you surround the Marines with unwalkable terrain, or surround them with ground units so they can't move?
Report, edit, etc...Posted by iHaveNoRegrets on 2006-11-02 at 01:09:43
The idea is that you go around and freely build units in open terrain. I was having some progress with it and I may find a way around it, but its going to take alot more than one trigger, more like two hundred. I will keep trying, but I guess there isnt anything I can do to fix this better.
Report, edit, etc...Posted by DooM77 on 2006-11-02 at 08:37:10
Hmm... I'd suggest you to make simple trigger system with 1x1/point locations centered on each marine and triggers moving back marine if he leaves his location. While using hyper triggers the effect will be nearly unnoticable (you virtually don't see marine moving) and marine will not be constantly but occasionally moved so he will be mostly correctly hit smile.gif. If it will be more then several marines and you don't want to use so many locations or triggers use more inteligent system: make burried units (in this example Zerglings) under each of Marine and use triggers:


1.Conditions:
-swith "control" is cleared
-player X controls exacly 0 Zerglings
Actions:
-set "control"
-preserve trigger

2.Conditions:
-switch "control" is cleared
player X controls at least 1 Zergling
Actions
-center location "checking" at Zergling
-center location "checking_out" at Zergling
-remove all Zergling at "checking"
-create 1 burrowed Drone at checking
-preserve trigger

3.Conditions:
-swith "control" is set
-player X controls exacly 0 drones
Actions:
-set "control"
-preserve trigger

4. Conditions:
-switch "control" is set
player X controls at least 1 drone
Actions:
-center location "checking" at Drone
-center location "checking_out" at Drone
-remove Drone at "checking"
-create 1 burrowed Zergling at checking
-preserve trigger

5.Conditions:
-Player Y brings exacly 0 marine to "checking"
Actions:
-move marine owned at checking_out to "checking"
-preserve trigger

where "cheking" is point location and "checking_out" is 1x1/3x3 location.
This trigger system consisted of 5 triggers and one switch will prevent virtually unlimited amount of marines from moving from their positions.

ADDITION:
PS. You don't really need seven hyper triggers unless you want ppl's to play your map for a month biggrin.gif.
Report, edit, etc...Posted by iHaveNoRegrets on 2006-11-03 at 19:39:46
I used this method and for some odd reason, the drones/zerglings are spawning almost two full tiles below the unit. What the hell is going on?
Report, edit, etc...Posted by Falkoner on 2006-11-03 at 21:49:38
Hmm.. You could use hypers and have one the the 1 pixel locations centered on the marines, and if they exit that 1 pixel location move them back to a 1x1 location which also follows them
Report, edit, etc...Posted by iHaveNoRegrets on 2006-11-03 at 23:02:17
Well the idea that Doom gave would work, but the problem with it is that the burrowed units dont spawn under the unit.
Aside from that, this idea would work. If there is a trick, other than completely moving the marine because that wouldn't solve anything, I would be back to the no damage problem i had before.

Sigh... why couldnt blizzard just make it so we could issue hold position mad.gif
Report, edit, etc...Posted by DooM77 on 2006-11-05 at 05:10:02
Oh sorry!! I told you wrong way! sad.gif Instead of spawning units under Marines make them somewhere else and then move under the rines. They will appear exacly under Marines.
Next Page (1)