1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Respawn creeps with item table.

Discussion in 'Map Development' started by LoDown, Jan 6, 2005.

  1. LoDown

    LoDown

    Joined:
    Jul 2, 2004
    Messages:
    97
    Resources:
    6
    Icons:
    6
    Resources:
    6
    Hey, I need to make a trigger so that when a hostile creep dies it revives in 300 seconds with the original item table i gave it. I know how to do the create a new creep equal to the one that died after 300 seconds but i cant figure out how to give it an item table or better yet the one the triggering dieing unit had. Is this possible? If so please give me a hand.

    Edit: Heres the trigger i have right now.

    Creep Respawn
    Events
    Unit - A unit Dies
    Conditions
    (Owner of (Triggering unit)) Equal to Neutral Hostile
    Actions
    Wait 300.00 seconds
    Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at (Position of (Triggering unit)) facing (Position of (Triggering unit))

    Any ideas or any type of solution would be very appreciated.


    Thanks for reading,
    LoDown
     
  2. VampireKB

    VampireKB

    Joined:
    Nov 27, 2004
    Messages:
    471
    Resources:
    7
    Maps:
    7
    Resources:
    7
    http://www.wc3sear.ch/?p=Maps&ID=3213
    download it , i make there a trigger..it's not a table but something...

    _____________________
    EDIT

    there in a trigger mode.. it's consist only from 1 trigger wich name is "angry"
     
  3. LoDown

    LoDown

    Joined:
    Jul 2, 2004
    Messages:
    97
    Resources:
    6
    Icons:
    6
    Resources:
    6
    Ok, ive downloaded it, where can i find this thing you speak of?

    There are no triggeres named "angry"
     
  4. VGsatomi

    VGsatomi

    Webmaster's Council

    Joined:
    May 11, 2004
    Messages:
    3,159
    Resources:
    27
    Models:
    1
    Icons:
    1
    Maps:
    25
    Resources:
    27
    LoDown, that trigger you made there wont work. You can't reference a unit position of a unit that has been dead that long.

    But as making creeps with items tables, all you can really do is make a trigger where if a certain unit-type dies, it spawns a random level item at its position.
    -VGsatomi
     
  5. LoDown

    LoDown

    Joined:
    Jul 2, 2004
    Messages:
    97
    Resources:
    6
    Icons:
    6
    Resources:
    6
    Suxxor, im screwed then =P.
     
  6. LoDown

    LoDown

    Joined:
    Jul 2, 2004
    Messages:
    97
    Resources:
    6
    Icons:
    6
    Resources:
    6
    Would there be any kind of alternative trigger solution? Like a triggerish item table for each type of unit? Like:

    Event:
    Unit dies.
    Condition:
    Unit type of unit equal to Kobold.
    Action:
    [SOme type of item chance drops and stuff]
     
  7. VampireKB

    VampireKB

    Joined:
    Nov 27, 2004
    Messages:
    471
    Resources:
    7
    Maps:
    7
    Resources:
    7
    asi i said before Dl and you'll see
    there is :
    Event
    Unit Die
    Action:
    wait 300 seconds
    create 1 unit-type triggering unit at position of triggering unit with default looking angle
    add him an ability carrier (human)
    (hint: i change that ability from 2 to 6 slots)
    make random level ( -1 or the level of triggering unit or as you want but not a table:( ) item and give him to last created unit
    _______________________
    about that trigger:
    Directory: "passive angry units"
    trigger: "angry respawn"
    _________________________

    Emm i thought that triggering unit for now is the same with the dying one , and for what place of trigger did you tell that? Because some places are really needed "dying uniy"
     
  8. HardGamerDz

    HardGamerDz

    Joined:
    Jul 17, 2004
    Messages:
    347
    Resources:
    0
    Resources:
    0
    Instead of using Triggering Unit use Dying Unit... :wink: