• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

How can i convert an coustom spell

Status
Not open for further replies.
That spell is based on Channel and has an order Id of "unsubmerge". To order your unit to cast it, have the spell learned (if it's a hero) and then use this trigger:
  • Set Unit = (Your unit <gen>)
  • Set Point1 = (The point you want)
  • Custom script: call IssuePointOrderLoc (udg_Unit, "unsubmerge", udg_Point1)
  • Custom script: call RemoveLocation (udg_Point1)
Use the trigger above, if you want to target a point, else, if you want to target a unit:
  • Set Unit = (Your unit <gen>)
  • Set Unit1 = (The target unit you want)
  • Custom script: call IssueTargetOrder (udg_Unit, "unsubmerge", udg_Unit1)
 
Level 3
Joined
Aug 18, 2008
Messages
25
That spell is based on Channel and has an order Id of "unsubmerge". To order your unit to cast it, have the spell learned (if it's a hero) and then use this trigger:
  • Set Unit = (Your unit <gen>)
  • Set Point1 = (The point you want)
  • Custom script: call IssuePointOrderLoc (udg_Unit, "unsubmerge", udg_Point1)
  • Custom script: call RemoveLocation (udg_Point1)
Use the trigger above, if you want to target a point, else, if you want to target a unit:
  • Set Unit = (Your unit <gen>)
  • Set Unit1 = (The target unit you want)
  • Custom script: call IssueTargetOrder (udg_Unit, "unsubmerge", udg_Unit1)

Hmmm... i think i dont get it :eekani:

Do i need to find the id of the spell and put it where unsubmarge is? because i tried just like u wroted and didint work....
 
Status
Not open for further replies.
Top