• 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.

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