• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Loap(ship) all units

Status
Not open for further replies.
How I put that 1ship loap all units in x region? these units be maked by trigger.

For before post I have found the "error" not was the ships trigger but, alliance status... srry for before post.

Now I put the trigger for loap units; and run: but, when Trigger make 4 units the ship loap only one? how fix it?

MY problem-> My ship loap only one unit..
 
Last edited:
I have tried to this but don't run.. only one load in ship

  • make pirate ship
    • Events
      • Time - Every 15.00 seconds of game time
    • Conditions
      • (Number of units in (Units owned by Player 8 (Rosa) of type Pirate Ship)) Match 1
    • Stocks
      • Unit - Create 1 Transport Ship for Player 8 (Rosa) at (Center of building ships carrying pirated <gen>) facing default orientation of the buildings degrees
      • Unit - Create 2 Pirate Assault for Player 8 (Rosa) at (Center of pirates creation <gen>) facing default orientation of the buildings degrees
      • Group units - Order (Units in building pirate ships carrying <gen>) to upload (Last created unit)
      • Wait 0.10 seconds
      • Group units - Order (Units in building pirate ships carrying <gen>) to upload (Last created unit)
      • Unit - Create 4 Normal Pirate Ship for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Unit - Create 1 Battleship Piat for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Wait 8.00 seconds
      • Group units - Pick every unit in (Units in building pirate ships <gen>) and do (Actions)
        • Giro - Stocks
          • Group units - Order (Units in building pirate ships <gen>) to Attack - Go (Center of Region 007 <gen>)
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
You refer 2 times to 1 of the 2 Pirate Assaults, and both times it's the same Pirate Assault. I assume that 'upload' just means load. You need to set the created units into a unit group, pick all units in 'building pirate ships carrying <gen>' and then you use 'Unit - Order (Picked unit) to Load UNIT GROUP'
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
Well the point is that I don't completely get your trigger. I see 80% English and the rest is pretty much guessing what could fit there. 'upload' could be 'load', which would be likely when you said 'in the ship', but it has more in common with 'unload', so I don't really know what it is.

But since you know the trigger, it's very easy. Every time you create a unit that you want in the ship, you make a command 'Unit Group - Add (Last created unit) to UNIT GROUP'. Then you pick all units in 'building pirate ships carrying <gen>' and you make a command in the loop: 'Unit - Order (Picked unit) to Load UNIT GROUP'
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
Ah yes, I see. Well in that case, all you can do is either load the units as soon as they're created, or you can make a command where the created units go in a unit group and then board that ship. Like this:

  • Unit Group - Pick every unit in UNIT GROUP and do (Actions)
    • Loop - Actions
      • Unit - Order (Picked unit) to Board SHIP
 
I make ship unit variable and now?
  • make pirate ship
    • Events
      • Time - Every 15.00 seconds of game time
    • Conditions
      • (Number of units in (Units owned by Player 8 (Rosa) of type Pirate Ship)) Match 1
    • Stocks
      • Group units - Pick every unit in Pirate and do (Actions)
        • Giro - Stocks
      • Group units - Add all units of (Last created unit group) to Pirate
      • Unit - Order (Picked unit) to upload (Loading unit)
      • Unit - Create 1 Transport Ship for Player 8 (Rosa) at (Center of building ships carrying pirated <gen>) facing default orientation of the buildings degrees
      • Unit - Create 2 Pirate Assault for Player 8 (Rosa) at (Center of pirates creation <gen>) facing default orientation of the buildings degrees
      • Unit - Create 4 Normal Pirate Ship for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Unit - Create 1 Battleship Piat for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Wait 8.00 seconds
      • Group units - Pick every unit in (Units in building pirate ships <gen>) and do (Actions)
        • Giro - Stocks
          • Group units - Order (Units in building pirate ships <gen>) to Attack - Go (Center of Region 007 <gen>)
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
Huh? You first give the order to order all units in a unit group, and AFTER that, you fill the group with units that you haven't even created yet?

It's very simple.
-Create units
-Add created units to UNIT GROUP
-Pick all units in UNIT GROUP
-Order them to board SHIP
 
  • make pirate ship
    • Events
      • Time - Every 15.00 seconds of game time
    • Conditions
      • (Number of units in (Units owned by Player 8 (Rosa) of type Pirate Ship)) Match 1
    • Stocks
      • Unit - Create 2 Pirate Assault for Player 8 (Rosa) at (Center of pirates creation <gen>) facing default orientation of the buildings degrees
      • Group units - Add all units of (Last created unit group) to Pirate
      • Group units - Pick every unit in Pirate and do (Actions)
        • Giro - Stocks
      • Unit - Create 1 Transport Ship for Player 8 (Rosa) at (Center of building ships carrying pirated <gen>) facing default orientation of the buildings degrees
      • Unit - Order (Picked unit) Charge to Ship
      • Unit - Create 4 Normal Pirate Ship for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Unit - Create 1 Battleship Piat for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Wait 8.00 seconds
      • Group units - Pick every unit in (Units in building pirate ships <gen>) and do (Actions)
        • Giro - Stocks
          • Group units - Order (Units in building pirate ships <gen>) to Attack - Go (Center of Region 007 <gen>)
 
Today i view your post i now go to bed, if I again wrong pls put u the trigger lol XD

  • make pirate ship
    • Events
      • Time - Every 15.00 seconds of game time
    • Conditions
      • (Number of units in (Units owned by Player 8 (Rosa) of type Pirate Ship)) Match 1
    • Stocks
      • Group units - Add all units of (Last created unit group) to Pirate
      • Unit - Create 1 Transport Ship for Player 8 (Rosa) at (Center of building ships carrying pirated <gen>) facing default orientation of the buildings degrees
      • Group units - Pick every unit in Pirate and do (Actions)
        • Giro - Stocks
          • Unit - Create 2 Pirate Assault for Player 8 (Rosa) at (Center of pirates creation <gen>) facing default orientation of the buildings degrees
          • Group units - Add all units of (Last created unit group) to pirate2
          • Unit - Order (Picked unit) Charge to Ship
      • Unit - Create 4 Normal Pirate Ship for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Unit - Create 1 Battleship Piat for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Wait 8.00 seconds
      • Group units - Pick every unit in (Units in building pirate ships <gen>) and do (Actions)
        • Giro - Stocks
          • Group units - Order (Units in building pirate ships <gen>) to Attack - Go (Center of Region 007 <gen>)
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
What are you doing?
You first add units that don't exist to a unit group, then you create units, then you pick all units in an empty unit group, create 2 more units, add those to a different unit group and then you board all units in an empty unit group into the ship?

THIS is what you need:
  • Actions
    • Unit - Create 1 Transport Ship for Player 8 (Rosa) at (Center of building ships carrying pirated <gen>) facing default orientation of the buildings degrees
    • Group units - Add all units of (Last created unit group) to Pirate
    • Unit - Create 2 Pirate Assault for Player 8 (Rosa) at (Center of pirates creation <gen>) facing default orientation of the buildings degrees
    • Group units - Add all units of (Last created unit group) to Pirate
    • Group units - Pick every unit in Pirate and do (Actions)
      • Giro - Stocks
        • Unit - Order (Picked unit) to Board SHIP
 
don't load, 0 units load now
  • make pirate ship
    • Events
      • Time - Every 15.00 seconds of game time
    • Conditions
      • (Number of units in (Units owned by Player 8 (Rosa) of type Pirate Ship)) Match 1
    • Stocks
      • Unit - Create 1 Transport Ship for Player 8 (Rosa) at (Center of building ships carrying pirated <gen>) facing default orientation of the buildings degrees
      • Group units - Add all units of (Last created unit group) to Pirate_ship_transport
      • Unit - Create 2 Pirate Assault for Player 8 (Rosa) at (Center of pirates creation <gen>) facing default orientation of the buildings degrees
      • Group units - Add all units of (Last created unit group) to pirate2
      • Group units - Pick every unit in Pirate_ship_transport and do (Actions)
        • Giro - Stocks
          • Unit - Order (Picked unit) to Ship Boarding
      • Unit - Create 4 Normal Pirate Ship for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Unit - Create 1 Battleship Piat for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Wait 8.00 seconds
      • Group units - Pick every unit in (Units in building pirate ships <gen>) and do (Actions)
        • Giro - Stocks
          • Group units - Order (Units in building pirate ships <gen>) to Attack - Go (Center of Region 007 <gen>)






and where i can found mp3 of one peice in ita? I have tried with google but 0 found.... 1 opening ita but I don't like
 
Last edited:
Level 18
Joined
Aug 23, 2008
Messages
2,319
No, not load. just BOARD. Order the units in the unit group to BOARD the Ship.

What kind of sick language is your World Editor anyway?

If BOARD doesn't work, then use FORCE BOARD. It sounds drastic, so that should work. (Whatever it does)
 
I have tryed all your option before you posting, but 0 board in ship T_T.

0 board again.
  • make pirate ship
    • Events
      • Time - Every 15.00 seconds of game time
    • Conditions
      • (Number of units in (Units owned by Player 8 (Rosa) of type Pirate Ship)) Match 1
    • Stocks
      • Set Ship = (Picked unit)
      • Unit - Create 1 Transport Ship for Player 8 (Rosa) at (Center of building ships carrying pirated <gen>) facing default orientation of the buildings degrees
      • Group units - Add all units of (Last created unit group) to Pirate_ship_transport
      • Unit - Create 2 Pirate Assault for Player 8 (Rosa) at (Center of pirates creation <gen>) facing default orientation of the buildings degrees
      • Group units - Add all units of (Last created unit group) to pirate2
      • Group units - Pick every unit in Pirate_ship_transport and do (Actions)
        • Giro - Stocks
          • Unit - Order (Picked unit) to boarding Force Ship
      • Unit - Create Normal Pirate Ship 3 for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Unit - Create 1 Battleship Piat for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
      • Wait 8.00 seconds
      • Group units - Pick every unit in (Units in building pirate ships <gen>) and do (Actions)
        • Giro - Stocks
          • Group units - Order (Units in building pirate ships <gen>) to Attack - Go (Center of Region 007 <gen>)
 
this is new trigger;the trigger of before is cancelled. look; don't run this

  • make pirate ship
    • Events
      • Time - Every 15.00 seconds of game time
    • Conditions
      • (Number of units in (Units owned by Player 8 (Rosa) of type Pirate Ship)) Match 1
    • Stocks
      • Unit - Create 1 Transport Ship for Player 8 (Rosa) at (Center of building ships carrying pirated <gen>) facing default orientation of the buildings degrees
      • Group units - Add all units of (Last created unit group) to Pirate
      • Unit - Create 1 for player Pirate Assault 8 (Rosa) at (Center of pirates creation <gen>) facing default orientation of the buildings degrees
      • Group units - Add all units of (Last created unit group) to Pirate
      • Group units - Pick every unit in Pirate and do (Actions)
        • Giro - Stocks
          • Unit - Order (Picked unit) to boarding Force Ship
is equal to your up, see?
 
Status
Not open for further replies.
Top