- Joined
- Sep 9, 2007
- Messages
- 6,759
Hi guys,
I was just about to update my missile engine and I found out that GetLocationZ() does not take care of the cliffs.
If I throw an unit to the target and there is a cliff on the way, it still says the height is the same.
If you want I will attach my missile engine and you will see what I mean.
Basically:
Start + Target location have same cliff level.
Put a cliff which is on the way.
Throw a missile to the target.
Print the Z-Value of GetLocationZ all the time.
Wonder why it never goes +64. (+1 clifflevel)
I was just about to update my missile engine and I found out that GetLocationZ() does not take care of the cliffs.
If I throw an unit to the target and there is a cliff on the way, it still says the height is the same.
If you want I will attach my missile engine and you will see what I mean.
Basically:
Start + Target location have same cliff level.
Put a cliff which is on the way.
Throw a missile to the target.
Print the Z-Value of GetLocationZ all the time.
Wonder why it never goes +64. (+1 clifflevel)