| 09-01-2004, 02:20 AM | #1 |
A Farseer - ChainLightening is cast. It hits a # of units I wish to use this # in a mathematical calculation to give a bonus of soem sort to the castor. And on that note: Cna i increase the # of units it hits at any level of the spell? |
| 09-01-2004, 03:13 PM | #2 |
Well... this will take a lot of Chain Lightning Spells. Just make a bunch of Chain Lightning Spells with different amount of targets. When you the # is going to change, just remove the chain lightning and add the chain lightning with the correct amount of targets. Make a variable called (whatever you want it to be, in this case it's #_of_units) an integer. Trigger 1 Code:
Events: Every .01 seconds Actions: Move Region 001 to Far Seerer Trigger 2 Code:
Events:
Every .01 seconds
Actions:
Set #_of_units to # of units in region 001.
If
Units in #_of_units = (any number)
Then
Remove Chain Lightning (1 target) from Far Seerer
Remove Chain Lightning (2 target) from Far Seerer
Remove Chain Lightning (4 target) from Far Seerer
Add Chain Lightning (3 target) to Far Seerer
Else
Do nothing |
| 09-01-2004, 03:24 PM | #3 | |
Quote:
|
| 09-01-2004, 11:25 PM | #4 | |
Umm..i am really unsure of what youve posted here... I asked FOR THE NUMBER of units the chain lightning spell would hit. Can you explain what your code does? Quote:
Sorry, but triggers are not my thing... |
