• 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] Show Area

Status
Not open for further replies.

sentrywiz

S

sentrywiz

I have a point and lets say an area around that point of 250 units of range. I like to show an effect like Orb of Fire at every 45 degrees around that point in the range.

How would I do that? An example of what I like:

example.jpg
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
something like this.
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set loc = (Center of (Playable map area))
      • Set degree = 0
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • Set degree = (degree + 45.00)
          • Set loc2 = (loc offset by 250.00 towards degree degrees)
          • Special Effect - Create a special effect at loc2 using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
          • Special Effect - Destroy (Last created special effect)
          • Custom script: call RemoveLocation(udg_loc2)
      • Custom script: call RemoveLocation(udg_loc)
 

sentrywiz

S

sentrywiz

orbitting
here's the tutorial =)

Nice. Exactly what I need. I always wanted to know
how to make nova spells and this will help me
in the long run. +rep

something like this.
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set loc = (Center of (Playable map area))
      • Set degree = 0
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • Set degree = (degree + 45.00)
          • Set loc2 = (loc offset by 250.00 towards degree degrees)
          • Special Effect - Create a special effect at loc2 using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
          • Special Effect - Destroy (Last created special effect)
          • Custom script: call RemoveLocation(udg_loc2)
      • Custom script: call RemoveLocation(udg_loc)

I always thought it was something like this. Thank you for the triggers.

+rep
 
Status
Not open for further replies.
Top