• 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 not triggering

Status
Not open for further replies.
Level 5
Joined
Aug 24, 2010
Messages
133
Im trying to trigger a spell based on stampede and im using

  • Unit - Order (Last created unit) to Neutral Beastmaster - Stampede temp_point
but for some reason it doesnt work. Any ideas how to solve?
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
Im trying to trigger a spell based on stampede and im using

  • Unit - Order (Last created unit) to Neutral Beastmaster - Stampede temp_point
but for some reason it doesnt work. Any ideas how to solve?

Could you post the entire trigger, I don't know if this is a problem with Last created unit, temp_point or the spell it's based on...
There's not enough information.
 
Level 5
Joined
Aug 24, 2010
Messages
133
i tried making the dummy visible and took off locust and everything else in the trigger works fine its just not casting

  • stampede
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Stampede
    • Actions
      • Set temp_point = (Target point of ability being cast)
      • Set temp_point2 = (Position of (Triggering unit))
      • Unit - Create 1 dummy for (Triggering player) at temp_point2 facing Default building facing degrees
      • Unit - Add Stampede (dummy) to (Last created unit)
      • Unit - Set level of Stampede (dummy) for (Last created unit) to (Level of Stampede for (Triggering unit))
      • Unit - Order (Last created unit) to Neutral Beastmaster - Stampede temp_point
      • Unit - Add a 30.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_temp_point)
      • Custom script: call RemoveLocation(udg_temp_point2)
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
i tried making the dummy visible and took off locust and everything else in the trigger works fine its just not casting

  • stampede
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Stampede
    • Actions
      • Set temp_point = (Target point of ability being cast)
      • Set temp_point2 = (Position of (Triggering unit))
      • Unit - Create 1 dummy for (Triggering player) at temp_point2 facing Default building facing degrees
      • Unit - Add Stampede (dummy) to (Last created unit)
      • Unit - Set level of Stampede (dummy) for (Last created unit) to (Level of Stampede for (Triggering unit))
      • Unit - Order (Last created unit) to Neutral Beastmaster - Stampede temp_point
      • Unit - Add a 30.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_temp_point)
      • Custom script: call RemoveLocation(udg_temp_point2)

dont have something requiment for Stamped what ur dummy unit use? (like lv6 needed,mana etc)
or dont work with unit begin casting event ?
 
Level 11
Joined
Nov 15, 2007
Messages
800
Make sure the dummy ability has appropriate range and no mana cost. Remove locust from the dummy unit and give it a model so you can select it and see if the ability is being added correctly and can be cast manually.
 
Level 6
Joined
Aug 16, 2007
Messages
213
Check if the unit has enough mana(better to set mana cost to 0) check cast range, check ability that it does not require level 6 .
 

Attachments

  • lvl6.png
    lvl6.png
    43.6 KB · Views: 160
Level 5
Joined
Aug 24, 2010
Messages
133
yea i did all that and you can manually cast it no problem the dummy spell has no mana cost and infinite range im using the same dummy for other spells which work fine
its just this one that has a problem
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
yea i did all that and you can manually cast it no problem the dummy spell has no mana cost and infinite range im using the same dummy for other spells which work fine
its just this one that has a problem

dummy unit dont ahve too much ability (idk if have a limit or problem with base orderid since when happened with me my dummy unit got too much ability and idk if number was the problem or same base orderid since i deleted all ability from editor and i everytime added the ability with trigger)

anyway u can post the map?
 
Status
Not open for further replies.
Top