[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 > Triggers & Scripts


Triggers & Scripts In this forum you may ask for help on fixing a trigger or script. But if you need help getting started with a trigger, this is not the right place — use the World Editor Help Zone.

Closed Thread
 
Thread Tools
Old 09-30-2008, 03:43 PM   #1 (permalink)
Registered User scum_monkey
User
 
Join Date: Apr 2008
Posts: 12
scum_monkey is an unknown quantity at this point (0)
difficult triggering...

hello,
Im having difficulty creating a trigger, i want a ranged unit to respond to a passive ability being used, eg evasision, it then needs to change form into the same unit but with a melee attack (i've already made two units, one with a ranged attack and the same unit with a melee attack) keeping the same mana/hp as the old unit. it should then be made unselectable by the player who owns it and then forced to attack move to a random point of the map, wait 20 seconds then revert to the orginal unit keeping the current units mana/hp. keeping in mind that more than one unit may be going beserk within any given 20 seconds im not sure how the unit could be replaced again.

if you can help you can use as many triggers as you need, the melee version of the unit will never buildable so a blanket trigger could be used for units of that type and just so you know this move is replicating a brute from halo 2/3 which goes beserk.

thanks for any help you can give me with this.
scum_monkey is offline  
Old 09-30-2008, 04:11 PM   #2 (permalink)
Registered User Squiggy
Kyou is mine
 
Squiggy's Avatar
 
Join Date: Mar 2008
Posts: 2,406
Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)
Former Staff Member: This user used to be on the Hive Workshop staff. PayPal Donor: This user has donated at least $20 to The Hive. 
Well normally you can't detect the use of a passive ability (at least in gui as far as I know)
__________________
Squiggy is offline  
Old 09-30-2008, 04:22 PM   #3 (permalink)
Registered User xD.Schurke
10100111001
 
xD.Schurke's Avatar
 
Join Date: Feb 2006
Posts: 976
xD.Schurke is just really nice (352)xD.Schurke is just really nice (352)xD.Schurke is just really nice (352)
Hero Contest #2 - Winner: Archmaiden 
you only can detect it if u trigger the passiv ability, so you would have to create a trigger for evasion in this case
__________________
My Spells & Systems


xD.Schurke is offline  
Old 09-30-2008, 04:53 PM   #4 (permalink)
Registered User Squiggy
Kyou is mine
 
Squiggy's Avatar
 
Join Date: Mar 2008
Posts: 2,406
Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)Squiggy has much of which to be proud (1034)
Former Staff Member: This user used to be on the Hive Workshop staff. PayPal Donor: This user has donated at least $20 to The Hive. 
Well you could check if the unit has the ability via Integer comparison - LEvel of ability greater than 0 and base it upon that
__________________
Squiggy is offline  
Old 09-30-2008, 05:05 PM   #5 (permalink)
Registered User xD.Schurke
10100111001
 
xD.Schurke's Avatar
 
Join Date: Feb 2006
Posts: 976
xD.Schurke is just really nice (352)xD.Schurke is just really nice (352)xD.Schurke is just really nice (352)
Hero Contest #2 - Winner: Archmaiden 
that would be also solution, but there would be the problem, that for example if u want a effect on the "evade"-event it wouldn't be possible, but if u want a additional effect it would work like squiggy said
__________________
My Spells & Systems


xD.Schurke is offline  
Old 09-30-2008, 09:40 PM   #6 (permalink)
Registered User scum_monkey
User
 
Join Date: Apr 2008
Posts: 12
scum_monkey is an unknown quantity at this point (0)
hmm ok then thx, can you guys think of a way to do it without the ability? just have a percent chance that the trigger will be activated when that unit type is attacked? if not i'll try using intergers...
scum_monkey is offline  
Old 10-01-2008, 05:14 PM   #7 (permalink)
Registered User Jaijaibinx
Need More Sc2 Tutorials
 
Jaijaibinx's Avatar
 
Join Date: Jun 2008
Posts: 347
Jaijaibinx has little to show at this moment (50)
Here My Own Interpretation enjoy have fun give credits... Yada yada yada see ya at skl
Attached Files
File Type: w3x Brutes.w3x (19.8 KB, 8 views)
Jaijaibinx is offline  
Old 10-01-2008, 07:44 PM   #8 (permalink)
Registered User scum_monkey
User
 
Join Date: Apr 2008
Posts: 12
scum_monkey is an unknown quantity at this point (0)
lol cheers noddy what is this credit thing u speak of? cya tomorrow lol
scum_monkey 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
[Trigger] Need help with difficult system. DukeCz Triggers & Scripts 4 06-05-2008 05:55 PM
Short But Difficult Question Aoen Triggers & Scripts 7 01-19-2008 05:30 PM
i need serious help and this is a very difficult project! Hairybeavet Map Development 0 06-18-2006 12:58 AM
another difficult spell =\ Hairybeavet Triggers & Scripts 0 02-20-2006 11:59 PM
Me again sorry, Difficult triggers Manukiller Map Development 1 07-28-2004 06:07 PM

All times are GMT. The time now is 04:52 PM.





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