(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-05-2006, 02:44 PM   #1 (permalink)

User
 
Join Date: Oct 2006
Posts: 65

TheSonOfCulture is an unknown quantity at this point (0)


Memory Leaks

Alright, so I'm trying to clean up the memory leaks with my spells, but I'm confused. I thought I needed a different variable for each effect, point, etc. Or can I use one?

For example, in my trigger enhanced spells, I (naturally) often use the target of the spell as a point and I assign that to a variable. Do I need a SpellLocation1 and a SpellLocation2, 3, 4... for each different spell? Or can I recycle SpellLocation in all of my spells?

I hope you know what I mean.
TheSonOfCulture is offline  
Old 11-05-2006, 03:16 PM   #2 (permalink)

User
 
Join Date: Feb 2006
Posts: 480

low-life has little to show at this moment (1)


you don't
low-life is offline  
Old 11-05-2006, 04:04 PM   #3 (permalink)

iRawr
 
Join Date: Dec 2005
Posts: 8,349

PurplePoot is a splendid one to behold (807)PurplePoot is a splendid one to behold (807)PurplePoot is a splendid one to behold (807)

Paired Mapping Contest #4 Winner: Fallen Angel - Lucifer's Keep Respected User: This user has been given the respected user award. Map Development Mini-Contest #1 Winner: Stand of the Elements 

As long as the processes are instant for EVERY USE, you can recycle your variable.
PurplePoot is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Trigger] Memory Leaks? Black-Templar Triggers & Scripts 12 11-21-2007 08:37 AM
Memory Leaks Jupiterstorm World Editor Help Zone 2 09-30-2007 05:12 PM
What exactly is the downside of memory leaks? Aoen Triggers & Scripts 16 02-05-2007 11:03 PM
memory leaks glock World Editor Help Zone 13 11-01-2005 12:47 PM
[JASS] Memory Leaks USETHEFORKS Triggers & Scripts 1 11-02-2004 03:54 PM

All times are GMT. The time now is 04:30 AM.






Your link here 
Credit Cards | Loans | MBNA credit card | Loans | Loans
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle