| 05-03-2007, 01:17 AM | #1 |
Hi guys. On this thread i´ll post all my "general questions" that appears in the map development. first of all i wanna know how can i make the chain lighting auto-castable. it would be good if the auto-cast only casts the spell if there are 2 or more units in the chain lighting spell area ( non triggered if possible) because this will be a weak fast coldown chain lighting for my corrupted chaman. thanks^^ |
| 05-03-2007, 01:21 AM | #2 |
Its impossible to make such a thing without triggers. you could do a periodic event where you count valid targets in range, then pick one at random. |
| 05-03-2007, 01:26 AM | #3 |
ok, thanks, but what about the auto-cast... i need chain lighting to have it... and i can´t find the data to change for it...... the triggers are not that important for now ( but can´t i use the ai editor to make the auto-cast only work for more than 2 units ? ) |
| 05-03-2007, 03:08 AM | #4 | |
You cannot make a spell that is not-autocast autocast without triggers. Period. End of story. There are no object-editor fields to change. Quote:
|
| 05-03-2007, 03:10 AM | #5 |
You could base it off an autocast ability (Slow, for example) and do this: A unit starts the effect of an ability Ability being cast equal to Slow Create 1 Dummy at position of casting unit Set level of chain lightning for last created unit to level of slow for triggering unit. Order last created unit to Orc Far Seer- Chain lightning target uint of ability being cast. |
| 05-03-2007, 01:05 PM | #7 |
Kind of leakless |
| 05-03-2007, 07:52 PM | #8 |
This is indeed a trigger-related question, and as such I will move it to the forum that's most likely to provide the best answers. |
| 05-04-2007, 12:12 AM | #9 |
Canm someone help me to make it leakless ?? becuase this will be a very used spell by lots of units at same time. and i don´t know how to use this trigger line ( where´s the variable ?? i need to create it, but what kind of variable ?? arrays ?? )Set Point = (Position of (Casting Unit)) |
| 05-04-2007, 01:33 AM | #10 |
Thats a leak less trigger.. no matter how closely two units attack, they will never be able to mess up a trigger with no waits. |
| 05-04-2007, 01:42 AM | #11 |
But at that trigger what kind variable should "point" be ? try to answer me but i´ll only see it tomorrow.... going to be now.... i´ve got to sleep ...... 10:42 PM here in BRAZIL soo cya tomorrow. |
| 05-04-2007, 01:45 AM | #12 |
Are you really that thick? I hope not... "Point" is a Point Variable! |
| 05-04-2007, 05:59 AM | #13 |
To identify what variables would be in triggers, they would have this in a Custom Script: RemoveLocation for Points (so technically, what I was using was a point) RemoveRect for Regions DestroyForce for Player Groups (not sure if it leaks) DestroyGroup for Unit Groups DestroyLightning for Lightning Effects DestroyTextTag for Floating Texts (not sure if it leaks) DestroyTimer for Countdown Timers (not really needed *has an action to destroy*) |
| 05-04-2007, 11:37 PM | #15 |
The field Art - Lightning (or something like that) should allow you to select any of the lightning-like skills' art, including Finger of Death which is red. |
