- Joined
- Jul 18, 2007
- Messages
- 111
-Is the only way to remove an item from a shop after use, vie trigger?
-How do you remove the number "1" indentation on the bottom right hand corner of the icon from the ability being sold in my shop?
-I'm trying to pick multiple types of units to either kill or move, but I've tried and AND or and both haven't worked =/.
-How do you remove the number "1" indentation on the bottom right hand corner of the icon from the ability being sold in my shop?
-I'm trying to pick multiple types of units to either kill or move, but I've tried and AND or and both haven't worked =/.
-
Beacon of Deception Red
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
(BeaconofDeception[1] is alive) Equal to True
-
-
Actions
-
Set temp_group = (Units in (Playable map area)(((Unit-type of (Picked unit)) Equal to |c000000ffWar Hawk) and (((Unit-type of (Picked unit)) Equal to |cFF333333Skittering Horror) and (((Unit-type of (Picked unit)) Equal to |c00800080Dark Elf Archer) and (((Unit-type of (Picke
-
Unit Group - Order temp_group to Move To (Center of Center <gen>)
-
Custom script: call DestroyGroup (udg_temp_group)
-
-
-
Death Shroud Red
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
(DeathShroud[1] is alive) Equal to True
-
-
Actions
-
Set temp_group = (Units in (Playable map area)(((Unit-type of (Matching unit)) Equal to |c00800080Dark Elf Archer) and (((Unit-type of (Matching unit)) Equal to |c00800080Corrupted Ancient) and (((Unit-type of (Matching unit)) Equal to |c00800080Vile Corruptor) and (((Unit-ty
-
Unit Group - Pick every unit in temp_group and do (Unit - Kill (Picked unit))
-
Custom script: call DestroyGroup (udg_temp_group)
-
-
-
Web of Corruption Red
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
(WebofCorruption[1] is alive) Equal to True
-
-
Actions
-
Set temp_group = (Units in Red Base <gen>(((Matching unit) belongs to an enemy of Player 1 (Red)) Equal to True))
-
Unit Group - Pick every unit in temp_group and do (For each (Integer A) from 1 to 1000000000, do (Unit - Change ownership of (Picked unit) to Player 1 (Red) and Change color))
-
Custom script: call DestroyGroup (udg_temp_group)
-
-
-
Mana Draw
-
Events
-
Unit - A unit enters Mana Draw <gen>
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to |cffffcc00Slave
-
-
Actions
-
Game - Display to (Owner of (Triggering unit)), at offset (0.00, 0.00) the text: |c00d9d9ffYou cast ...
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Triggering unit) is owned by Player 1 (Red)) Equal to True
-
((Owner of (Triggering unit)) Current gold) Greater than or equal to 5000
-
(Number of units in (Units in Red Spawn <gen>((Unit-type of (Matching unit)) Equal to |c00ff0000Orc Raider))) Equal to 10
-
-
Then - Actions
-
Set temp_group = (Units in Red Spawn <gen>((Number of units in (Units in Red Spawn <gen>((Unit-type of (Matching unit)) Equal to |c00ff0000Orc Raider))) Equal to 10))
-
Unit Group - Pick every unit in temp_group and do (Actions)
-
Loop - Actions
-
Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) + 4000)
-
Unit - Kill (Matching unit)
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
Set temp_point = (Center of Mana Draw Finish <gen>)
-
Unit - Move (Triggering unit) instantly to temp_point
-
Custom script: call RemoveLocation (udg_temp_point)
-
-