• 🏆 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!

Elevator Maze?

Status
Not open for further replies.
Level 23
Joined
Oct 20, 2012
Messages
3,075
Hey guys, I need help in making an elevator maze.. I already have read this tutorial but when I looked at his sample trigger for the elevator maze, It was soooo long.. So Is there any way to make it shorter and much more random?



and BTW, theres a part in the middle of the elevator maze without an elevator coz I placed some kind of surprise for the player there.. just saying coz maybe that will change the trigger a bit.. :xxd:

posting sample trigger would be nice.. just as long I can understand what's being done
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
So this ended up being quite fun to make :)

The region is the position of the bottom left elevator.

Set the amount of elevators in the EGM Create trigger using
Set EGM_MaxX
Set EGM_MaxY
Set it to the number you want minus 1 (since it starts at 0)

In the Shuffle and Command triggers, you can see how to change the height of an elevator. The system (EGM Shift) handles the pathing changes.

The SFX were for testing, feel free to delete them in the EGM Shift trigger.
 

Attachments

  • ElevatorGridMaze003.w3x
    22.8 KB · Views: 71
Status
Not open for further replies.
Top