spawn units

Discussion in 'Mod Discussions' started by startege1, August 2, 2015.

  1. startege1

    startege1 Active Member

    Messages:
    355
    Likes Received:
    58
    Hi,

    Is there a way to have a spawn unit when she dies. For example, if a boombot exploded spawns a new unit.

    german:
    hi,

    gibt es eine möglichkeit eine einheit spawnen zu lassen wenn sie stirbt. Beispielsweise wenn ein boombot explodiert spawnt eine neue einheit.
  2. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    The only way I know to do this would be javascript watching death events and using sandbox (cheat) features.

    Der einzige Weg, ich weiß, dies zu tun, wäre Javascript beobachten Tod Veranstaltungen und mit Sandkasten (Cheat) Funktionen.
  3. startege1

    startege1 Active Member

    Messages:
    355
    Likes Received:
    58
    Hi, @wondible , @cola_colin

    How can you build a unit in a factory, if you click on the number of units at the same time come out (different units).

    in german
    Wie kann man in einer fabrik eine einheit bauen, wenn man die anklickt mehrere einheiten gleichzeitig rauskommen (verschiedene einheiten).
  4. zx0

    zx0 Well-Known Member

    Messages:
    295
    Likes Received:
    319
    Actually tere is a flag "spawn_unit_on_death".
    Example: "spawn_unit_on_death":"/pa/units/land/bot_factory/bot_factory.json"
    stuart98 likes this.
  5. startege1

    startege1 Active Member

    Messages:
    355
    Likes Received:
    58
    cool and how I can build the same time in a factory, 2 or more units.
    @zx0
    und wie kann ich in einer fabrik, 2 oder mehr einheiten gleichzeitig bauen
    Last edited: August 5, 2015
  6. zx0

    zx0 Well-Known Member

    Messages:
    295
    Likes Received:
    319
    I don't think that's possible. :(
  7. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Woa... is this another of those regen things they snuck in?
    stuart98 likes this.
  8. zx0

    zx0 Well-Known Member

    Messages:
    295
    Likes Received:
    319
    Apparently, wonder what's going on.
    stuart98 likes this.
  9. startege1

    startege1 Active Member

    Messages:
    355
    Likes Received:
    58
  10. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Woah, that's amazing. Time to mess with push classes of everything.

    Oh my...

    Boom bots...
  11. ace63

    ace63 Post Master General

    Messages:
    1,067
    Likes Received:
    826
    Can you spawn wrecks that way with different push classes? That would be awesome.
    stuart98 likes this.
  12. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    This actually might be useful for a new faction mod :-D
    Nicb1, cdrkf and stuart98 like this.
  13. startege1

    startege1 Active Member

    Messages:
    355
    Likes Received:
    58
    in my mod power units there are 2 such units. But the wrecks should make out. (the Buggen each other)
    or mod booming factory
  14. cdrkf

    cdrkf Post Master General

    Messages:
    5,721
    Likes Received:
    4,793
    Do I sense a Command and Conquer 'battle bus' type unit coming? :D
  15. startege1

    startege1 Active Member

    Messages:
    355
    Likes Received:
    58
    hi, Dox shot units:

    DeathByDenim likes this.

Share This Page