• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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