- Joined
- Jun 19, 2008
- Messages
- 4
I want marketplace to generate money over time how?? pls help
You don't need to add a variable and for it and remove location.
And it's better to pick players in this case, not to use a loop
1. Units can leak with their locations.
So you have to create a point variable and to set variable = their position.
And then delete the point.
This leaks can be in trigger, when you create smth in the position of unit, or issue order targeting a position of unit and etc.
2. It will do the same thing but it isn't the same. Loop scripts will take more space.
The group does leak lol, as soon as something is stored it can become a leak if not removed.
And here you store a group for a one time use only, because it changes the number of marketplaces.
So yeh.
Erm... what is this:Player group leaks very rare.
Unit groups leaks always.
And, if you use a variable group it don't leak.
You don't need to add a variable and for it and remove location.
The group does leak lol, as soon as something is stored it can become a leak if not removed.
And here you store a group for a one time use only, because it changes the number of marketplaces.
So yeh.