Results 1 to 4 of 4

Thread: Can Some one define FreeDTM?

  1. #1
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Question Can Some one define FreeDTM?

    Hello, I am currently looking at some scripts so I can better understand them. I wen't to beginner scripts so I don't have to look for scripts that are long. So I found this one script and I am going threw it and I found this one part I don't understand. So I wen't to the SCAR Divi CDE Manual and it said this:

    Code:
    Unload deformable template editor.
    Could someone explain that more? I have no idea what it means, the part of the script I am trying to figure out is this:

    Code:
    procedure FreeDTMs;
    begin
      FreeDTM(dtmStoExitMap);
      FreeDTM(dtmArriveAtStoExit);
      FreeDTM(dtmStoMap);
      FreeDTM(dtmWSExitMap);
      FreeDTM(dtmArriveAtWSExit);
      FreeDTM(dtmWSCaveMap);
      FreeDTM(dtmArriveWSCaveMap);
      FreeDTM(dtmCaveCoalMap);
      FreeDTM(dtmArriveAtCaveCoal);
      FreeDTM(dtmWSMap);
      FreeDTM(dtmCoalMap);
      FreeDTM(dtmArriveCoalMap);
      FreeDTM(dtmCaveExitMap);
      FreeDTM(dtmArriveCaveExitMap);
      FreeDTM(dtmNExitMap);
      FreeDTM(dtmArriveNExitMap);
      FreeDTM(dtmNStoMap);
      FreeDTM(dtmArriveNStoMap);
      FreeDTM(dtmPickAxe);
    end;
    What does FreeDTM do? No big words please, xD. I am not that smart.

  2. #2
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Frees the DTM's that are loaded to free up memory.
    There used to be something meaningful here.

  3. #3
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    Frees the DTM's that are loaded to free up memory.
    Ahh I see. Thank you.

  4. #4
    Join Date
    May 2007
    Location
    England
    Posts
    4,141
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Adding onto what Frement said, if you don't free DTMs, the script may start to become laggy. Also, if you try to a free a DTM which isn't in use (not been declared) SCAR will give you an error. I'm not sure if Simba will, but I assume so.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •