(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Reply
 
LinkBack Thread Tools Display Modes
Old 11-29-2008, 04:46 AM   #1 (permalink)
 
darkrider's Avatar

Sacred War Editor
 
Join Date: Dec 2007
Posts: 569

darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)


Orb of lightning problem

I have a modified orb of lightning ability

i edited it so that when the cooldown is ready it casts storm bolt on the target

everything goes fine... until i use an ability to change my melee unit for a ranged one (robo-goblin) then the ability (orb of lightning) disappears :S

IE: ranged unit learns orb of lightning and then learns robo-goblin then i use robo and transform into melee, now the orb of lightning is missing... i learn it again in the melee hero and now i have it lvl 2 .. then i change back to the ranged form and the orb of lightning is missing again... i learn it again (now lvl 3) and so on...

does anybody has an idea of what is happening?
darkrider is offline   Reply With Quote
Old 11-29-2008, 08:07 AM   #2 (permalink)
 
Dagguh's Avatar

WorldEditor Lame'O
 
Join Date: May 2008
Posts: 101

Dagguh has little to show at this moment (10)Dagguh has little to show at this moment (10)


Do both normal unit and transformed unit have the ability n the editor?
Dagguh is offline   Reply With Quote
Old 11-29-2008, 01:37 PM   #3 (permalink)
 
darkrider's Avatar

Sacred War Editor
 
Join Date: Dec 2007
Posts: 569

darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)


yes they do... (if i can learn it with both it is because they have it :P)

EDIT:
Bumping... this issue is really important... and i cant figure out a way to solve it... add ability and enable ability for player does not work either... :S

does anybody have an idea of what could be wrong? or how can i change it to achieve the same effect?

help will be appreciated


BTW: when a hero learns this kind of ability i have a trigger that fires when he learns the orb of lightnin ability... but the trigger doesnt fire at all... it doesnt recognize either my orb of lightning ability nor the storm bolt it uses as an effect :S

Last edited by Rui; 11-30-2008 at 12:15 PM.. Reason: Do NOT double-post.
darkrider is offline   Reply With Quote
Old 11-30-2008, 11:56 AM   #4 (permalink)
 
Dagguh's Avatar

WorldEditor Lame'O
 
Join Date: May 2008
Posts: 101

Dagguh has little to show at this moment (10)Dagguh has little to show at this moment (10)


Hmmmm, I tested it a bit. And it seems that only the passive things survive the morphing. I mean the +damage, model attachments and projectile model change. It really disappears and there is nothing hardcoded I can do :(
Dagguh is offline   Reply With Quote
Old 11-30-2008, 12:02 PM   #5 (permalink)

User
 
Join Date: Jun 2008
Posts: 140

Newuser has little to show at this moment (26)Newuser has little to show at this moment (26)Newuser has little to show at this moment (26)


Quote:
Originally Posted by darkrider View Post
Bumping... this issue is really important... and i cant figure out a way to solve it... add ability and enable ability for player does not work either... :S

does anybody have an idea of what could be wrong? or how can i change it to achieve the same effect?

help will be appreciated


BTW: when a hero learns this kind of ability i have a trigger that fires when he learns the orb of lightnin ability... but the trigger doesnt fire at all... it doesnt recognize either my orb of lightning ability nor the storm bolt it uses as an effect :S
Hmm, post the trigger so we can see if there is anything wrong with it.


Anyway, I've had this problem in my map(with the orb transforming thing).

I tried Player - Enable <x> ability, didn't work.

However, I don't think I tried removing the ability and readding the ability via triggers.

Try a trigger which stores the level of the Orb of Lightning Ability in an "integer variable" when the hero learns or levels up the skill.

Then, when the unit transforms, remove the ability, then re add the ability to the unit.

Then, set the level using the variable that stored the original level of the ability.

Also make it so that when you relearn the ability again, it removes the ability then re adds it again.

Not sure if you can add orb of lightning abilities to a unit via triggers, but if you can, this should work.

If you don't know what I meant with the triggers, I can do the trigger for you(can't right now though).
Newuser is offline   Reply With Quote
Old 11-30-2008, 05:22 PM   #6 (permalink)
 
darkrider's Avatar

Sacred War Editor
 
Join Date: Dec 2007
Posts: 569

darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)darkrider has little to show at this moment (40)


Quote:
Originally Posted by Dagguh View Post
Hmmmm, I tested it a bit. And it seems that only the passive things survive the morphing. I mean the +damage, model attachments and projectile model change. It really disappears and there is nothing hardcoded I can do :(
well... youve seen it yourself... it is very weird :S thx for trying to help ^^

Quote:
Originally Posted by Newuser View Post
Hmm, post the trigger so we can see if there is anything wrong with it.


Anyway, I've had this problem in my map(with the orb transforming thing).

I tried Player - Enable <x> ability, didn't work.

However, I don't think I tried removing the ability and readding the ability via triggers.

Try a trigger which stores the level of the Orb of Lightning Ability in an "integer variable" when the hero learns or levels up the skill.

Then, when the unit transforms, remove the ability, then re add the ability to the unit.

Then, set the level using the variable that stored the original level of the ability.

Also make it so that when you relearn the ability again, it removes the ability then re adds it again.

Not sure if you can add orb of lightning abilities to a unit via triggers, but if you can, this should work.

If you don't know what I meant with the triggers, I can do the trigger for you(can't right now though).
yes i know how to do it and i understood you very well (i was thinking on doing something like that) but this makes me remember my other problem which is:

for ie: your modified orb of lightning ability is called "MAB" and you use as an effect "EAB"

in my trigger i use as a condition "ability being learned = to MAB" but the trigger doesnt fire... it is supposed to set a boolean==true but that doesnt happen... the trigger doesnt fire... it is only 1 condition and 1 action... it doesnt fire either if i use "ability being learned == EAB" either or both abilities inside an "OR any condition" :S

thx anyways guys... ill try the trigger thingy and see what comes out... and for the learning ability ill try to check for all of the other abilities not == to true :P

PS: sry Rui but i needed help on this :/

EDIT: i could solve one of my problems with this

Dohko uses Alternate weapon ANTI BUG 2
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Robo-Goblin
Actions
Wait 0.01 seconds
Unit - Remove modified Orb of lightning ability from (Triggering unit)
Unit - Add modified Orb of lightning ability to (Triggering unit)
Unit - Set lmodified Orb of lightning ability for (Triggering unit) to modified_Orb_of_lightning_ability_lvl

if i dont use the wait it wont work


but i still have the problem of detecting when the ability is learned... :/

Last edited by darkrider; 11-30-2008 at 07:03 PM..
darkrider is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Orb of Lightning (new) bug? Dil999 World Editor Help Zone 7 06-21-2007 06:32 PM
lightning orb! it is not working? Hairybeavet Triggers & Scripts 3 08-29-2006 04:29 AM
Lightning Orb Problem Shisho2k Triggers & Scripts 2 01-01-2006 08:23 AM
Lightning Orb effect doesnt go off? Wiebbe Triggers & Scripts 3 12-08-2005 11:00 PM

All times are GMT. The time now is 06:17 AM.






Your link here 
Free Advertising | Car Loan | Loans | Pacotes Reveillon Salvador | Wholesale Silver Jewelry
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle