Staredit Network

Staredit Network -> UMS Assistance -> Is this possible?
Report, edit, etc...Posted by Waddupjee on 2005-12-19 at 14:40:56
Is it possible to create a trigger with this scenario:

-A scv is repairing a building. Once it is fully repaired, execute actions.

I'm asking how to create a condition involving a building being repaired fully and then the action executed.
Report, edit, etc...Posted by Oo.Vic.oO on 2005-12-19 at 14:46:44
dont think so.
Report, edit, etc...Posted by Oo.Insane.oO on 2005-12-19 at 15:30:38
(Building) health is at 100%?
Report, edit, etc...Posted by AgenT_Nick on 2005-12-19 at 15:35:13
you could use eud conditions.
just when its 100% of health you do that action
Report, edit, etc...Posted by Oo.Insane.oO on 2005-12-19 at 15:42:08
Nvm the thing I was thinking of was an action not a Condition sad.gif yeah tho Eud's would probibally be the best bet for achieving this
Report, edit, etc...Posted by Kumano on 2005-12-19 at 16:07:36
EUDs are the only way to do this that we know of (other then virtual HP, but that isn't really effective either if you want the SCV to actually repair it). You will need to know the number the building has (in order that it was placed in, if you build it then this just can't be done effectively without checking every unit number to see if it's the building). The only program so far that I know of that can tell what unit number it is, is SCMToolkit (look in outdated programs). Then just use uBeR@TiOn and use the EUD condition 'Unit Health' and it should be pretty basic from there.
Report, edit, etc...Posted by Richan on 2005-12-19 at 16:18:11
I think you can 'trick' the audience in doing so.

1/ Order the SCV to attack the damaged building.
2/ Create a large net of triggers which 'heal' the building (e.g. make triggers which heal the building by 1% each mili-second - time can be modified)
3/ Once the building has 100% health, ally the SCV player with the building's player OR make the building invincible. (this will make the SCV stop 'repairing')
4/ Order the SCV to do another thing.

However, there are some problems which can interfere in what you want:

1/ The main problem I find is that both SCV and building must be from different players (you can't order a unit to attack a unit of the same player with triggers)
2/ Another problem is that the SCV's 'flame' is not exactly the same when it repairs than when it attacks (although people don't normally notice that)
3/ A smaller problem is that you're gonna have a hard time creating the trigger net and to test it so that it works (but once it works, you're done)

I think that's the closest thing you can get with normal triggers...

See ya! wink.gif

RiCHaN
Report, edit, etc...Posted by bionic templar on 2005-12-19 at 16:25:34
after building get 100% of hit points?
Report, edit, etc...Posted by Waddupjee on 2005-12-19 at 16:59:34
thanks guys...I'd probably stick with EUD method...since it sounds easier... smile.gif Just need to familiarize myself with uber@tion.
Next Page (1)