• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your 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