HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

hey im new to this forum and this site

09-10-2008, 05:35 PM#1
shanghai
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
moyack
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, 05:58 PM#3
shanghai
i try to make a easy spell...
Trigger:
Untitled Trigger 003
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to War Stomp Orig
Collapse Actions
Unit - Create 1 Warstomp Evil demon bal Dummy for (Owner of (Casting unit)) at (Position of (Triggering unit)) facing (Position of (Triggering unit))
Unit - Add a 2.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)

and its not working it leaks and a guy told me to do variables...

and exactually how do i do this spell can u explain and do it in triggers like i posted.....

its gona do a green warstomp instead of red its why i made a dummy unit....

and then i need a spell that makes.... a unit jump and then hit the ground and do a thunder clap... can u also show this trigger and tell me the variables :)
and it gona do 500 damage.....

and then i need an berserker ability that makes unit do more damage when he attacking + this berserker speed :) how i do this trigger....

and then i have a spell on a map named earth mastery... and i want that spell from that map to my map but the spell leaks very much so if some on could do that spell on another map i must have your msn i think :) and this site is nice xD
09-10-2008, 06:22 PM#4
moyack
Ok, let's convert this into trigger, use the [trigger][/trigger] tags:
Trigger:
Untitled Trigger 003
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to War Stomp Orig
Collapse 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 = null

Add 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
shanghai
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
Tide-Arc Ephemera
Quote:
Originally Posted by moyack
Custom Script - set udg_L = null[/trigger]

Isn't nulling global variables kinda a waste of time...?
09-11-2008, 08:28 AM#7
Pyrogasm
Quote:
Originally Posted by Tide-Arc Ephemera
Isn't nulling global variables kinda a waste of time...?
Yes, but in this case "L" is acting as a local, so there is need to null it.
09-11-2008, 08:31 AM#8
shanghai
hmm but how i do this i dont get it (L) facing (0.)?
09-11-2008, 08:35 AM#9
Pyrogasm
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
TEC_Ghost
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
shanghai
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
Pyrogasm
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:01 AM#13
shanghai
Trigger:
Untitled Trigger 003
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to War Stomp Orig
Collapse Actions
Unit - Create 1 Warstomp Evil demon bal Dummy for (Owner of (Casting unit)) at L facing 0.00 degrees
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)

not working :S it dont make the dummy :/
09-11-2008, 09:02 AM#14
Av3n
It is because you haven't set L to a location lol. Go back to moyack's post and you'll see why.

-Av3n
09-11-2008, 09:07 AM#15
Pyrogasm
Like this:
Trigger:
Untitled Trigger 003
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to War Stomp Orig
Collapse Actions
Set L = (Position of (Triggering Unit))
Unit - Create 1 Warstomp Evil demon bal Dummy for (Owner of (Casting unit)) at L facing 0.00 degrees
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)