Question on Memory Leak

Mindless

New Member
Reaction score
4
Hi everyone,

A quick question: does this leak?

Unit- Order Footman 001 <gen> Move to Point(11102, -11029)

Do I have to make variables for both the footman and the point? Then clean them?
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
yes it leaks

"Footman 001" is actually a premade global variable, so you don't need to assign a new one for it
for the point however, you'll have to

set Point = Point(11102, -11029)
<do stuff>
call RemoveLocation(udg_Point)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top