| 08-01-2003, 04:42 PM | #1 |
This is what trigger I have, and Im not sure how to use a variable in the actions. I know hot to make a variable and I tried it with the variable being a point which didnt work (I cant put a intital value in it) I wasnt sure how to make the variable point be at the point of the spell. Meteor Events Unit - A unit Begins casting an ability Conditions (Ability being cast) Equal to Meteor Actions Environment - Create a 44.00 second Depression ripple deformation at variableM with starting radius 1024.00, ending radius 1024.00, and depth 64.00, using 1.00 second ripples spaced 50.00 apart Xtil |
| 08-02-2003, 09:16 AM | #2 |
Why do you want to use a variable in this case? If you want the terrain deformation to appear where the meteor is targeted use Environment - Create a 44.00 second Depression ripple deformation at (Target point of issued order) with starting radius 1024.00, ending radius 1024.00, and depth 64.00, using 1.00 second ripples spaced 50.00 apart |
| 08-02-2003, 09:58 AM | #3 |
acually to do what was said above you need to use a spell enhance, try and mod the one i made for this post of course you don't need all of it because theres no restrictions as to where to cast is and on what it is being cast... but you should e able to figure it out. (This is all because blizzard didn't add target variables for casting events) |
| 08-02-2003, 04:52 PM | #4 |
Ya I looked at your other post piRo-piOn but Im not targeting a unit you can just cast the meteor anywhere. I sort of unstand what your other post says but Im not sure how to change it to what I want. Xtil |
| 08-02-2003, 05:06 PM | #5 |
This is the kind of trigger you want. Code:
Catch
Events
Unit - A unit Is issued an order targeting a point
Conditions
(Issued order) Equal to (Order(channel))
Actions
Set MeteorPoint = (Target point of issued order)Then you use MeteorPoint in the actual spell. Under conditions, put whatever order that your spell uses, which comes from what spell it is based on. That is under 'Text - Order String - Use/Turn On' in your ability. You might have to add some things depending on your particular map. For instance, if more than one player has this ability at a time, you'd need to use an array instead of a single variable. |
| 08-02-2003, 07:49 PM | #6 |
Taion I tried that sort of here is what I have: MeteorPoint Events Unit - A unit Is issued an order targeting a point Unit - A unit Begins casting an ability Conditions (Ability being cast) Equal to Meteor Actions Set Meteor = (Target point of issued order) Unit - Create 1 Spell Breaker for Player 1 (Red) at Meteor facing (Position of (Triggering unit)) Region - Center SkillMeteor on Meteor Environment - Create a 1.50 second Permanent crater deformation at (Center of SkillMeteor) with radius 512.00 and depth 300.00 Meteor is a point variable SkillMeteor is a region variable I create a spellbreaker to see where meteor is located but the trigger wont create one, so Im not sure where the point Meteor is. And I cant seem to open up any of the tides of blood maps so I could see how they do some of there special effect triggers. Xtil |
