To phyrex1an
thank you for the detialed response, I appreciate it
Ill take your advice on Tendril Blast and do that, I jsut wasnt sure if removing the spieks right after making them would remove them from site in the game or not, so I jsut removed them all at the end, also, since I do have a lot of variables the way it is, how would I remove all of them so that they dont leak, such as dummy_integer for each and tendril_integer, of course that dont matter if you can just remove the SE right after making them
then also setting tendril_caster and tendril_player, do those leak the way they are, cuz I never remove them or set them to null or nothing
ill tkae your adive on the things, how can I make it so the caster isnt moved to middle of screen if there are not targets? I use both expiration timers and killing/removing cuz I heard E.T.'s leak, so I put them in jsut so I dont have a bunch of units just chilling the whole length of the spell, then I remove them all at the end to get rid of leaks, I use x/y coordinates cuz it looked better when being cast ,then jsut creating the dummy at the caster position, does it leak, and if so how can I remove array variables that leak
sand storm, again I use both E.T. and rmoval because I heard exp. timers leak, and I figure I'll just cover all bases while I am at it, also do integer variables leak such as sand_storm_level?
get over here, again x/y corrdinates because the spot the dummy is made looks better, why does it create leaks and again how can I get rid of array variable leaks, and how can I get rid of real varaible leaks such as pull_ang
could you maybe tell me all the leaks, so I can fix them, if they have not been covered above
as for JASS, if I say changed those triggers to custom script, I could understand them completely, but that still does not get rid of the leaks, cuz how they are written when converted is prolly how I would have written them in JASS myself, what would be awesome, is if maybe you could take a look at them, write them in JASS yourself so I can take a look, I know this is asking a lot, but if you have the time it would be awesome!
As for all damaging spells, well basically I was trying to make a bunch of custom spells, that looked neat and were effective, it just so happened that they were all damaging spells, again ty for reviewing for me!
BTW, I'll add a revive for those of you..:cough: phyrex1an :cough: die with a lvl 15 hero against lvl 1 creeps....
alright I tried to remake tendril blast, but it the trigger did not work, I tink it is in the conditon part
Code:
Tendril Blast Test
Events
Unit - A unit Starts the effect of an ability
Conditions
(String((Current order of (Triggering unit)))) Equal to starfall
Actions
Set Tendril_Caster = (Casting unit)
Unit - Create 1 Dummy Caster for Tendril_Player at ((Position of Tendril_Caster) offset by ((Random real number between -700.00 and 700.00), (Random real number between -700.00 and 700.00))) facing Default building facing degrees
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Undead\Impale\ImpaleHitTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit - Set level of Tendril Blast Damage (Neutral Hostile 1) for (Last created unit) to (Level of Tendril Blast for Tendril_Caster)
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
Wait 0.05 seconds
Unit - Create 1 Dummy Caster for Tendril_Player at ((Position of Tendril_Caster) offset by ((Random real number between -700.00 and 700.00), (Random real number between -700.00 and 700.00))) facing Default building facing degrees
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Undead\Impale\ImpaleHitTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit - Set level of Tendril Blast Damage (Neutral Hostile 1) for (Last created unit) to (Level of Tendril Blast for Tendril_Caster)
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
Wait 0.05 seconds
Trigger - Run (This trigger) (checking conditions)