- Joined
- Mar 27, 2008
- Messages
- 8,035
Does this leak ?
From trigger above, I am overwriting the variable over and over again, and lastly, I removed it, so from my point of view, that trigger does not contain any leak because last value of TempLoc has been cleaned.
As for 4 other action above, they have been overwritten meaning that they don't carry value any longer.
Therefore, I want a clear statement from you guys (please, if you have low knowledge of "leak", don't bother reply, it may confuses others - with respect).
Does trigger above leak ?
If it does, well I know I have to do this;
- Set TempLoc = (Random point in (Playable map area))
- Set TempLoc = (Random point in (Playable map area))
- Set TempLoc = (Random point in (Playable map area))
- Set TempLoc = (Random point in (Playable map area))
- Set TempLoc = (Random point in (Playable map area))
- Custom script: call RemoveLocation(udg_TempLoc)
From trigger above, I am overwriting the variable over and over again, and lastly, I removed it, so from my point of view, that trigger does not contain any leak because last value of TempLoc has been cleaned.
As for 4 other action above, they have been overwritten meaning that they don't carry value any longer.
Therefore, I want a clear statement from you guys (please, if you have low knowledge of "leak", don't bother reply, it may confuses others - with respect).
Does trigger above leak ?
If it does, well I know I have to do this;
- Set TempLoc = (Random point in (Playable map area))
- Custom script: call RemoveLocation(udg_TempLoc)
- Set TempLoc = (Random point in (Playable map area))
- Custom script: call RemoveLocation(udg_TempLoc)
- Set TempLoc = (Random point in (Playable map area))
- Custom script: call RemoveLocation(udg_TempLoc)
- Set TempLoc = (Random point in (Playable map area))
- Custom script: call RemoveLocation(udg_TempLoc)
- Set TempLoc = (Random point in (Playable map area))
- Custom script: call RemoveLocation(udg_TempLoc)