[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > World Editor Help Zone


World Editor Help Zone Ask general questions about World Editor features and use in this forum. If you need help fixing a trigger, please post it in Triggers & Scripts. Please review the forum rules before posting.

Closed Thread
 
Thread Tools
Old 05-03-2009, 09:01 PM   #1 (permalink)
Registered User Frosty10001
The Snowman!
 
Frosty10001's Avatar
 
Join Date: Nov 2008
Posts: 21
Frosty10001 has little to show at this moment (2)
Changing How To Cast Abilities/Spells

Hello, I have a slight problem. I want to change certain abilities to cast differently. What do I mean? Well, take Divine Shield, it automatically targets yourself right? But lets say I want it to be manually casted so you can pick what unit will get invulnerability. Same thing with other prefrences, lets say with Dispel Magic, it has an Area of Effect circle, correct? But maybe I want to change it to automatically cast it on yourself, or manually click a unit, like Abolish Magic. Is it possible to do this? Thanks a bunch!
Frosty10001 is offline  
Old 05-03-2009, 09:09 PM   #2 (permalink)
Registered User howl2000
Bored Guy
 
howl2000's Avatar
 
Join Date: Sep 2008
Posts: 262
howl2000 has little to show at this moment (22)howl2000 has little to show at this moment (22)howl2000 has little to show at this moment (22)
Most skills don't allow you to change target types. Most people use dummy abilities in cases like those and trigger the spell effects themselves. Just search for a custom spell tutorial it should give you the information you seek.
__________________
howl2000 is offline  
Old 05-03-2009, 09:47 PM   #3 (permalink)
Registered User Restor
It's all part of the plan
 
Restor's Avatar
 
Join Date: Mar 2005
Posts: 674
Restor will become famous soon enough (92)Restor will become famous soon enough (92)Restor will become famous soon enough (92)
It really depends on specific spell


Like that with divine shield, that spell wil be based from target_singe_unit spell, like unholy frenzy from necromancer, change all stats to 0%, and make single trigger that

E:units begins casting an ability
C:ability being cast is UNHOLY FRENZY MODIFIED
A:give ability DIVINE SHIELD MODIFIED to target of ability being cast
issue target of ability being cast to cast Divine shield
remove DIVINE SHIELD MODIFIED from target of ability being cast

UNHOLY FRENZY MODIFIED=is that unholy frenzy with 0%stats
DIVINE SHIELD MODIFIED=is like normal divine shield but not hero ability but ability of unit, so every unit can cast it


Of course if that divine shield ability ought to be more level-spell, it will be more difficult, but still very simple


And with tha dispell magic, i think that ability from dryads works like you want. But maybe they cannot be casted on the caster himself.

Just base it on ability which can be casted both on caster and others. I dont know such ability by heart, but surely these ones exist. And one simple trigger-when he casts it-make dummy unit to cast-abolish magic on the target.
__________________
Cinematic "Dragon Saga-Episode (∞-3) - Hunt for the Dragon"

Status:8%
Lenght-11,24 minutes
Scenes:Opening,Messenger,Human City
Restor is offline  
Old 05-04-2009, 12:05 AM   #4 (permalink)
Registered User wolfman
User
 
wolfman's Avatar
 
Join Date: May 2008
Posts: 696
wolfman has a spectacular aura about (127)wolfman has a spectacular aura about (127)wolfman has a spectacular aura about (127)wolfman has a spectacular aura about (127)
Unfortunately the only way to do what you want is by making your own spells through triggers. There are some different versions of abilities though. I think there is an AOE dispel and a single target dispel. So I would look for that and if you have no luck just trigger the ability.
__________________
----------------------------------------------------------------------------------------------
if people help you out give em some reps!
wolfman is offline  
Old 05-04-2009, 11:26 PM   #5 (permalink)
Registered User Frosty10001
The Snowman!
 
Frosty10001's Avatar
 
Join Date: Nov 2008
Posts: 21
Frosty10001 has little to show at this moment (2)
Thanks for the outlines, but theres another problem following this. The divine shield is actually a custom spell, so I couldn't find custom spells in the issue order list, although it does follow the the spell duration, because I set it to 5, and it stayed for 5 seconds. Is it possible to order the target unit of ability being cast to cast custom spells? Thanks! Also, at the end, the trigger doesn't really delete itself after the spell. And the dummy spell thats being cast to make the custom divine shield work doesn't have a cooldown and its set to 15 seconds.

I'm very sorry if I'm bugging you guys, I haven't played with triggers until now.
Frosty10001 is offline  
Old 05-05-2009, 08:07 AM   #6 (permalink)
Registered User Billy the Cat
O._.o
 
Billy the Cat's Avatar
 
Join Date: Mar 2009
Posts: 863
Billy the Cat is a name known to all (621)
Former Staff Member: This user used to be on the Hive Workshop staff. 
Yes pick the order of which the custom spell is based of.
Divine Shield custom based? Make it cast the Divine Shield from the order list.

(Remember that most units can have only 1 spell based on each ability or it would give some very annoying problems. A unit should have for example only 1 spell based off Divine Shield. I don't know what happens when a unit already has a spell based off Divine Shield and will get a spell based off it and the order to cast it D:)
__________________
Billy the Cat is offline  
Old 05-05-2009, 11:32 AM   #7 (permalink)
Registered User howl2000
Bored Guy
 
howl2000's Avatar
 
Join Date: Sep 2008
Posts: 262
howl2000 has little to show at this moment (22)howl2000 has little to show at this moment (22)howl2000 has little to show at this moment (22)
Quote:
Originally Posted by Billy the Cat View Post
Yes pick the order of which the custom spell is based of.
Divine Shield custom based? Make it cast the Divine Shield from the order list.

(Remember that most units can have only 1 spell based on each ability or it would give some very annoying problems. A unit should have for example only 1 spell based off Divine Shield. I don't know what happens when a unit already has a spell based off Divine Shield and will get a spell based off it and the order to cast it D:)
The order strings are only picked up by one spell when that happens. You can only use one of the abilities.
__________________
howl2000 is offline  
Old 05-05-2009, 12:04 PM   #8 (permalink)
Registered User Billy the Cat
O._.o
 
Billy the Cat's Avatar
 
Join Date: Mar 2009
Posts: 863
Billy the Cat is a name known to all (621)
Former Staff Member: This user used to be on the Hive Workshop staff. 
Quote:
Originally Posted by howl2000 View Post
The order strings are only picked up by one spell when that happens. You can only use one of the abilities.
So that would mean that you can't properly add a Divine Shield based spell to a unit with Divine Shield to make it cast it D:

Removing all Divine Shields of a level then adding the new one and cast it and give the old Divine Shield back at the right level? .... meh wouldn't that mess with cooldown?
__________________
Billy the Cat is offline  
Old 05-05-2009, 08:12 PM   #9 (permalink)
Registered User Frosty10001
The Snowman!
 
Frosty10001's Avatar
 
Join Date: Nov 2008
Posts: 21
Frosty10001 has little to show at this moment (2)
Thanks for that information guys, the divine shield custom spell seems to copy the real divine shield, so it won't be the same buffs, but one problem comes to me.. The cooldown for the dummy spell (Which would be Unholy Frenzy Modified by Restor's guide.) has no cooldown. And the divine shield spell won't remove itself after it has been casted, but if I manually click the divine shield trigger spell, that has a cooldown. And plus, I put the trigger spell as no icon, so it would be a green square, is there anyway to make the trigger spell not noticable by the player? I think it would have to do something with the icon image. Anyways, thanks for replying!
Frosty10001 is offline  
Old 05-05-2009, 08:18 PM   #10 (permalink)
Registered User howl2000
Bored Guy
 
howl2000's Avatar
 
Join Date: Sep 2008
Posts: 262
howl2000 has little to show at this moment (22)howl2000 has little to show at this moment (22)howl2000 has little to show at this moment (22)
There are 2 ways.
1. use the channel ability as the base and uncheck the visible box
2. put it in a spellbook add the spellbook to the hero and have it set to hidden
__________________
howl2000 is offline  
Old 05-19-2009, 02:00 AM   #11 (permalink)
Registered User Frosty10001
The Snowman!
 
Frosty10001's Avatar
 
Join Date: Nov 2008
Posts: 21
Frosty10001 has little to show at this moment (2)
I hope I am allowed to legally bump this.. I tried to do the spell a different way and put the target of ability being cast to invulnerable. Wait 5 seconds, then make the unit vulnerable again. But it does not work, although it does seem to make it easier, although what am I doing wrong here?
Frosty10001 is offline  
Old 05-19-2009, 04:42 AM   #12 (permalink)
Registered User Tureri
Studing Mapper
 
Tureri's Avatar
 
Join Date: Apr 2008
Posts: 47
Tureri is an unknown quantity at this point (0)
Do you have a termination on the trigger? Try something like.
Ev: Unit casting a spell
Co: Spell equal to Divine Shield(Dummy)
Ac: Cast Divine Shield (Real) on Triggering Unit
Wait 5 seconds
Remove Last spell

You could make it cast abolish magic on your hero is all else fails? Or another trigger to reset it? Just brainstorming.

I'd use a spell to make your unit invulnerable. Me and my Bro have had plenty of trouble with the trigger Invulnerable. I might experiment and post a text trigger here.
Tureri is offline  
Old 05-19-2009, 11:56 AM   #13 (permalink)
Registered User Frosty10001
The Snowman!
 
Frosty10001's Avatar
 
Join Date: Nov 2008
Posts: 21
Frosty10001 has little to show at this moment (2)
Thanks for the suggestions, I tried the divine shield one and I'll tell you the results..
Well, the divine shield it didn't really do anything for 5 seconds, still vulnerable. So I tried adding invulnerable and vulnerable triggers in the actions list but it still creates my last problem. The unit never turns back to vulnerable. The abolish magic spell wouldn't work in my opinion because abolish magic only clears buffs and not the invulnerability state. So right now I'm going to try resetting it, but what is the trigger to reset another trigger? Sorry, this is actually my first time experimenting with triggers.
Frosty10001 is offline  
Old 05-19-2009, 04:37 PM   #14 (permalink)
Registered User Billy the Cat
O._.o
 
Billy the Cat's Avatar
 
Join Date: Mar 2009
Posts: 863
Billy the Cat is a name known to all (621)
Former Staff Member: This user used to be on the Hive Workshop staff. 
How long is the duration of the Divine Shield? 0 is infinite for some spells.
__________________
Billy the Cat is offline  
Old 05-19-2009, 08:10 PM   #15 (permalink)
Registered User Frosty10001
The Snowman!
 
Frosty10001's Avatar
 
Join Date: Nov 2008
Posts: 21
Frosty10001 has little to show at this moment (2)
Actually, I'm making a custom spell that its supposed to be the target version of Divine Shield. I use a base spell with 0 stats as a dummy spell so it can trigger the trigger. But anyways the duration of the dummy spell is really just 5 seconds. The dummy spell is learned by a unit from an upgrade.
Frosty10001 is offline  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto cast custom abilities thegreatsmite World Editor Help Zone 5 10-12-2008 02:21 PM
Changing Camera for Abilities Varine World Editor Help Zone 3 03-14-2008 01:12 PM
[Trigger] Triggered Abilities - Auto-cast and multi-instanceable terradont Triggers & Scripts 2 01-18-2008 10:06 PM
Neutral Passive cast abilities? ShikamaruShadow Triggers & Scripts 11 01-11-2008 12:12 AM
making abilities auto cast that dont normally drumminforev Map Development 2 07-07-2004 02:47 PM

All times are GMT. The time now is 12:29 AM.





Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle