- Joined
- Apr 13, 2005
- Messages
- 630
Well I'm making an orpg. Its a basic dungeon nothing really special. Only problem is I'm a noob at this system and cant figure out how to work this. its my own triggering so it maybe messy. My problem bug is that the unit will enter and die in dungeon but spawning creeps is the problem. Its more of trigger one i believe.
-
Wolf dungeon spawn
-
Events
- Unit - A unit enters Dungeon Enterence 1 <gen>
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Entering unit) is A Hero) Equal to True
- (Number of units in (Units in Creepdungeonremoval <gen>)) Equal to 0
-
Conditions
-
And - All (Conditions) are true
-
Actions
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Boss <gen>) facing 90.00 degrees
- Set Dungeon1creep[1] = (Last created unit)
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Boss <gen>) facing 90.00 degrees
- Set Dungeon1creep[2] = (Last created unit)
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Boss <gen>) facing 90.00 degrees
- Set Dungeon1creep[3] = (Last created unit)
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Boss <gen>) facing 90.00 degrees
- Set Dungeon1creep[4] = (Last created unit)
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Boss <gen>) facing 90.00 degrees
- Set Dungeon1creep[5] = (Last created unit)
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 063 <gen>) facing 90.00 degrees
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 063 <gen>) facing 90.00 degrees
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 064 <gen>) facing 90.00 degrees
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 064 <gen>) facing 90.00 degrees
- Unit - Create 1 Pack Leader for Neutral Passive at (Center of Region 065 <gen>) facing 90.00 degrees
- Unit - Create 1 Ghost Wolf for Neutral Passive at (Center of Region 066 <gen>) facing 270.00 degrees
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 80.00% transparency
- Unit - Create 1 Ghost Wolf for Neutral Passive at (Center of Region 067 <gen>) facing 270.00 degrees
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 80.00% transparency
- Unit - Create 1 Ghost Wolf for Neutral Passive at (Center of Region 068 <gen>) facing 270.00 degrees
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 80.00% transparency
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 069 <gen>) facing 120.00 degrees
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 069 <gen>) facing 120.00 degrees
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 069 <gen>) facing 120.00 degrees
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 069 <gen>) facing 120.00 degrees
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 069 <gen>) facing 120.00 degrees
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 069 <gen>) facing 120.00 degrees
- Unit - Create 1 Baby wolf for Neutral Passive at (Random point in Region 069 <gen>) facing 120.00 degrees
- Unit - Create 1 Pack Leader for Neutral Passive at (Random point in Region 069 <gen>) facing 120.00 degrees
- Unit - Create 1 Pack Leader for Neutral Passive at (Random point in Region 070 <gen>) facing 90.00 degrees
- Unit - Create 1 Pack Leader for Neutral Passive at (Random point in Region 070 <gen>) facing 90.00 degrees
- Unit - Create 1 Ghost Wolf for Neutral Passive at (Random point in Region 071 <gen>) facing 270.00 degrees
- Set Dungeon1creep[6] = (Last created unit)
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 80.00% transparency
- Unit - Create 1 Ghost Wolf for Neutral Passive at (Random point in Region 071 <gen>) facing 270.00 degrees
- Set Dungeon1creep[7] = (Last created unit)
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 80.00% transparency
- Unit - Create 1 Ghost Wolf for Neutral Passive at (Random point in Region 071 <gen>) facing 270.00 degrees
- Set Dungeon1creep[8] = (Last created unit)
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 80.00% transparency
- Unit - Create 1 Ghost Wolf for Neutral Passive at (Random point in Region 071 <gen>) facing 270.00 degrees
- Set Dungeon1creep[9] = (Last created unit)
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 80.00% transparency
- Unit - Create 1 Alpha Leader for Neutral Passive at (Center of Region 073 <gen>) facing 270.00 degrees
- Set Dungeon1creep[10] = (Last created unit)
- Trigger - Turn off (This trigger)
-
Events
-
Unit who enter
-
Events
- Unit - A unit enters Dungeon Enterence 1 <gen>
-
Conditions
- ((Entering unit) is A Hero) Equal to True
-
Actions
- Game - Display to (Player group((Owner of (Entering unit)))) the text: You have entered "T...
- Unit - Move (Entering unit) instantly to (Random point in Dungeon one <gen>), facing 270.00 degrees
- Unit Group - Add (Entering unit) to Dungeongroup
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in (Units in Creepdungeonremoval <gen>)) Equal to 0
-
Then - Actions
- Trigger - Turn on Wolf dungeon spawn <gen>
-
Else - Actions
- Do nothing
-
If - Conditions
-
Events
-
Unit Dies
-
Events
- Unit - A unit Dies
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- (Dungeon1creep[1] is dead) Equal to True
- (Dungeon1creep[2] is dead) Equal to True
- (Dungeon1creep[3] is dead) Equal to True
- (Dungeon1creep[4] is dead) Equal to True
- (Dungeon1creep[5] is dead) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Destructible - Pick every destructible in Kill Trees1 <gen> and do (Destructible - Kill (Picked destructible))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- (Dungeon1creep[6] is dead) Equal to True
- (Dungeon1creep[7] is dead) Equal to True
- (Dungeon1creep[8] is dead) Equal to True
- (Dungeon1creep[9] is dead) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Destructible - Pick every destructible in Kill Trees2 <gen> and do (Destructible - Kill (Picked destructible))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Dying unit) is A Hero) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Unit Group - Remove (Dying unit) from Dungeongroup
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in Dungeongroup) Equal to 0
-
Then - Actions
-
Unit Group - Pick every unit in (Units in Creepdungeonremoval <gen> owned by Neutral Hostile) and do (Actions)
-
Loop - Actions
- Unit - Remove (Picked unit) from the game
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Creepdungeonremoval <gen> owned by Neutral Hostile) and do (Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Dying unit) Equal to Dungeon1creep[10]
-
Then - Actions
- Game - Display to (All players) the text: Good job you have d...
-
Unit Group - Pick every unit in (Units in Creepdungeonremoval <gen> owned by Player 1 (Red)) and do (Actions)
-
Loop - Actions
- Unit - Move (Picked unit) instantly to (Center of hero revive <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Creepdungeonremoval <gen> owned by Player 2 (Blue)) and do (Actions)
-
Loop - Actions
- Unit - Move (Picked unit) instantly to (Center of hero revive <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Creepdungeonremoval <gen> owned by Player 3 (Teal)) and do (Actions)
-
Loop - Actions
- Unit - Move (Picked unit) instantly to (Center of hero revive <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Creepdungeonremoval <gen> owned by Player 4 (Purple)) and do (Actions)
-
Loop - Actions
- Unit - Move (Picked unit) instantly to (Center of hero revive <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Creepdungeonremoval <gen> owned by Player 5 (Yellow)) and do (Actions)
-
Loop - Actions
- Unit - Move (Picked unit) instantly to (Center of hero revive <gen>)
-
Loop - Actions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events