| 07-25-2008, 05:22 PM | #1 |
Ok im very bad at triggering so heres what i need to know. If i set a Eg. Point 1 = Centre of Region and want to refer to that exact same point for the rest of the game, do i need to unleak the point? Also Im making a TD and i need to know how to make the creeps attack the towers when they are blocked. Currently they chop down the whole damn maze if interupted. |
| 07-25-2008, 05:26 PM | #2 | ||
Quote:
Quote:
|
| 07-25-2008, 05:37 PM | #3 |
If you're going to use the same point variable whose position would be static (as in, you won't reset it to another position, even if it's the same position), then you only need to set it once and you don't need to clean the memory. (From my understanding.) Make certain to check if the killer is an enemy of the tower's player. |
| 07-25-2008, 08:05 PM | #4 |
As long as you do Trigger: Set Point 1 = Center of ( Your Region )only once, and not every time you need it, you don't have to destroy it. if you do Trigger: then you have to clean the point since you create a new point every time the trigger runs. |
| 07-26-2008, 01:36 AM | #5 |
I don't know about you guys, but I feel better creating a temporary point and then destroying it. Y'know, let it do it's thing then have it out of the way. |
| 07-26-2008, 02:58 AM | #6 |
How bout this then, create it on map int, then destroy it on victory/defeat. Then you can still feel good. |
