Generating items at a structure

T

TheHound

Guest
Hi, in the map I'm currently working on, you have to build a building which spawns a specific type of item next to the building every 5seconds. I can't seem to get the item spawn right. =\

Help would be appreciated. =]
 
T

TheHound

Guest
Oh wait, i figured it out, I'll post the trigger anyway though.
Code:
Snowball gen
    Events
        Time - Every 5.00 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in (Units of type Snowball Generator) and do (Actions)
            Loop - Actions
                Item - Create Snowball at (Position of (Picked unit))

It was so simple, i feel so stupid now =.=
 

joaoac

Active Member
Reaction score
11
I think you can use Create Item at position on Snowball Generator with polar offset.
Why did you choose pick every unit???
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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