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 haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  4. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  5. 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.

Doors and Resurrection Stones

Discussion in 'World Editor Help Zone' started by Aeliren, Sep 26, 2012.

  1. Aeliren

    Aeliren

    Joined:
    Sep 26, 2012
    Messages:
    15
    Resources:
    0
    Resources:
    0
    So, I'm working on my first project, a remake of the old pre-MoP Scarlet Monastery, and I'm having some trouble.

    I can't seem to get the Ressurection Stone to work. When I test the map, I bring the heroes near the ressurection stone, but it stays de-activated. Am I doing something wrong?

    Also, I made the Scarlet Key, to unlock the Cathedral/Armory/Herod's room doors, but whatever I do, either the doors open no matter what I do, or they don't open at all.

    Thanks!

    ~Ael
     
  2. Spartipilo

    Spartipilo

    Joined:
    Jul 14, 2011
    Messages:
    3,190
    Resources:
    0
    Resources:
    0
    What if we don't know what Pre-MoP Scarlet Monastery is? And what if we don't know anything about a Ressurection Stone and Door and de-activating issues?

    You're doing something wrong because otherwise you wouldn't be asking anything here. How can we know if you're doing something wrong, if you're not posting the map, nor explaining how the system should work, nor posting the triggers?
     
  3. Aeliren

    Aeliren

    Joined:
    Sep 26, 2012
    Messages:
    15
    Resources:
    0
    Resources:
    0
    ...I feel pretty stupid now.

    The door trigger is currently this:

    EVENTS
    Unit - A unit enters Region ____ <gen>
    CONDITIONS
    Item carried by (Ordered unit) in slot 1) Equal to Scarlet Key
    ACTIONS
    Destructible - Open Scarlet Gate (Vertical) <gen>


    You'd have to get the key, then walk in a Circle of Power in which I made a region which requires you to have the key in your inventory.

    As for the resurrection stones, they're the ones like those in the "Founding of Durotar" mission, that require you to move near them, but they don't work in my map. I'm just wondering if they needed a trigger or something.

    Sorry for the unclearness, hope it helps. This is the first time I work on a lasting WC3 project, actually. I'll try to upload the map as it is right now when I can.
     
  4. Aeliren

    Aeliren

    Joined:
    Sep 26, 2012
    Messages:
    15
    Resources:
    0
    Resources:
    0
    ...Aaand I think I posted this in the wrong place.
     
  5. Spartipilo

    Spartipilo

    Joined:
    Jul 14, 2011
    Messages:
    3,190
    Resources:
    0
    Resources:
    0
    Don't worry, moderators can move it to the right place. WE has the option to copy triggers as text. Just right click on it and paste it here between
    • tagsĀ”
    • Again, you speak about something that probably no one may know: Founding of Durotar. Forget about references, speak about what you need your system to do.
    • The Door trigger seems fine; it should work if the unit holds the key on the Slot 1 (Top Left corner) You should add the Data about the First Slot in the tooptip "Hold this Key on the Top-Left inventory slot to open the door"
     
  6. Radicool

    Radicool

    Joined:
    Mar 27, 2011
    Messages:
    1,148
    Resources:
    4
    Maps:
    4
    Resources:
    4
    Instead of saying "Put the item in slot 1", use this condition:

    • ((Triggering unit) has an item of type Sun Key) Equal to True


    That should check if the unit has the item or not, disregarding slot position. Much more convienent.
     
  7. TwoVenomous

    TwoVenomous

    Joined:
    Sep 11, 2011
    Messages:
    1,174
    Resources:
    1
    Skins:
    1
    Resources:
    1
    yeah, i know what you mean of "Founding of Durotar" (it's a warcraft III bonus campaign if i remember right) and you need a trigger to make resurrection stones work..

    if you have several resurrection stone in your map, you need to set the last resurrection stone you touch and make it glowing... this is how to do them..
    Setting Last Resurrection Stone
    • make the resurrection stone glowing
      • Events
        • Unit - A unit comes within 256.00 of Resurrection Stone (southeast facing) 0000 <gen>
      • Conditions
      • Actions
        • Set LastResurrectionStone = Resurrection Stone (southeast facing) 0000 <gen>
        • Animation - Play Resurrection Stone (southeast facing) 0000 <gen>'s stand work animation

    NOTE : LastResurrectionStone is a unit variable...
    256.00 is a default range, you could change it to whatever you want.


    and after you set the last resurrection stone, you need to make a trigger which revive the heroes after they died...

    Reviving unit at Last Resurrection Stone
    • make the resurrection stone reviving
      • Events
        • Unit - A unit Dies
      • Conditions
        • ((Triggering unit) is A Hero) Equal to True
      • Actions
        • Wait (how long it needs to revive) seconds
        • Hero - Instantly revive (Triggering unit) at (Position of LastResurrectionStone), Show revival graphics

    and if you want to make the resurrection stone to stop working, you do this

    • Animation - Play Resurrection Stone (southeast facing) 0000 <gen>'s stand animation


    if you want to make a resurrection stone working without glow, you do this

    • Animation - Play Resurrection Stone (southeast facing) 0000 <gen>'s stand alternate animation


    working and glowing

    • Animation - Play Resurrection Stone (southeast facing) 0000 <gen>'s stand work animation
     
  8. Elfansoer

    Elfansoer

    Joined:
    Aug 26, 2012
    Messages:
    122
    Resources:
    0
    Resources:
    0
    Err... TwoVenomous, your trigger is good, but if you turned it on, it'll always glowing, even if she chooses another R.Stone. So, I'll add the miss one.
    (Yeah, this is it:
    • Events
      • Unit - A unit comes within 256.00 of Resurrection Stone (southeast facing) 0000 <gen>
    • Conditions
    • Actions
      • Set LastResurrectionStone = Resurrection Stone (southeast facing) 0000 <gen>
      • Pick every unit in ((Playable map area) matching (is a Resurrection stone) and do actions
        • Actions
          • Animation - Play Picked unit's stand animation
      • Animation - Play Resurrection Stone (southeast facing) 0000 <gen>'s stand work animation

    Or, you can use array variables, and many more!)
     
  9. TwoVenomous

    TwoVenomous

    Joined:
    Sep 11, 2011
    Messages:
    1,174
    Resources:
    1
    Skins:
    1
    Resources:
    1
    will (playable map area) leaks ?
    this will do then..

    Hidden
    • make the resurrection stone glowing
      • Events
        • Unit - A unit comes within 256.00 of Resurrection Stone (southeast facing) 0000 <gen>
      • Conditions
      • Actions
        • Animation - Play LastResurrectionStone's stand animation
        • Set LastResurrectionStone = Resurrection Stone (southeast facing) 0000 <gen>
        • Animation - Play Resurrection Stone (southeast facing) 0000 <gen>'s stand work animation


    the last stone would be unglowing and the new would be glowing..
     
  10. Aeliren

    Aeliren

    Joined:
    Sep 26, 2012
    Messages:
    15
    Resources:
    0
    Resources:
    0
    Alright, thanks alot!
     
  11. Spartipilo

    Spartipilo

    Joined:
    Jul 14, 2011
    Messages:
    3,190
    Resources:
    0
    Resources:
    0
    Playable map area doesn't leak :) as well as "All Player" doesn't leak either