Help with Spawn!!!

Happy

Well-Known Member
Reaction score
71
normally you have to pick them and order them to move to the center of a region....

did you do that?

*edit : and welcome to TheHelper ^.~ :thup:
 

Carnerox

The one and only.
Reaction score
84
Code:
Melee Initialization
    Events
        Unit - A unit enters Rect 000 <gen>
    Conditions
    Actions
        Set TempPoint = (Center of Rect 001 <gen>)
        Unit - Order (Entering unit) to Move To TempPoint
        Custom script:   call RemoveLocation (udg_TempPoint)
 

l8rg8r

New Member
Reaction score
0
Well, i made the spawns and all and made them Walk-To the region i made called Finally Checkppoint.
 

Happy

Well-Known Member
Reaction score
71
try it with pick every unit action....i never tried a unit enters for moving a spawn but pick every unit worked everytime xD
 

l8rg8r

New Member
Reaction score
0
oh, and its like a maul, they spawn then are supposed to move the the end but just sit there. and also they wont go to enemy :p

:p how do i show the trigger on here?
 

Happy

Well-Known Member
Reaction score
71
like UndeadCow said show us your trigger to move them....

if you dont know how...
right-click on your trigger 'copy as text'
open a post here
click of the yellow 'a'
paste between the brackets
 

Carnerox

The one and only.
Reaction score
84
:p how do i show the trigger on here?
Don't double post, and.

Copy the code from your trigger, post it and then put then scroll over the whole code or w/e it's called as if you were going to copy it.
code.gif
then click that.
 

l8rg8r

New Member
Reaction score
0
Well it wont let me copy the whole thing... if i do that it only copies on action or whatever.
 

Happy

Well-Known Member
Reaction score
71
it wont let you what?? copy as text? the field where you add actions events etc...right-click on the title there...'copy as text'...open a post...click on the yellow 'a'...STRG+V thats it...
 

l8rg8r

New Member
Reaction score
0
Trigger:
  • Melee Initialization
    • Events
      • Time - Every 5.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn mid 2 &lt;gen&gt;) facing Default building facing degrees
      • Unit - Create 5 Peasant for Player 12 (Brown) at (Center of Spawn mid 1 &lt;gen&gt;) facing (Position of (Triggering unit))
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn bot mid &lt;gen&gt;) facing (Position of (Triggering unit))
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn mid right &lt;gen&gt;) facing Default building facing degrees
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn mid left &lt;gen&gt;) facing Default building facing degrees
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn top left &lt;gen&gt;) facing Default building facing degrees
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn top right &lt;gen&gt;) facing Default building facing degrees
      • Unit - Order (Triggering unit) to Move To (Center of Finaly checkpoint &lt;gen&gt;)
ah-ha! this is what ive done so far, everything isnt finished either, i learned how to make spawns from youtube btw :p. And the wait 5 sec is supposed to be wait 50 sec, just changed it.
 

Happy

Well-Known Member
Reaction score
71
first of all there are some point leaks....for the leaks read this

then the order is wrong to move them....make a second trigger...pick all units of type peasant and order them to move to finaly checkpoint...
like this...(sry its freehand)
Trigger:
  • move_trigger
    • events
      • every 5.01 seconds of game time
    • conditions
    • actions
      • set Temp_Region = playable map area
      • pick every unit in Temp_Region an do actions
        • if/then/else (multiple)
          • if-condition
            • picked unit-type is equal to peasant
          • then-action
            • order picked unit to move to finaly checkpoint
          • else-action
    • custom script : call RemoveRect(udg_Temp_Region)


also theres no triggering unit so theres no possiblity to face position of triggering unit...

*edit: also it would be a lot easier to use a region variable array and use integer A...
 

Carnerox

The one and only.
Reaction score
84
Trigger:
  • Melee Initialization
    • Events
      • Time - Every 5.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn mid 2 &lt;gen&gt;) facing Default building facing degrees
      • Unit - Create 5 Peasant for Player 12 (Brown) at (Center of Spawn mid 1 &lt;gen&gt;) facing (Position of (Triggering unit))
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn bot mid &lt;gen&gt;) facing (Position of (Triggering unit))
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn mid right &lt;gen&gt;) facing Default building facing degrees
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn mid left &lt;gen&gt;) facing Default building facing degrees
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn top left &lt;gen&gt;) facing Default building facing degrees
      • Unit - Create 10 Peasant for Player 12 (Brown) at (Center of Spawn top right &lt;gen&gt;) facing Default building facing degrees
      • Unit - Order (Triggering unit) to Move To (Center of Finaly checkpoint &lt;gen&gt;)
ah-ha! this is what ive done so far, everything isnt finished either, i learned how to make spawns from youtube btw :p.
ROFL.. Sorry keep this trigger and create a new one using the code i gave you.. cept change the regions to yours.. Triggering Unit wont work.. Because nothing they are triggering nothing..

Edit* also delete the move part.
 

l8rg8r

New Member
Reaction score
0
Wait... So how do i get that to my triggers? Sorry first time using you know lol..
I should mention that i did this all fine once but for some reason it jsut isnt working, i just made a fun little map where ppl spawned and i killed them lol. :/...
 

l8rg8r

New Member
Reaction score
0
Do i have to keep refreshing my screen to see if you guys have said a response? or does it do it automatically...
*Edit Sheesh okay, and i mean where is this code you said you gave me Undead???
 

Carnerox

The one and only.
Reaction score
84
Please stop double posting.. And to create the trigger look at it, and then create it in your world editor.. It's not that hard..
 

Happy

Well-Known Member
Reaction score
71
you have to refresh....

AND PLEASE USE THE EDIT BUTTON IN THE BOTTOM RIGHT CORNER AND DONT DOUBLE POST....sry for caps but cow wrote it already and you did it again...
 

l8rg8r

New Member
Reaction score
0
First, is this double posting? Second, so i just maually do that?:)

*Edit Third, How long does it take for your reply to get to me?? Or just immediatly after you send and i refresh the page.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top