| 09-10-2008, 05:35 PM | #1 |
im also member on hive and i dont get so much help from there i think.... so i wondering if there are any good spell makers im total noob at making spells and my spells leaks like hell.... so if some one wana help me plz post coment or if u could actually do some of my spells i want give me a pm or a comment here :) hmm but my english is garbage as u see |
| 09-10-2008, 05:51 PM | #2 |
You can post your spells here, with full explanation about what they should do and your issues and with this we could see how could we help you. Unfortunately your post is too vague, and it's very important that you post in good English so we can understand what you need, ok? |
| 09-10-2008, 06:22 PM | #4 |
Ok, let's convert this into trigger, use the [trigger][/trigger] tags: Trigger: Untitled Trigger 003![]() Actions![]() ![]() Custom Script - local location udg_L = GetUnitLocation(GetTriggerUnit()) // Stores in a local variable the location of the unit...![]() ![]() Unit - Create 1 Warstomp Evil demon bal Dummy for (Owner of (Casting unit)) at (L) facing (0.)![]() ![]() Unit - Add a 1.00 second Generic expiration timer to (Last created unit)![]() ![]() Special Effect - Create a special effect attached to the overhead of (Casting unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl![]() ![]() Special Effect - Destroy (Last created special effect)![]() ![]() Custom Script - call RemoveLocation(udg_L)![]() ![]() Custom Script - set udg_L = nullAdd those custom scripts and I think this code won't leak anymore... But now that you're talking about changing the effect... you just can avoid this trigger and do a custom spell based on WarStomp and change the effect by the one you need in the art fields... About the other spells... have you checked the database?? |
| 09-11-2008, 08:01 AM | #5 |
dident find any one of those :( the first script dont work and how i do at (L) facing (0.)? |
| 09-11-2008, 08:16 AM | #6 | |
Quote:
Isn't nulling global variables kinda a waste of time...? |
| 09-11-2008, 08:28 AM | #7 | |
Quote:
|
| 09-11-2008, 08:31 AM | #8 |
hmm but how i do this i dont get it (L) facing (0.)? |
| 09-11-2008, 08:35 AM | #9 |
He wrote that without the world editor and he didn't write out the full "0.00". He should have written: Trigger: Unit - Create 1 Warstomp Evil demon bal Dummy for (Owner of (Casting unit)) at L facing 0.00 |
| 09-11-2008, 08:36 AM | #10 |
L = Location that you're making the unit at. 0. = The degrees the unit is facing. Basically it'd be the part of your trigger where you initially had "at (Position of (Triggering unit)) facing (Position of (Triggering unit)) " |
| 09-11-2008, 08:44 AM | #11 |
ye but ow i do this L is it the custom script does it automaticly make the L variable or do i have to do it ? is it point varaible? |
| 09-11-2008, 08:45 AM | #12 |
Make in the variable editor. (PS: I can't stay online forever, so if you need to ask me something, I would suggest doing so now.) |
| 09-11-2008, 09:02 AM | #14 |
It is because you haven't set L to a location lol. Go back to moyack's post and you'll see why. -Av3n |
