(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > Requests

Requests Need a resource done for your project? Post your request here, however we cannot guarantee that your request may be answered.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 10-08-2006, 03:02 PM   #1 (permalink)

User
 
Join Date: Jul 2006
Posts: 82

AztraL- is an unknown quantity at this point (0)


[JASS Request] Trigger to JASS

Yeah bah ...
Currently I made a spell, and this one needs JASS, otherwise bugs will show up. I tryed to create it in JASS, but everytime I received errors, blabla, :( ..
Now I hope some others could help me with this little spell, here is the trigger. Thanks.

Code:
Time Trigger
    Events
        Unit - A unit Is attacked
    Conditions
        (Level of Time Trigger  for (Attacking unit)) Greater than 0
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random real number between 1.00 and 100.00) Less than or equal to 10.00
            Then - Actions
                Set TimeTriggerUnit[1] = (Attacking unit)
                Set TimeTriggerUnit[2] = (Attacked unit)
                Special Effect - Create a special effect attached to the overhead of TimeTriggerUnit[2] using Abilities\Spells\NightElf\FaerieFire\FaerieFireTarget.mdl
                Set TimeTriggerEffect = (Last created special effect)
                Wait 1.99 seconds
                Special Effect - Destroy TimeTriggerEffect
                Wait 0.01 seconds
                Special Effect - Create a special effect attached to the chest of TimeTriggerUnit[2] using Abilities\Spells\Other\Charm\CharmTarget.mdl
                Set TimeTriggerEffect = (Last created special effect)
                Unit - Cause TimeTriggerUnit[1] to damage TimeTriggerUnit[2], dealing (50.00 x (Real((Level of Time Trigger  for TimeTriggerUnit[1])))) damage of attack type Spells and damage type Universal
                Set TimeTriggerUnit[1] = No unit
                Set TimeTriggerUnit[2] = No unit
                Special Effect - Destroy TimeTriggerEffect
            Else - Actions
                Do nothing
__________________
Did you know ...
Reconnecting more then 5-6 times on battle.net can lead to a 72hours ip-ban..
AztraL- is offline  
Closed Thread

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
JASS: Moving From GUI to Jass, the Start Rheias JASS/AI Scripts Tutorials 61 07-22-2008 11:06 AM
[JASS] My first jass trigger Da)sniper Triggers & Scripts 11 11-14-2007 03:34 AM
passing local variable in JASS? Channeled effects with JASS? kuraruka Triggers & Scripts 2 02-10-2006 11:38 PM
Need a jass trigger done FoamyDaSquirel Requests 1 05-10-2005 03:47 AM
[JASS] Converting GUI to JASS !! PLEASE HELP !! Learning JASS HELP ApM Triggers & Scripts 7 03-10-2005 12:42 PM

All times are GMT. The time now is 10:13 PM.






Your link here 
Credit Counseling | Mobile Phones | Shopping and Product Reviews | Mortgage Calculator | Loans
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle