Husky
Local Lurker
- Reaction score
- 119
Hi,
I've got this annoying problem and I don't want to lots and lots of copying and pasting.
Okay this is what i've got...
Tagging Death
Events
Unit - A unit comes within 100.00 of Hider 0002 <gen>
Unit - A unit comes within 100.00 of Hider 0003 <gen>
Unit - A unit comes within 100.00 of Hider 0004 <gen>
Unit - A unit comes within 100.00 of Hider 0016 <gen>
Unit - A unit comes within 100.00 of Hider 0017 <gen>
Unit - A unit comes within 100.00 of Hider 0018 <gen>
Unit - A unit comes within 100.00 of Hider 0019 <gen>
Unit - A unit comes within 100.00 of Hider 0020 <gen>
Unit - A unit comes within 100.00 of Hider 0021 <gen>
Unit - A unit comes within 100.00 of Hider 0022 <gen>
Unit - A unit comes within 100.00 of Hider 0023 <gen>
Unit - A unit comes within 100.00 of Hider 0024 <gen>
Conditions
(Unit-type of (Triggering unit)) Not equal to Hider
Actions
Unit - Pause Hider 0002 <gen>
Unit - Pause Tagger 0000 <gen>
Set Tagger = (Owner of (Triggering unit))
Animation - Play Hider 0002 <gen>'s death animation
Animation - Play Tagger 0000 <gen>'s death animation
Wait 4.00 seconds
Animation - Play Hider 0002 <gen>'s stand animation
Animation - Play Tagger 0000 <gen>'s stand animation
Unit - Change ownership of Hider 0002 <gen> to (Owner of Tagger 0000 <gen>) and Change color
Unit - Change ownership of Tagger 0000 <gen> to Tagger and Change color
Unit - Move Tagger 0000 <gen> instantly to (Center of regionrandom[(Random integer number between 1 and 15)])
Unit - Move Hider 0002 <gen> instantly to (Center of regionrandom[(Random integer number between 1 and 15)])
Unit - Unpause Tagger 0000 <gen>
Unit - Unpause Hider 0002 <gen>
Okay as you can see under "Events" there is every Hider. But only Hider0002 is involved in all of them. I'm sure to get this to fully work for all the Hiders I have to copy and paste it on all options. Like for every Hider i'd have to do this 12 times:
Unit - Move Hider 0002 <gen> instantly to (Center of regionrandom[(Random integer number between 1 and 15)])
Because thats only Hider0002 does that mean I have to do it for 0003, 0004 etc.
Any ideas?
-Husky
I've got this annoying problem and I don't want to lots and lots of copying and pasting.
Okay this is what i've got...
Tagging Death
Events
Unit - A unit comes within 100.00 of Hider 0002 <gen>
Unit - A unit comes within 100.00 of Hider 0003 <gen>
Unit - A unit comes within 100.00 of Hider 0004 <gen>
Unit - A unit comes within 100.00 of Hider 0016 <gen>
Unit - A unit comes within 100.00 of Hider 0017 <gen>
Unit - A unit comes within 100.00 of Hider 0018 <gen>
Unit - A unit comes within 100.00 of Hider 0019 <gen>
Unit - A unit comes within 100.00 of Hider 0020 <gen>
Unit - A unit comes within 100.00 of Hider 0021 <gen>
Unit - A unit comes within 100.00 of Hider 0022 <gen>
Unit - A unit comes within 100.00 of Hider 0023 <gen>
Unit - A unit comes within 100.00 of Hider 0024 <gen>
Conditions
(Unit-type of (Triggering unit)) Not equal to Hider
Actions
Unit - Pause Hider 0002 <gen>
Unit - Pause Tagger 0000 <gen>
Set Tagger = (Owner of (Triggering unit))
Animation - Play Hider 0002 <gen>'s death animation
Animation - Play Tagger 0000 <gen>'s death animation
Wait 4.00 seconds
Animation - Play Hider 0002 <gen>'s stand animation
Animation - Play Tagger 0000 <gen>'s stand animation
Unit - Change ownership of Hider 0002 <gen> to (Owner of Tagger 0000 <gen>) and Change color
Unit - Change ownership of Tagger 0000 <gen> to Tagger and Change color
Unit - Move Tagger 0000 <gen> instantly to (Center of regionrandom[(Random integer number between 1 and 15)])
Unit - Move Hider 0002 <gen> instantly to (Center of regionrandom[(Random integer number between 1 and 15)])
Unit - Unpause Tagger 0000 <gen>
Unit - Unpause Hider 0002 <gen>
Okay as you can see under "Events" there is every Hider. But only Hider0002 is involved in all of them. I'm sure to get this to fully work for all the Hiders I have to copy and paste it on all options. Like for every Hider i'd have to do this 12 times:
Unit - Move Hider 0002 <gen> instantly to (Center of regionrandom[(Random integer number between 1 and 15)])
Because thats only Hider0002 does that mean I have to do it for 0003, 0004 etc.
Any ideas?
-Husky


