• 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] player computer order go in ship

Status
Not open for further replies.
Level 6
Joined
Sep 13, 2008
Messages
261
I think, but haven't tested. Order them to go in by ordering them to right click the boat. Order the boat to move to point.

Then when boat enters region landing zone, order unload all center of region.

The region should be in shallow water.


I can't check for the unload all order because I have to reinstall warcraft later this weak but you can probably find it in unit orders.
 
ok ty i now post my trigger but new error... fatal error uff. What I wrong?

  • make pirate ship
    • Events
      • Time - Every 7.00 seconds of game time
    • Conditions
    • Stocks
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Number of units in (Units of type (Unit-type of Pirate Ship 0203 <gen>))) Same as 1
        • Then - Actions
          • Unit - Create 5 Pirate Assault for Player 8 (Rosa) at (Center of pirates creation <gen>) facing default orientation of the buildings degrees
            • Group units - Pick every unit in (Units in creating <gen> pirates) and do (Group units - Order (Units in building pirate ships carrying <gen>) to Gates (Last created unit))
            • Unit - Create 1 Battleship Piat for Player 8 (Rosa) at (Center of building pirate ships <gen>) facing default orientation of the buildings degrees
            • Unit - Create 2 Transport Ship for Player 8 (Rosa) at (Center of building ships carrying pirated <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
            • Wait 7.00 seconds
            • Group units - Pick every unit in (Units in building pirate ships <gen>) and do (Group units - Order (Units in building pirate ships <gen>) to Attack - Go (Center of loguetown <gen>))
  • Otherwise - Stocks
I HERE TRY TO PUT A SCRIPT NAME >>>>>>call DESTROYGROUP (UDG_tEMP_GROUP) BUT ALWAYS FATAL ERROR t_t<<<<<


  • arine make
    • Events
      • Time - Every 7.00 seconds of game time
    • Conditions
    • Stocks
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Number of units in (Units of type (Unit-type of Ship Starting 0015 <gen>))) Same as 1
        • Then - Actions
          • Unit - Create 1 BusterCall ship for Player 9 (Gray) at (Center of Region 007 <gen>) facing default orientation of the buildings degrees
          • Unit - Create 2 Marine Transport for Player 9 (Gray) at (Center of Region 007 <gen>) facing default orientation of the buildings degrees
          • Unit - Create 4 Navy assault ship for Player 9 (Gray) at (Center of Region 007 <gen>) facing default orientation of the buildings degrees
          • Wait 7.00 seconds
          • Group units - Pick every unit in (Units in Region 007 <gen>) and do (Group units - Order (Units in Region 007 <gen>) to Attack - Go (Center creation of pirate ships <gen>) )
        • Otherwise - Stocks

  • download pirates
    • Events
      • * Unit - A unit enters loguetown <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Transport Ship
    • Stocks
      • Unit - Order (Triggering unit) to download everything (Center of loguetown <gen>)
 
Last edited:
Level 14
Joined
Jul 1, 2008
Messages
1,314
hm i cant find ayn error for now, but you trigger very complicated oO.

Well, for the Custom Script, you must know, that jass is CASE_SENSITIVE.

That means, the correct script would be
call DestroyGroup(udg_TempGroup) or however you spelled your group.

But in guy its anyways better to just put this before you pick a unitgroup, and want it to get destroyed after the pick-action.

  • Custom Script: set bj_wantDestroyGroup = true
Maybe you could try to delete some parts of the triggers, and try if you still get the error. You can find it like this

Greets
 
Status
Not open for further replies.
Top