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

Leaks question

Status
Not open for further replies.
Level 10
Joined
Mar 17, 2012
Messages
582
Hi everyone! Qhick question. I'll show you this piece of trigger. Does it have any leaks?
  • Set Infernal_Storm_Picked_Point = (Position of Infernal_Storm_Picked)
  • Set Infernal_Storm_Movement = (Infernal_Storm_Picked_Point offset by (((Real((Level of Infernal Storm for Infernal_Storm_Caster[(Integer A)]))) x 0.40) + 2.00) towards Infernal_Storm_Angle[(Integer A)] degrees)
  • Custom script: call SetUnitX (udg_Infernal_Storm_Picked, GetLocationX (udg_Infernal_Storm_Movement))
  • Custom script: call SetUnitY (udg_Infernal_Storm_Picked, GetLocationY (udg_Infernal_Storm_Movement))
  • Custom script: call RemoveLocation(udg_Infernal_Storm_Picked_Point)
  • Custom script: call RemoveLocation(udg_Infernal_Storm_Movement)
  • Else - Actions
  • Custom script: call DestroyGroup(udg_Infernal_Storm_Group[GetForLoopIndexA()])
  • Else - Actions
Because I have read recently that there are some leaks using "Point WIth Polar Offset"...
 
Status
Not open for further replies.
Top