| 10-21-2003, 12:05 AM | #1 |
I have a trigger where I want to cast an ability. The base of this ability is fire bolt. However, this firebolt can be cast on a destructible. The only place I can find the order for firebolt, is in Unit - Issue an order targeting a unit. How can I put a destructible in place of a unit there, when I get the unit target list? |
| 10-21-2003, 12:28 AM | #2 |
I can probobly help, but i dont quite understand the question. Can you be more specific? |
| 10-21-2003, 12:33 AM | #3 |
Here's the Trigger, simplified EVENTS: Unit - A unit Is issued an order targeting an object CONDITIONS: (Destructible-type of (Target destructible of issued order)) Equal to Gate (Horizontal) ACTIONS: Unit - Order (Ordered unit) to Neutral - Firebolt ........... I want to put Target Destructible of Issued order where the ......... is. How can I do this? |
| 10-21-2003, 01:02 AM | #4 |
nvm I misread you earlier, so I deleted those posts.. Create a destructable variable named destructable1 A- Set destructable1 = (Target destructible of issued order) A- Unit - Order (Ordered unit) to Neutral - Firebolt destructable1 |
| 10-21-2003, 02:44 AM | #5 |
You can't... it won't let you put it. I've got the unit list, like Picked Unit Matching Unit Event Response - Ordered Unit and stuff like that. I need to know how I can put a doodad in there. |
| 10-21-2003, 04:37 AM | #6 |
what exactly are you trying to do now? from what i understand you want to cast the firebolt on the gate? is that it? trying to hit the gate with the firebolt or what? edit: if this is what you are trying to do go to the object editor. select the abilties tab. select your firebolt based spell. now change allowed targets to have destrutables allowed. no triggers. |
| 10-21-2003, 07:32 AM | #7 |
I dunno if it'll work but have you tried the Unit - Issue order targetting a destruable? |
| 10-21-2003, 07:51 AM | #8 |
Im back lol nobody cares ://// :D emote_confused :bgrun: :foot: 8)) 0_o emote_sweat :ggani: ;) :nono: :( :gsmile: :mtk: |
| 10-21-2003, 08:27 PM | #9 |
You all still don't understand. I want a trigger to fire when the unit recieves an order to fireball the gate. Tiamazzo I dunno if it'll work but have you tried the Unit - Issue order targetting a destruable? You can't, that's the problem. It doesn't have the option to firebolt a destructible, only a unit. The only abilities on there, are Eat Tree, War Club, and stuff like that. The only menu with Firebolt on it is the one that targets units. I need to find a way to target a destructible on that. |
| 10-22-2003, 05:41 AM | #10 |
hmm. Make a unit that has that gate model? Make an invisable unit above that gate, and target the unit? Make an invisable unit in front of the gate? umm. I dunno. I don't think you'll be able to do it any other way. Sorry |
