- Joined
- May 8, 2020
- Messages
- 83
Transfiguration 1
Events
Unit - A unit enters Region 025 <gen>
Conditions
And - All (Conditions) are true
Conditions
((Entering unit) has an item of type Item change 1) Equal to True
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Set Item[(Integer A)] = (Item-type of (Item carried by (Triggering unit) in slot (Integer A)))
Unit - Remove (Last created unit) from the game
Unit - Create 1 Hell monster ONE for (Owner of (Triggering unit)) at (Center of Enter Hero 005 <gen>) facing (Position of (Triggering unit))
Game - Display to (All players) the text: (Player + ((Name of (Triggering player)) + ( |rHas Transform + ((Name of (Last created unit)) + And Entered The Arena))))
Camera - Pan camera for (Triggering player) to (Position of (Last created unit)) with height 1500.00 above the terrain over 0.00 seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the overhead of (Last created unit) using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
Hero - Create Item[(Integer B)] and give it to (Last created unit)
Item - Remove (Item carried by (Last created unit) of type Item change 1)
Custom script: call RemoveLocation (udg_point)
Unit - Remove (Entering unit) from the game
Transfiguration 2
Events
Unit - A unit enters Region 025 <gen>
Conditions
And - All (Conditions) are true
Conditions
((Entering unit) has an item of type Item change 2) Equal to True
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Set Item[(Integer A)] = (Item-type of (Item carried by (Triggering unit) in slot (Integer A)))
Unit - Remove (Last created unit) from the game
Unit - Create 1 Hell monster TWO for (Owner of (Triggering unit)) at (Center of Enter Hero 005 <gen>) facing (Position of (Triggering unit))
Game - Display to (All players) the text: (Player + ((Name of (Triggering player)) + ( |rHas Transform + ((Name of (Last created unit)) + And Entered The Arena))))
Camera - Pan camera for (Triggering player) to (Position of (Last created unit)) with height 1500.00 above the terrain over 0.00 seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the overhead of (Last created unit) using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
Hero - Create Item[(Integer B)] and give it to (Last created unit)
Item - Remove (Item carried by (Last created unit) of type Item change 2)
Custom script: call RemoveLocation (udg_point)
Unit - Remove (Entering unit) from the game
Question:
How to when the person holds 2 items at the same time (Item change 1) (Item change 2) will not create 2 heroes at the same time? it will select the mask positioned higher
for example (Item change 2) is placed in cell number 2 and (Item change 1) in cell number 6 so it will select cell number 2
further :
Is there a way to make the map only use up to 2 heroes for every player?
Events
Unit - A unit enters Region 025 <gen>
Conditions
And - All (Conditions) are true
Conditions
((Entering unit) has an item of type Item change 1) Equal to True
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Set Item[(Integer A)] = (Item-type of (Item carried by (Triggering unit) in slot (Integer A)))
Unit - Remove (Last created unit) from the game
Unit - Create 1 Hell monster ONE for (Owner of (Triggering unit)) at (Center of Enter Hero 005 <gen>) facing (Position of (Triggering unit))
Game - Display to (All players) the text: (Player + ((Name of (Triggering player)) + ( |rHas Transform + ((Name of (Last created unit)) + And Entered The Arena))))
Camera - Pan camera for (Triggering player) to (Position of (Last created unit)) with height 1500.00 above the terrain over 0.00 seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the overhead of (Last created unit) using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
Hero - Create Item[(Integer B)] and give it to (Last created unit)
Item - Remove (Item carried by (Last created unit) of type Item change 1)
Custom script: call RemoveLocation (udg_point)
Unit - Remove (Entering unit) from the game
Transfiguration 2
Events
Unit - A unit enters Region 025 <gen>
Conditions
And - All (Conditions) are true
Conditions
((Entering unit) has an item of type Item change 2) Equal to True
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Set Item[(Integer A)] = (Item-type of (Item carried by (Triggering unit) in slot (Integer A)))
Unit - Remove (Last created unit) from the game
Unit - Create 1 Hell monster TWO for (Owner of (Triggering unit)) at (Center of Enter Hero 005 <gen>) facing (Position of (Triggering unit))
Game - Display to (All players) the text: (Player + ((Name of (Triggering player)) + ( |rHas Transform + ((Name of (Last created unit)) + And Entered The Arena))))
Camera - Pan camera for (Triggering player) to (Position of (Last created unit)) with height 1500.00 above the terrain over 0.00 seconds
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the overhead of (Last created unit) using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
Hero - Create Item[(Integer B)] and give it to (Last created unit)
Item - Remove (Item carried by (Last created unit) of type Item change 2)
Custom script: call RemoveLocation (udg_point)
Unit - Remove (Entering unit) from the game
Question:
How to when the person holds 2 items at the same time (Item change 1) (Item change 2) will not create 2 heroes at the same time? it will select the mask positioned higher
for example (Item change 2) is placed in cell number 2 and (Item change 1) in cell number 6 so it will select cell number 2
further :
Is there a way to make the map only use up to 2 heroes for every player?