• 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.

[Trigger] explosions

Status
Not open for further replies.
Level 3
Joined
Jul 24, 2007
Messages
40
if u use a region
________________________________________________
  • Events
    • Time - Every 4 seconds of game time.
    • Conditions
    • Actions
      • Custom script: local effect e
      • Special effect - Create special effect at loc (see 1) using yourexplosion.mdl
      • Set e = last created effect
      • Unit - Cause unit to damage circular area after 0.00 seconds of x(2) dealing x(3)
      • Custom script: call DestroyEffect(e)
_______________________________________________
1:(either a set loc or point saved in a variable or a region)
2: your radius
3:how much damage
_________________________________________________
if you use a loc set in a variable...
_______________________________________________
  • Events
    • Time - Every 4 seconds of game time.
    • Conditions
    • Actions
      • Custom script local location loc
      • Custom script: local effect e
      • Special effect - Create special effect at loc (see 1) using yourexplosion.mdl
      • Set e = last created effect
      • Unit - Cause unit to damage circular area after 0.00 seconds of x(2) dealing x(3)
      • Custom script: call DestroyEffect(e)
      • Custom script: call RemoveLocation(loc)
______________________________________
_______________________________________________
 
Status
Not open for further replies.
Top