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

[Spell] Ward Cast Earthquake

Status
Not open for further replies.
Level 7
Joined
Sep 4, 2016
Messages
116
I'm trying to make an ability that produces brief earthquakes in an area, so I currently have a trigger that commands a ward unit (created via trigger) at the center of the area to cast earthquake on a random point within the area every so often:

  • Events
    • Time - Every 1.5 seconds of game time
  • Actions
    • SetPt = (Position of MeteorWard) offset by (Random real number between 0.0 and 450.0) toward (Random Angle) degrees
    • Unit - Order MeteorWard to Orc Far Seer - Earthquake TmpPt
I'm not sure why, but it seems not to be doing anything. I added floating text to show where the MeteorWard is, as well as the random points, and they show up as expected. I used a different spell, and it seems to work. Any ideas how to fix this?
 
Level 29
Joined
Sep 26, 2009
Messages
2,596
I just tried to do the same by giving a modified earthquake to Shadow Hunter's Serpent Ward and then running this trigger:
  • Test
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Unit - Order Serpent Ward (Level 1) 0000 <gen> to Orc Far Seer - Earthquake (Position of Farm 0003 <gen>)
This worked as intended, so I believe you have some other issue apart from the trigger.
  • Give the earthquake to some basic unit like Footman - can he cast it?
  • Ward unit is incorrectly set up (maybe it has turning rate and tries to slowly turn to various random points every 1.5 second?)
Try testing this the same way I did - instead of a trigger that fires every 1.5s, try to run this once by skipping cinematic
 
Level 7
Joined
Sep 4, 2016
Messages
116
I finally got a chance to go back and find what my issue was. The "Pt" vs "TmpPt" was a typo here, but funny enough, the actual issue was essentially the same, mixing up which ward I was giving the ability to ("MeteorWard" vs "MeteorWard2"). Thank you, both!
 
Status
Not open for further replies.
Top