- Joined
- Jul 3, 2011
- Messages
- 251
Hey Hive, i got 2 JASS related questions that i cannot for the life of me figure out. Will be very greatfull to anyone who can answer them.
1. If you save a local group to a hashtable, then set a local group as the saved group, must you destroy the loaded group or will that also destroy the saved group? I never really had to save unit groups into hashtables so only now is this becomming an issue, since i dont want leaks.
2. How can you create a rect between 1 unit to another give or take 50 units wide? I am not sure what calculation (if any) is required to achieve this.
1. If you save a local group to a hashtable, then set a local group as the saved group, must you destroy the loaded group or will that also destroy the saved group? I never really had to save unit groups into hashtables so only now is this becomming an issue, since i dont want leaks.
2. How can you create a rect between 1 unit to another give or take 50 units wide? I am not sure what calculation (if any) is required to achieve this.