• 0

    posted a message on Looping trouble
    Quote from Rickilicious: Go

    Spawn Units

    Events

    Timer - Elapsed time is 4.5 Game Time seconds

    Game - Map initialization

    Local Variables

    Conditions

    Actions

    Unit - Create 12 Zergling for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)

    Unit - Create 8 Zealot for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)

    Unit - Create 5 Stalker for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)

    Unit Group - Pick each unit in (Any units in Region 001 owned by player 2 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)

    Actions

    Unit - Order (Picked unit) to ( Attack Marine [13.48, 37.16]) (Replace Existing Orders)

    Why won't this loop correctly?It does it on map initialization, but not after.Is the problem Map Initialization or what? I feel like I'm missing something, but I just can't get it.I do think I've read somewhere that timer might not work? But any help would be appreciated folks, thanks

    I've had trouble with the timer but i have it working now, its just difficult to use at first but if you want more info on it i believe there was already a detailed post on how to set one up in these forums. If you just want it to spawn units every 4.5 seconds however just use the "Periodic Event" event and set it to 4.5 seconds. Hope this helps!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Custom Unit Rax's and Collision Size

    Sweet i got it working by changing a copy of Barracks - Train and added it to the spawning pool. When i make this spawning pool, is there a way to auto build the zergling as soon as it spawns without using triggers? and if not what is the "on building complete" trigger...

    Also still having no luck on collision size so my units still get lost inside big buildings

    Posted in: Miscellaneous Development
  • 0

    posted a message on Custom Unit Rax's and Collision Size

    How do i go about adding a unit production que and custom units to a building. For example i would like for a spawning pool to be able to produce 2 zerglings like it was a barracks. Ive attempted adding abilities such as "Barracks - Train" but it adds all the barrack units and this seems like a messy way of doing it.... Please help!

    Also does anyone know how one increases the collision size of a building. I increased the size of a Command center and when units attack it they disapear inside if they are melee.

    Spores

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.