Staredit Network

Staredit Network -> Concepts -> 2 Units goes BOOM
Report, edit, etc...Posted by blizter on 2006-08-03 at 13:12:51
Hello, I have a big problems. Is it actually possible to make two different units explode when they it themselves. For instance, an overlord hit a wraith and both explode. THe problem here is centering a location when they are more than one wraith and more than 1 overlord.

So after thinking, I came to a little idea :

Use 3 computers.
Use Hypertrigger.


Trigger
Description:
move case 1
Conditions:
¤ Player 7 bring at least 1 overlord to anywhere
¤ Switch 100 is clear
Actions:
¤ Give 1 overlord from player 8 to player 6
¤ Give 1 overlord from player 7 to player 8
¤ Move location Verify on player 8's overlord at anywhere



Trigger
Description:
move case 2
Conditions:
¤ Player 8 bring at least 1 overlord to anywhere
¤ Switch 100 is set
Actions:
¤ Give 1 overlord from player 7 to player 6
¤ Give 1 overlord from player 8 to player 7
¤ Move location Verify on player 7's overlord at anywhere



Trigger
Description:
Change switch case 1
Conditions:
¤ Player 7 bring exactly 0 overlord to anywhere
¤ Switch 100 is clear
Actions:
¤ Set switch 100
¤ Give all overlord from player 6 to player 8



Trigger
Description:
Change switch case 2
Conditions:
¤ Player 8 bring exactly 0 overlord to anywhere
¤ Switch 100 is set
Actions:
¤ Clear switch 100
¤ Give all overlord from player 6 to player 7



Trigger
Description:
Verify case 1
Conditions:
¤ Player 8 bring at least 1 overlord to Verify
¤ Current player bring at least 1 Wraith to Verify
¤ Switch 100 is clear
Actions:
¤ Kill all Wraith for Current player At Verify
¤ Kill all Overlord for Player 8 At Verify



Trigger
Description:
Verify case 2
Conditions:
¤ Player 7 bring at least 1 overlord to Verify
¤ Current player bring at least 1 Wraith to Verify
¤ Switch 100 is set
Actions:
¤ Kill all Wraith for Current player At Verify
¤ Kill all Overlord for Player 7 At Verify


Basicly, this will scan ALL overlord, so each overlord of player 7 and 8 will be scanned. You can use this with a player because of the give thingy. You can make ALL the unit of the comps explosing by remplacing Overlord By Men. You need the player 6 to set the overlord 'already scanned'.

Not tested but should work, Ill test it right now.

Feel free to comment.

EDIT: if you want to make the units of the comp move, you will have to use the orders on the 3 comps.

EDIT inversed the two switch of the last triggers

EDIT: changed player 1 for current player.

After some test:

The system is very slow when there are a lot of units. But with 1 location for each kind of units or for a few units, the trigger work well.


Attachement added...
Report, edit, etc...Posted by JuiceBug on 2006-08-03 at 13:18:29
Um... Duh?
Report, edit, etc...Posted by coolboymart on 2006-08-03 at 13:43:05
How about
Trigger
Description:
P8 is the one that you actually see
Conditions:
¤ P8 owns at least 1 overlord
Actions:
¤ Move location over P8s overlord
¤ Give 1 overlord ownd by P8 to P9
¤ Preserve trigger


Trigger
Conditions:
¤ P8 owns 0 overlord
Actions:
¤ Give al P9 overs to P8
¤  Preserve


oh and then do all the whole explodin thing
Report, edit, etc...Posted by JaFF on 2006-08-03 at 13:46:12
This has been created LONG BEFORE. The main idea that it centers the location on the first unit from the bottom left.
Report, edit, etc...Posted by blizter on 2006-08-03 at 14:05:00
Thank you, coolboymart for some reason, I didnt think of the simplest way. dots.gif

sick.gif

This can still be usefull.
Next Page (1)