| 03-17-2005, 06:37 AM | #1 |
This trigger is driving me mad Ok I need a trigger to start taking life away from a unit when it uses the Submerge (unit dives and stays in water) and stays submerged, and I need it to stop taking life when it uses the ability Surface which brings it back on the surface any ideas? Here is what I started with Events Unit - A unit Begins casting an ability Conditions (Ability being cast) Equal to Submerge (Royal Guard) Actions |
| 03-17-2005, 06:47 AM | #2 |
Guest | I would probably do something like this (I don't know...I may be using too many triggers) Event- A unit begins casting an ability Conditions- ability being cast equal to submerge actions- Set SubUnit = triggering unit Turn on (second trigger) Turn on (third trigger) SECOND TRIGGER: events- every 2 seconds of gameplay conditions- N/a actions- Set life of SubUnit to life of SubUnit - 8 THIRD TRIGGER: events- a unit begins casting an ability conditions- ability being cast equal to surface actions- Set SubUnit to FALSE Turn off this trigger Turn off (second trigger) That's probably way too many triggers, probably could do it a whole lot easier if Submerge had a buff Anyways, it's the best I got, it should work...knock yourself out |
| 03-17-2005, 06:49 AM | #3 |
yes I was figuring I needed 1-2 more triggers to help it flow and I need to set the variable thats what I was forgetting Thanks |
| 03-17-2005, 06:52 AM | #4 | |
Guest | Quote:
No problem, I warn you, it may not work...highly unprobable, but it may...I'm only an intermediate triggerer. |
| 03-17-2005, 07:00 AM | #5 |
hmm this trigger will definitely work but I can't find the Surface ability in the list for the trigger, I know its named Surface because I checked in-game anyone know where it is? |
| 03-17-2005, 07:03 AM | #6 | |
Guest | Quote:
Ahh I see, it's not another ability, it's the "turn off" function for Submerge, so change your Event and Condition of TRIGGER THREE to the following: event- a unit is issued an order with no point condition- Issued order equal to unsubmerge that'll fix it =) |
| 03-17-2005, 07:07 AM | #7 |
Thank you |
