- Joined
- Jun 24, 2009
- Messages
- 1,409
What if you made a spell that uses an indexing system and it lasts for e.q. 5 seconds. Which one would you prefer to store a position? The caster unit won't move away.
- Store the position at the beginning of the spell and remove it at the end. (Less function calls but an extra variable)
- Every 0.03 second store the position to a temporary variable then remove it.(More function calls but no extra variable)