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



Reply
 
Thread Tools Search this Thread
Old 07-12-2009, 09:55 AM   #1
niggo
User
 
Join Date: Jul 2009
Posts: 2

niggo has little to show at this moment (0)

Default Aura synergy with Jass

Hi,

i want to write a script which is able to check if a unit has some specific buffs and if true add a synergy effect.

I thought about an Event wich triggers if any unit on map gets or loses a buff.
And then if some conditions are true i would like to give this unit an extra buff.

For examble: A unit gets the devotionaura buff. Then i would check if this unit has also the enduranceaura buff. If true i would like to add the commandaura and else i would like to remove the commandaura.

I wrote only a few small skripts in jass and could need some help.
How do i write such an event?
niggo is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 07-12-2009, 12:19 PM   #2
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

Unfortunately, no such event exists. You will need to either periodically check all units on the map for the buff or trigger the aura entirely (there are systems that can help you do that).
__________________
Anitarf is offline   Reply With Quote
Old 07-12-2009, 12:43 PM   #3
niggo
User
 
Join Date: Jul 2009
Posts: 2

niggo has little to show at this moment (0)

Default

Hm i have no idea how to trigger an aura entirely. What systems do you mean?
niggo is offline   Reply With Quote
Old 07-12-2009, 01:02 PM   #4
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

Something like this, for example.
__________________
Anitarf is offline   Reply With Quote
Reply


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 12:10 PM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

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