• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Elevator trigger help

Status
Not open for further replies.
Level 3
Joined
Jun 18, 2008
Messages
28
Okay, for my map (Dungeon Companion) it's using elevators, and I am not sure how to code it properly. Been searching for tutorials on this and still nothing.

Here is my script as of now:
  • Elevator 1
    • Events
      • Unit - A unit enters Footswitch 1 <gen>
    • Conditions
    • Actions
      • Destructible - Kill Foot Switch 0012 <gen>
      • Destructible - Set height of Elevator (2) 0000 <gen> to 2
      • Destructible - Close All walls of Elevator (2) 0000 <gen>
      • Wait 1.00 seconds
      • Destructible - Open South wall of Elevator (2) 0000 <gen>
      • Wait 1.00 seconds
      • Destructible - Open North wall of Elevator (2) 0000 <gen>
  • Elevator 1 II
    • Events
      • Unit - A unit leaves Footswitch 1 <gen>
    • Conditions
    • Actions
      • Destructible - Resurrect Foot Switch 0012 <gen> with (Max life of (Last created destructible)) life and Hide birth animation
      • Destructible - Set height of Elevator (2) 0000 <gen> to 1
      • Destructible - Close All walls of Elevator (2) 0000 <gen>
      • Wait 1.00 seconds
      • Destructible - Open All walls of Elevator (2) 0000 <gen>
Can somebody please help me out?
Thanks, Phoenix
 

Attachments

  • WC3ScrnShot_011509_183549_02.jpg
    WC3ScrnShot_011509_183549_02.jpg
    269.9 KB · Views: 81
Level 18
Joined
Aug 23, 2008
Messages
2,319
You set height to 1 and 2. To give you a little idea of how high that is: The model height of a footman at 1.00 scale is about 100. To check the height difference between the lower and upper floor, hover your mouse over those terrains in the World Editor. Then you'll see in the lower-left corner of the screen the X, Y & Z position. The Z position (last number) is the height. Change your 'Set height' commands to those heights.
 
Status
Not open for further replies.
Top