Post Reply

If you were logged in you would gain 3 XP for posting a reply.

Please respect our terms of use when participating in Nibbits.

Preview
Comment
We will show a masked version of your IP address as well as your name.

You are replying to:

  • Here are some simple triggers that can spawn units:

    First "create" the unit on the map:*

    Round 1 Red
    Events
    Time - Elapsed game time is 5.00 seconds
    Conditions
    Actions
    Set Red_Spawn = (Center of Create Spawn 1 )
    Unit - Create 1 Raccoon for Player 12 (Brown) at Red_Spawn facing Red_Spawn
    Custom script: call RemoveLocation (udg_Red_Spawn)

    Then designate an "order" for the unit that is created:

    Spawn 1 Red
    Events
    Unit - A unit enters Create Spawn 1
    Conditions
    (Owner of (Triggering unit)) Equal to Player 12 (Brown)
    Actions
    Unit - Order (Entering unit) to Attack-Move To (Center of Spawn Destination 1 )

    *You have to also create/destroy a variable for the place you want to create the unit because if you don't, a memory leak will crash your game.

    Lieutenant
    avatar

Support Nibbits by linking to us: