Viikuna
No Marlo no game.
- Reaction score
- 265
Well, for unit indexing, you could just use function UnitId inside your system.
Then people could just use that function to easily swap from indexing system from another.
PUI users would probably make it return GetUnitIndex(u) or whatever that PUI function is.
If I used this is my map, I would simply make it return GetUnitUserData(u), because I recycle my units.
Also: using ParabolaZ is really unflexible. You should use z velocity and gravitation instead.
Then people could just use that function to easily swap from indexing system from another.
PUI users would probably make it return GetUnitIndex(u) or whatever that PUI function is.
If I used this is my map, I would simply make it return GetUnitUserData(u), because I recycle my units.
Also: using ParabolaZ is really unflexible. You should use z velocity and gravitation instead.