• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Dungeon System

Status
Not open for further replies.
Level 3
Joined
Jun 29, 2011
Messages
19
Hi ho , i need a dungeon system . Tried to do it by myself but failed ;/

1. If player 1/2/3.....8/9 type -enter move all units in xxxregion to xxxregion
2. If xxxunit dies move all heroes in xxxregion to xxxregion
3. If xxxunit dies move red to xxxregion blue to xxxregion ...... and do it for all players heroes, and spawn random item from a 3-4 items.

Like in Twilight's Eve ORPG
 
1. thats quit simple you need to create a unit group and add all the units in the region to that unit group then if/then/else "Your Region" contains unit owned by triggering player then unit move "Unit Group" to Center of "Your Region 2"

2.
Event
Unit Dies
If conditions
Unit type of triggering unit = "Boss"
Actions
Unit Move Instantly "Unit Group" to center of rect "Dungeon Part 2"

3. this bit is hard bit ill have to have a look into it im working on somthing simular

4. youll need this bit with the way i did it if some one dies you need to remove them from the unit group

Event
A Unit Dies
Conditions
Dying Unit is a Hero = True
Unit is in "Unit Group" = True
Actions
Unit Remove unit from "Unit Group"
IF/THEN/ELSE
Conditions
"Unit Group" contains no units (somthing like that ill have to check to morrow)
Then
Respawn Units here
Else
 
Status
Not open for further replies.
Top