• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

General Help: What determines if unit blow on clicking

Status
Not open for further replies.
Level 6
Joined
Mar 29, 2004
Messages
222
alas, no fear matey here is the trigger...

just replace the X's in the IF/THEN/ELSE with your own numbers, and add an exploding action in the actions under the IF/THEN/ELSE as well...

For my trigger, i used an albatross as a unit..enjoy

AlbatrosExplode
Events
Player - Player 1 (Red) Selects a unit
Conditions
(Unit-type of (Triggering unit)) Equal to Albatross
Actions
Set AmountOfClicks = (AmountOfClicks + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AmountOfClicks Equal to X
Then - Actions
Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Else - Actions
 
Level 2
Joined
Mar 12, 2005
Messages
11
Well as i'm trained we/i/blizzard uses Script codes with a special program that is maded for blizzards st games, i got that program but i'm not allowed to give it out... but now you know how...

scripting, took me 3years to learn and now i can it very goood i can make everything with script.

(this is not some JASS junk)
 
Status
Not open for further replies.
Top