| 09-19-2004, 11:50 AM | #1 |
Im looking for a triggerer to help with the seemingly impossible! Basically, i need an answer to theese: How di make it so that a trigger only activates when i have a specific unit type slected individual (I.E: condition: player selection is equal to unit type [unit]) How do i make a sucsessful unit creation only AFTER a spell is cast (By hotkey) how do i make the unit Kaboom on that location instantly after that spell (Above) is cast? And how do i make all of the above happen every o.o1 seconds (Or instant) without making lag!??!?! Impossible? I thought so, but im askin you. please help! Garith |
| 09-19-2004, 01:01 PM | #2 | ||||
Quote:
It is under boolean comparison Unit - Player is Selecting. Quote:
So you want a spell to make a permenant unit? If that's so, and you want to make like a permenant water elemental, then you have to remove the buff Water Elemental from it and it will be permenant. If you want to create it via triggers that is at end. Quote:
Either you want to give the unit the Kaboom ability and then order him to cast it, or you want to add the special effect for the ability through triggers and kill/explode your unit. Quote:
Woa, Wait a minute. every 0.01 seconds!?!?!? you want to create 100 units in a second! Never gonna happen. Oh, you're making a TD aren't you. These are for the monsters. Or not, you want selection. Do you mean you want it to be able to run without crashing? Oh well, heres how i would do it. Make a .25 second casting time to start. Then use this trigger: Code:
Untitled Trigger 001
Events
Unit - A unit Begins casting an ability
Conditions
((Casting unit) is selected by Player 1 (Red)) Equal to True
(Ability being cast) Equal to Kaboom! (Goblin Sapper)
Actions
Unit - Create 1 Goblin Sapper for Player 1 (Red) at (Position of (Casting unit)) facing Default building facing degreesNot only does it make next to no lag, but its really fun to keep blowing them up. ![]() |
| 09-19-2004, 01:34 PM | #3 | |
Just out of curiousity, why the **** is this titled "Warcraft FPS mod Help!", when it has absolutly nothing to do with the FPS mod. From what I can make out of your post, Gandolf hit the nail on the head. I am unclear on this, however: Quote:
I can't tell what unit you want to Kaboom it. Does the caster have Kaboom? A Summoned unit? And doing anything but the most basic triggers every .01 seconds will lag anyone to hell and back. |
| 09-20-2004, 08:46 AM | #4 |
ok, clearly people diddetn get what i meant. I have started the trigger and made it pretty well done, but i needed to know those things. The actual effect of the trigger is supposed to be this: a unit goes into a specific mode (Supposed to actiate like defend on and of smoothly) the player gets a croshair instead of a cursor when they run the mouse on screen (As in its a cursor normally when the mouse is over thebottom bit of the screen (With selection and stuff), and wherever the player clicks, a bullet goes there untill the player deactivates shoooting mode. Now, the trigger i have (Well, its not really a trigger yet, just a bit of anything i thought of to see if it would work) is this (It's not completed mind,) Code:
Events
Time - Every 0.50 seconds of game time
Conditions
((Triggering unit) is A ground unit) Equal to ((Triggering unit) is selected by (Owner of (Triggering unit)))
Actions
For each (Integer A) from 0 to 2, do (Actions)
Loop - Actions
Unit - Create 1 Bullet for (Owner of (Matching unit)) at (Position of (Matching unit)) facing Default building facing degrees
Selection - Add (Last created unit) to selection for (Matching player)
Game - Force (Owner of (Matching unit)) to press the key Q(Q is the hotkey for the custom Kaboom baility) |
| 09-23-2004, 09:18 PM | #5 |
First off your condition is off, you need to make 2 conditions, right now it would fire if they were both true or both false. Second you have no triggering unit anywhere because a unit doesn't fire the trgger, third you have no matching unit either because there is no unit matching any conditions! 3rd, your actions aren't inside the loop. 4th, have you tested this? I'm curious to know what force player to press button does, I've seen it but never done anything with it. 5th, I'm not sure how you are going to get the crosshairs. You are going to need to edit the area effect model, and I don't think that'll turn out pretty. |
| 09-24-2004, 08:41 AM | #6 |
no no no..... The force UI key is so that my kaboom spekk activates (q is hotkey!) that target point loks like a crosshair so im happy with that. im aware of the fact that the trigger is curently hopless as ive tested it and it dosent work! i need to know how i can make something that DOES work similar to this..... any ideas anyone? |
