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

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