wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Triggers & Scripts
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Closed Thread
 
Thread Tools Search this Thread
Old 08-20-2003, 06:16 AM   #1
Katarina
User
 
Join Date: Jul 2003
Posts: 75

Katarina has little to show at this moment (0)

Default

NEW QUESTION!!

I'm using a spell called AOE Explosion on death... how do I, you know.. make it LOOK like an explosion? I've tried using a missle art, special art and attached art, but either I'm missing something or there's something completely different I must do.

I'd like to stay away from using a trigger for this, if possible.
Katarina is offline  
Sponsored Links - Login to hide this ad!
Old 08-20-2003, 06:24 AM   #2
Tiki
Transform and roll out!
 
Tiki's Avatar


Respected User
 
Join Date: Dec 2002
Posts: 2,901

Submissions (11)

Tiki is a jewel in the rough (244)Tiki is a jewel in the rough (244)Tiki is a jewel in the rough (244)Tiki is a jewel in the rough (244)Tiki is a jewel in the rough (244)

AI tournament - 3rd place

Default

if using tft we = impossible, i tried ( use triggers )

or manual make with slks
__________________

www.sc2armory.com - Join our forums and community.
Latest and most up to date information about starcraft II.
Tiki is offline  
Old 08-20-2003, 06:29 AM   #3
Katarina
User
 
Join Date: Jul 2003
Posts: 75

Katarina has little to show at this moment (0)

Default

Drat!

ok, what would be the best trigger for the job? I don't have much experience with spell-based triggers or playing animations with triggers,
Katarina is offline  
Old 08-20-2003, 07:16 AM   #4
Zoizite
User
 
Join Date: Aug 2003
Posts: 166

Zoizite has little to show at this moment (0)

Default

Make a boolean variable called: HeroHasExplodeAbility

Code:
Events: 
     Generic Unit Event - A unit dies
Conditions: 
     Unit Comparison - unit type of dying unit equal to ([i]unit type of your exploding unit[/i])
     Boolean Comparison - [color=blue][u]HeroHasExplodeAbility[/u][/color] equal to true
          (use this if it's a hero ability)
Actions:
     Special Effect - Create a special effect at (position of unit(dying unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
     Special Effect - Destroy last created special effect

If it's a learned hero ability, add this:
Events:
A unit learns a skill
Conditions:
Learned skill equal to <makes no difference>
Actions:
Set: HeroHasExplodeAbility equal to True

Convert this second trigger to custom text, then change the 4 digit code in the second line(in red) to the 4 digit code of your ability(press ctrl+d in the object editor to see it)

The line you're looking for looks like this:
if ( not ( GetLearnedSkillBJ() == 'A01T' ) ) then
Zoizite is offline  
Old 08-20-2003, 08:36 AM   #5
Katarina
User
 
Join Date: Jul 2003
Posts: 75

Katarina has little to show at this moment (0)

Default

Ah hah! Thanks very much you two :)
Katarina is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 03:13 AM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services