Staredit Network

Staredit Network -> UMS Assistance -> Create Larva
Report, edit, etc...Posted by Xghozt on 2005-09-10 at 00:59:43
How do you make a trigger where everytime a player creates a hatchary it moves a location on top of it and then creates a crap load of larva?
I cant figure this one out.....
Report, edit, etc...Posted by PlayaR on 2005-09-10 at 01:22:45

Trigger
Description:
Move Location
Players:
¤ The player with hatcery
Conditions:
¤ Bring(The Player, Exactly, 1, Hatchery)
Actions:
¤ MoveLocation(The location u want on the hatchery, Hatchery, Player with Hatchery, Anywhere)
¤ CreatUnit(Number of Larvas u want, Larva, Location u put on Hatcher, The player with Hatchery)
¤ PreserveTrigger()


im pretty sure that should work u should try it if not sry lol cuz thats all i have
Report, edit, etc...Posted by (U)Bolt_Head on 2005-09-10 at 02:36:50
The conditions would have to be differant so it doesn't keep going after you created it. The first method that comes to my mind is to change the player of the hatery after it is created.

Otherwise it would be quite a difficult task. Using markers and stuff to determan if you already created larva there and such. That gives me an interesting idea ...
Report, edit, etc...Posted by DevliN on 2005-09-10 at 02:49:02
Can larva be created with triggers? I tried just a simple:
Trigger
Players:
¤ Player 1
Conditions:
¤ Always.
Actions:
¤ Create 1 larva at LOCATION for Player 1.
¤ Preserve trigger.



And nothing happened.
Report, edit, etc...Posted by in_a_biskit on 2005-09-10 at 02:56:35
I was pretty sure that larvae couldn't be created using the 'create units' triggers; I'm quite sure they can be moved, however, using 'move unit', so you could have a bunch of stacked hatcheries somewhere to create lots of larvae, which you can move at the appropriate time to the appropriate place...

I'm not sure whether you can give larvae to other players...I assume that it's possible, though you should check if you plan to do that

You still have the problem posed by Bolt about not continuously making larvae at the hatchery - maybe turn the hatchery into a lair, so it doesn't set off the conditions again.
Report, edit, etc...Posted by Kow on 2005-09-10 at 02:56:36
I was thinking that too Devlin. You can always stack like 50 hatcheries and move larvae as needed tongue.gif
Report, edit, etc...Posted by Xghozt on 2005-09-10 at 03:27:23
I cant create Larva. I cant make them move becuase then i get the error Too many Units. and other than that. Makers...that wont work for the map im makeing. But if its not possible ..oh well...
Report, edit, etc...Posted by (U)Bolt_Head on 2005-09-10 at 04:33:56
QUOTE(in_a_biskit @ Sep 10 2005, 01:56 AM)
I was pretty sure that larvae couldn't be created using the 'create units' triggers; I'm quite sure they can be moved, however, using 'move unit', so you could have a bunch of stacked hatcheries somewhere to create lots of larvae, which you can move at the appropriate time to the appropriate place...

You still have the problem posed by Bolt about not continuously making larvae at the hatchery - maybe turn the hatchery into a lair, so it doesn't set off the conditions again.
[right][snapback]309440[/snapback][/right]


If you move larva spawned from a hatchery then they will crawel back too it. And larva cannot be ordered even by the 'controling interceptors method'. They can be junkyarded after the move but they will quickly crawel away from your hatchery.

Changing it into a lair is a good idea. But doesn't solve the original create larva problem.

I suppose you could just have your limited supply somewhere craweling around preplaced and move them. Alternitivly you could try some player changes on larva spawned from a hatchery, i don't know what they do then.
Report, edit, etc...Posted by Xghozt on 2005-09-10 at 04:36:45
well..then i give up. AHAHA srry, it just seend like its impossibe, iv tryed everything
swites
moves
orders
creates
give to's
markers...

no matter what larva just dont come!
Report, edit, etc...Posted by (U)Bolt_Head on 2005-09-10 at 04:43:58
Did you try introducing the male zerglings to the female zerglings?
Report, edit, etc...Posted by PlayaR on 2005-09-10 at 11:05:00
QUOTE((U)Bolt_Head @ Sep 10 2005, 04:43 AM)
Did you try introducing the male zerglings to the female zerglings?
[right][snapback]309475[/snapback][/right]


LOL thats a rly good one
Report, edit, etc...Posted by Toothfariy on 2005-09-10 at 11:29:27
try this, hide about 20 hives somewhere in the map for a computer. they will get larva. so you can send a but load over to the hatchery biggrin.gif
Report, edit, etc...Posted by PCFredZ on 2005-09-10 at 22:38:59
QUOTE(in_a_biskit @ Sep 10 2005, 02:56 AM)
I'm not sure whether you can give larvae to other players...I assume that it's possible, though you should check if you plan to do that[right][snapback]309440[/snapback][/right]

My experience showed that Larvae won't count as Men or AnyUnit, and thus would have to be selected from the Browse selection specifically.

I'm assuming that AnyUnit only covers the units listed in Vanilla StarEdit. Can anyone back this up?
Report, edit, etc...Posted by Urmom(U) on 2005-09-10 at 22:52:44
QUOTE((U)Bolt_Head @ Sep 10 2005, 04:43 AM)
Did you try introducing the male zerglings to the female zerglings?
[right][snapback]309475[/snapback][/right]


oh m an u got disturbing images in my head...

but maybe you could center the location on the haterie and set a switch
then you create a burrowed unit under the hatchery. let me show you.


Trigger
Description:
Center on Hatchery and set switch
Players:
¤ Current Player
Conditions:
¤ Current Player Brings at least 1 Hatchery to anywhere.
¤ Switch1 is cleared
Actions:
¤ Move Location Hatchery on all hatchery owned by current player
¤ Set Switch1
¤ Preserve Trigger



Trigger
Description:
Making the Larvae
Players:
¤ Current Player
Conditions:
¤ Switch1 is set
¤ Current Player brings at least 1 Hatchery to location 'Hatchery'
Actions:
¤ Move all Hatchery for current player at 'Hatchery' to 'Area1'
¤ Create 1 Zergling to player 12 at location Hatchery
¤ Move 1 Hatchery at 'Area1' to 'Hatchery'
¤ Add Larva here
¤ Give 1 Hatchery owned by current player at 'Hatchery' to player 12
¤ Clear Switch1
¤ Preserve Trigger



Trigger
Description:
Then to give the hatcherys back
Conditions:
¤ Current Player commands exactly 0 Hatcherys
Actions:
¤ Give all Hatcheries owned by Player 12 to current player
¤ Preserve Trigger



Trigger
Description:
Just in case weve done this hatchery
Conditions:
¤ Player 12 brings at least 1 zergling to location hatchery
Actions:
¤ Give all hatchery at location hatchery to player 12
¤ Clear Switch1
¤ Preserve Trigger


I think this would work. havent tested it but it would only work for one player. you could fine tune it and i think the triggers go in that order and dont forget to make the zerglings burrowed and invincible.
Report, edit, etc...Posted by Toothfariy on 2005-09-10 at 22:54:33
umm u wasted ur time there, larva can't be created useing a trig.
Report, edit, etc...Posted by Urmom(U) on 2005-09-10 at 22:56:03
you can move them i think... thats why i said add larva. you could have a lot of stacked hatcheries in an area and move a specific amount, i hope you can move them blushing.gif
Report, edit, etc...Posted by Toothfariy on 2005-09-10 at 22:59:58
im pretty sure i've seen it in a map b4. u can kill them and do other stuff to them so i assume u can move them. otherwise i cant think of ne other wa to do this
Report, edit, etc...Posted by PCFredZ on 2005-09-11 at 09:05:12
Read around a little and eventually you'll deduce that all the units not listed in vanilla StarEdit cannot be created via trigger.
Report, edit, etc...Posted by Toothfariy on 2005-09-11 at 12:43:41
ok here i was board and desided to show u guys up. they cant be moved. sad.gif or created. but they can be given to a player from another. so i suggest you do what i did in the other map. i tested it and it all works. so gl biggrin.gif
Report, edit, etc...Posted by PCFredZ on 2005-09-11 at 12:59:05
QUOTE(Toothfariy @ Sep 11 2005, 12:43 PM)
ok here i was board and desided to show u guys up. they cant be moved. sad.gif or created. but they can be given to a player from another. so i suggest you do what i did in the other map. i tested it and it all works. so gl biggrin.gif
[right][snapback]310978[/snapback][/right]

They can be moved, your map just didn't do it because you gave them to P1 before trying to move them for P8.
Report, edit, etc...Posted by Mp)3 on 2005-09-11 at 13:05:55
QUOTE((U)Bolt_Head @ Sep 10 2005, 03:33 AM)
If you move larva spawned from a hatchery then they will crawel back too it.  And larva cannot be ordered even by the 'controling interceptors method'.  They can be junkyarded after the move but they will quickly crawel away from your hatchery.
[right][snapback]309471[/snapback][/right]

Have we tried moving the hatchery yet?

...

I think a Matrix-Bullet-Time style of your "Crazy" map is in order. tongue.gif
Report, edit, etc...Posted by Toothfariy on 2005-09-11 at 13:20:35
oo so u fixed it so it worked where they move? but should it matter who owns them cause if they can be moved then if p1 owns them then... they should still move right?
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-11 at 22:06:27
You cannot create larvae in triggers. I know, GAY. My friend is making a bound that uses larvae and he stacks a ton of hives over to a side out of site. Then he just moves them over. Thats the only solution to "creating larvae".
Report, edit, etc...Posted by Urmom(U) on 2005-09-12 at 15:26:44
wow, that has been stated several times
Next Page (1)