| 11-16-2003, 10:34 PM | #1 |
How would i set the targeted unit of storm bolt? I need to make it SFXy. Tanks! |
| 11-16-2003, 10:37 PM | #2 |
You'll have to use triggers. Is your map 1 player? It'll be alot easier then if it's multi-player. Or you can download WEU, and use Event Response - Target Unit of Casting Spell |
| 11-16-2003, 10:38 PM | #3 |
its single player :D Thanks for teh speedy response! Nad i refuse to use UMSWE or anythign 3rd party |
| 11-16-2003, 10:42 PM | #4 |
Ok here's what you do You make two triggers 1st Trigger Code:
EVENTS - Unit is Issued an order targeting a unit CONDITIONS - (Issued Order) equal to thunderbolt ACTIONS - Set UnitVariable to (Target Unit of Issued Order) 2nd Trigger Code:
EVENTS - Unit finishes casting an ability CONDITIONS - (Ability being cast) equal to Storm Bolt ACTIONS - Create Special Effect at UnitVariable There you go. All done. |
| 11-16-2003, 10:46 PM | #5 |
Theres no such event. For targetred order. If there is which part of events is it in? Unit - A unit Is issued an order targeting an object Unit - A unit Is issued an order with no target Unit - A unit Is issued an order targeting a point thats all tehre is. |
| 11-16-2003, 10:49 PM | #6 |
Sorry. I meant Targeting object, that's the same thing. |
| 11-16-2003, 10:50 PM | #7 |
it is? But how can that be? hrmmm...thanks, ill go test it.brb |
| 11-16-2003, 10:53 PM | #8 |
Question, how would you do in multiplayer? |
| 11-16-2003, 10:55 PM | #9 |
It's REALLY complicated. Usually I just put in a message saying. You're too far to cast that spell, get closer. And order them to move to the spot they're tying to cast. Belive me, if you're going to do it in multiplayer, just use WEU. (World Editor Unlimited) |
| 11-16-2003, 11:25 PM | #10 |
Dont work. H/o ill try to copy and paste the damn thing. i did. Events- Order Targeting an object (Issued order) Equal to (Order(thunderbolt)) Action - set ThorTGRT targeted object(event repsonse) the 2nd trigger works fine what am i doing wrong? the moves creates 4 lighting balls in a + around the unit, then they all cast ChainLighting. BTW how do i get them to cast a custom move? Thanks. |
| 11-16-2003, 11:38 PM | #11 |
Action - set ThorTGRT targeted object(event repsonse) ???? where did you get that event response?? Anyways, the variable ThorTGRT should be a unit variable and the trigger should look like this: A- set ThorTGRT = (target unit of issued order) Just like how Erioid said. I would recommend to use the Event - a unit starts the effects of an ability instead of a unit finishes casting of an ability |
| 11-16-2003, 11:47 PM | #12 |
SMILES* That what i meant, and whats the big deal about begins? doesnt it lag up and then do stupid stuff? well i dunno. but i did just like he said and it DONT work. i tryong to recreate as we speak. here is trigger one E: Unit - A unit Is issued an order targeting an object C: (Issued order) Equal to (Order(thunderbolt)) A: Set ThorTarget = (Target unit of issued order) Thats what i have and it dont work. if you need part two ill post it h/o. Unit - A unit Begins casting an ability (Ability being cast) Equal to Storm Bolt and then 4 the actions. he just creates 4 lighting orbs around the target that cast chain lightnign on the ThorTarget.It creates the units, but it doesnt shoot the luightning. 2 questions Could you write the exact trigger 4 me? I can give you 15 points. and How do i make the orbs shoot out a custom ability? cuz i want the move to have 10 targets |
| 11-16-2003, 11:56 PM | #13 |
PM me the exact details I can do it for you... but it seems your so close....... (Ability being cast) Equal to Storm Bolt <--- this is your custom ability right???? (and not the defult storm Bolt I hope) To order the dummyunit to cast chainlightnig on ThorTGRT, give the dummyunit the chainlightning abiity, and use this action A- create 1 dummyunit at position of(castingunit) facing defult degress A- order last created unit to orc-chainlightning ThorTGRT How do i make the orbs shoot out a custom ability? cuz i want the move to have 10 targets <---- I dont understand that, you can only define the target of the issue order or you can pick random units around a unit/caster/point........ And to order orbs to shoot custom ability, just base your custom ability off a original ability and order the dummyunit to (whateverthe original abilty) to ThorTGRT |
| 11-17-2003, 12:12 AM | #14 |
that seems right. hrmmm... Heres the best explanation i can give. MainHero Casts Chains of Thor(dummy abilty based of Storm Bolt) It then creates 4 Orbs in a + around the target unit. All four of those units then cast chian lightning. With the customized targets allowed of 10. After they do that they are removed from the game. Thats all it is. BTW can i give a normal unit Farseer-Chainlightning? If i can then thats good, otherwise ill jsut give the units to player passive. Create 1 Thor for player one red, at postion of Thortarget with offset 200 towrads 0 degrees. set thortarget[1]-lastcreated unit. does it 4 times. should i have to set them to a unint group? or should i just do each of them indalvidualy? either way is fine with me. lets see...is there ne thing else? Nope. Thanks for the help! Pm time i guess.LOL |
| 11-17-2003, 12:41 AM | #15 |
You can set them into a group but theres no need to... and yes you can give normal units any ability... Here it is.. |
