Staredit Network

Staredit Network -> UMS Assistance -> Execute trigger when burow?
Report, edit, etc...Posted by Hampster on 2005-07-17 at 19:52:30
Is it possible to make a trigger execute only once a ling has been burrowed?

Im workin on a map called Burrow D. and I need to be able to make this work..
Report, edit, etc...Posted by DevliN on 2005-07-17 at 19:57:27
I believe so. I don't know how to do it, but I remember Tuxedo-Templar played around with burrowing a Defiler to reload a gun in one of his maps. I think it has to do with the elevation of the location around the burrowed unit, but again I'm not sure.
Report, edit, etc...Posted by aE(Sniper) on 2005-07-17 at 20:00:18
Change the location type maybe low ground only maybe
Report, edit, etc...Posted by Hampster on 2005-07-17 at 20:01:05
I tried that, but it just executes when it walks onto that location.
Report, edit, etc...Posted by CheeZe on 2005-07-17 at 20:30:29
It's pretty simple. Just continuesly create a unit and removing the unit onto a location (smaller than 1x1) that is centered on the unit that can be burrowed.

Remove the unit being created if that unit is not within the location. Actually, remove it if it is in the location, but if it is, then the unit is burrowed.

Report, edit, etc...Posted by Hampster on 2005-07-17 at 22:54:51
But wont u keep seeing that unit? And it would get in the way.
Report, edit, etc...Posted by l)ark_13 on 2005-07-18 at 01:17:19
If you have hyper triggers then you wont see the unit being removed and created. But, it will probably create a little bit of lag depending on how many players you have.
You could always have 1 unit keep killing the burrowed one when its not burrowed, and when its not being killed then its burrowed. But that would be harder and more stupid tongue.gif
Do what CheeZe said because: No you wont see it and no it wont get in the way (it just might cause a little bit of lag).
Report, edit, etc...Posted by IceWarrior98 on 2005-07-18 at 01:32:10
Heres what you do to detect a burrowed unit.

1.Place a location and modify its settings so the ONLY elevation checked is low, then for the trigger just have.

Condition:
Player brings (at least/most/exactly) (#) (unit) to (location).
Action:
(What you want here.)
Report, edit, etc...Posted by Hampster on 2005-07-18 at 01:54:18
QUOTE
If you have hyper triggers then you wont see the unit being removed and created. But, it will probably create a little bit of lag depending on how many players you have.
You could always have 1 unit keep killing the burrowed one when its not burrowed, and when its not being killed then its burrowed. But that would be harder and more stupid 
Do what CheeZe said because: No you wont see it and no it wont get in the way (it just might cause a little bit of lag).


No because then it dont have time to recognize that a unit is there. You have to have at least a 1 ms wait and then u see it.

QUOTE(IceWarrior98 @ Jul 18 2005, 01:32 AM)
Heres what you do to detect a burrowed unit.

1.Place a location and modify its settings so the ONLY elevation checked is low, then for the trigger just have.

Condition:
Player brings (at least/most/exactly) (#) (unit) to (location).
Action:
(What you want here.)
[right][snapback]264689[/snapback][/right]


Ive already stated that that dont work...
Report, edit, etc...Posted by chuiu on 2005-07-18 at 02:15:35
QUOTE(CheeZe @ Jul 17 2005, 07:30 PM)
It's pretty simple. Just continuesly create a unit and removing the unit onto a location (smaller than 1x1) that is centered on the unit that can be burrowed.

Remove the unit being created if that unit is not within the location. Actually, remove it if it is in the location, but if it is, then the unit is burrowed.
[right][snapback]264469[/snapback][/right]

Yes you do have time to do it, let me break apart Cheeze's post to help you out:

Trigger #1:
Always

Move .5 x .5 location on Zergling (say we're using a zergling)
Create Ultralisk or Move unit to .5 x .5 location.

Trigger #2
Bring at least 1 Ultralisk to .5 x .5

Remove all Ultralisk at .5 x .5
Actions that happen if ling is burrowed

Trigger #3
Bring exactly 0 Ultralisk to .5 x .5

Remove all Ultralisk
Actions that happen if ling isn't burrowed

Since all three triggers are setup like this, you never see the ultralisk and it checks instantly. I haven't done this trigger with create/remove but I do know that move/moveback will work perfectly without seeing the unit.
Report, edit, etc...Posted by Hampster on 2005-07-18 at 02:24:18
Thanks alot.. lemme go try it. I had it kinda like that but just a lil diff.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-07-18 at 02:40:43
QUOTE(l)ark_13 @ Jul 18 2005, 12:17 AM)
If you have hyper triggers then you wont see the unit being removed and created.  But, it will probably create a little bit of lag depending on how many players you have. 
[right][snapback]264680[/snapback][/right]


You dont' need hyper triggers for this to work.
Report, edit, etc...Posted by Sniper on 2005-07-18 at 03:02:37
QUOTE(IceWarrior98 @ Jul 17 2005, 09:32 PM)
Heres what you do to detect a burrowed unit.

1.Place a location and modify its settings so the ONLY elevation checked is low, then for the trigger just have.

Condition:
Player brings (at least/most/exactly) (#) (unit) to (location).
Action:
(What you want here.)
[right][snapback]264689[/snapback][/right]

Low elevation trigger means anyunit that is on the lowest possible terrain(I think its regular dit on jungle down to low platform in space and installation). It has nothing to do with burrowed units.
Report, edit, etc...Posted by Hampster on 2005-07-18 at 03:06:19
Thanks chuOs it works perfectly now.
Report, edit, etc...Posted by IceWarrior98 on 2005-07-18 at 03:36:41
Ur kidding the location didnt work for you? Works for me like a charm.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-07-18 at 03:53:00
QUOTE(IceWarrior98 @ Jul 18 2005, 02:36 AM)
Ur kidding the location didnt work for you? Works for me like a charm.
[right][snapback]264751[/snapback][/right]


You are missinterpreting something. It never has or never will work that way.
Report, edit, etc...Posted by Oo.Vic.oO on 2005-07-18 at 09:51:16
Locations wont detect burrow units.
Report, edit, etc...Posted by Centreri on 2005-07-19 at 11:25:12
Strangely enough.. Oh i wish blizzard sent out a patch to increase trigger power..
Next Page (1)