• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Custom value of (casting unit) in custom script

Status
Not open for further replies.
Level 4
Joined
Aug 14, 2007
Messages
66
  • Summon Portal
    • Actions
      • Set portalspelltemppoint[(Custom value of (Casting unit))] = ((Position of (Casting unit)) offset by 100.00 towards 90.00 degrees)
      • Set portalspelltemppoint_2[(Custom value of (Casting unit))] = (Target point of ability being cast)
      • Wait 60.00 seconds
      • Custom script: call RemoveLocation(udg_portalspelltemppoint)
      • Custom script: call RemoveLocation(udg_portalspelltemppoint_2)
How do I use Custom value of (Casting unit) for these array variables portalspelltemppoint & portalspelltemppoint_2 in custom script?

also how would i do it with other options like (triggering unit) or (attacking unit) etc.
 
Status
Not open for further replies.
Back
Top