| 12-30-2006, 09:22 PM | #1 |
Ok so everything works. And have spell that is global. What it does picks all the heros on the map and does shadow stirke on them. Which works great any everything. So when i lvl up the dummy spell the global spell lvl goes up as well which is what i want. But when i use the custom script to get that unit to cast the spell it only casts it at a lvl. I even told it not cast and checked and the spell is correct. But it only cast that spell at lvl1 no matter what. i am not sure if i am explain it well or not. but if u need to explain it better i guess just ask. Thank for any help you can provide. |
| 12-30-2006, 09:47 PM | #2 |
I think you'd have to ellaborate a little more, like posting some of the code |
| 12-31-2006, 07:17 AM | #3 |
Sure i will post tmw when i am at work. Thank for the fast responde. |
| 12-31-2006, 04:12 PM | #4 |
Here you go if need to explain my code i will. I am new to the trigger thing so it might not be the best way of doing what i want but it will get it down. Here the pic. |
| 12-31-2006, 04:29 PM | #5 |
I think there's a different function you need to use to cast the ability with the caster at a different level. I don't use the caster system so I'm not sure. |
| 12-31-2006, 05:12 PM | #6 |
You have to use CasterCastAbilityLevel Trigger: ![]() set level = (Level of (lightning strike) for (Casting Unit))![]() Custom Script: call CasterCastAbilityLevel( GetOwningPlayer(udg_Caster), 'A00D', udg_level, "chainlightning", udg_UnitVar, true)(use [trigger] tags next time you want to post gui code |
| 12-31-2006, 06:19 PM | #7 |
Sorry i don't know how to do use the trigger tags new to the forms. Thank for that script worked like a charm. Can i ask one more thing do i need to lvl the spell that on the unit is casting. to make it more clear. The use that is create the spell he is going to cast. Do i need to lvl or will the scirpt cast it at the correct lvl. Nm i took that trigger to lvl the real spell and it worked fine thank for your help sooo much. |
