| 10-29-2006, 03:15 AM | #1 |
Can someone please tell me if this function leaks: Trigger: Also, does attaching a sword to a units right hand work if it has a weapon in its hand? |
| 10-29-2006, 03:32 AM | #2 |
No. But (Triggering Unit) is sightly faster than (Entering Unit). And there's not much point of using a variable at all if you change it when it's used. Would be a slightly faster way of making it. |
| 10-29-2006, 03:33 AM | #3 | |
Quote:
|
| 10-29-2006, 07:16 AM | #4 |
It is also utterly pointless. Players cannot leak, so setting it to a variable is pointless. |
| 10-29-2006, 02:23 PM | #5 |
lets say that i set every point that i used to "temp_point" but never cleared the variable. (less variaBle=good) |
| 10-29-2006, 02:34 PM | #6 |
Locations (points) can leak. After you set the variable, use it, and then remove the location - custom script; call RemoveLocation(udg_temp_point). |
