Several questions of varying topics

D

Dr4gonL0rd

Guest
1. If I create, say 30 units at some region, and then put the special effect of a red dragon's projectile on all of them, how would I (through triggers I suppose) destroy the special effect when one of those units dies? I dont want to destroy all of the FX on all of the units when one unit dies.

2. How do I put a special effect on the bottom of a unit? The WE wants me to convert string to w/e, but I cant seem to find the string that will make the FX play on the bottom of a unit. I've tried "bottom" and "underneath" help would be appreciated greatly.

3. Can a special effect be rotated? Or atleast have it facing a different direction when you create it? And would it be possible to make say, the FX of Ressurection (the paladin spell) be horizontal instead of vertical?

4. Can trigger memory leaks be fixed in ROC? Without using custom script?

5. How is it possible to get custom spells and other TFT only features ROC combatible? The people who made DOTA and Doomsday's Stand apparently figured it out, and I would really like to know how it is done.

Edit: New questions!

6. How can I 'add' abilities to a hero through triggers? Even 'item' abilites?

7. Does the Long Rifles upgrade actually 'add' range the unit that uses it? Or does it just set it to a higher range, assuming that the unit using it has 400 range like the rifleman?

Edit2: New question! lol

8. Do the upgrades "Creatures Carapace", "Leather Armor", "Iron Plating" and so on just add 1 addtional armor to the unit that uses it each time it is upgraded? And if I made a unit use all 3 of these upgrades, and I set all of them so they are all researched to the fullest level, would the unit be given an additional 9 armor?
 
Reaction score
149
1. Hmm.. You would have to store every special effect in array. Then, when one unit dies, create a loop that would look something like
Code:
Untitled Trigger 001
        For each (Integer A) from 1 to 30, do (Actions)
            Loop - Actions
                Special Effect - Destroy Effect[Integer A]

2. It's called "origin"

3.Only if you change the model itself. Or, mae it a dummy unit. Units can be rotated, you know :rolleyes:

4.Not sure.

5. Don't know either

6. "Unit - Add ability"

7. Yes, it adds the range.

8. Interesting idea! As far as I rememeber, you can increase defence by a fixed on upgrade, or by value on unit (Unit - Defence upgrade, or something like that). I think effects would stack.
 

Outbreak191

New Member
Reaction score
17
5. You have to edit slk files with an MPQ editor and the spells you make must be completely jass. It really isn't worth the time and effort when TFT is so cheap.
 
D

Dr4gonL0rd

Guest
Alright, thank you very much for that reply Afidamant! It was very helpful! :D
Im still waiting for an answer on #4, and just a little question, How much range does the upgrade "Long Rifles" add? I forget, and I dont have WC3 on this computer that Im using to post.
 

Azylaminaz

Vox Populi
Reaction score
91
You know what creats trigger leaks? Just try to avoid them by using the examples at the tutuorial on Memory leacks in the User Submitted section under WarCraft Tutorials in the navigation.
 
U

Unregister 2

Guest
1.Instead of adding special effects to the unit then deleting them (takes some triggering and causes links) just add a dummy icon-less item ability with the special effect(s).
 
U

Unregister 2

Guest
Sorry for double-post, but for some bizarre reason I can't edit my posts (do you need e-mail confirmation?)
Regardless, in my last post, by "links" I mean "leaks" and by "triggers" I mean "triggers".
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top