Jass:GetLocationZ
Aus Mappedia
| Funktion: GetLocationZ | |
|---|---|
| Parameter: | location |
| Rückgabewert: | real |
| Autor: | Blizzard |
| Quelle: | common.j |
| Synchron: | nein |
Liefert die Höhe des Terrains an einem bestimmten Punkt.
Synchronität
In der Common.j ist die Funktion mit folgendem Kommentar versehen :
// This function is asynchronous. The values it returns are not guaranteed synchronous between each player. // If you attempt to use it in a synchronous manner, it may cause a desync.
Zwar gibt es mehrere Multiplayermaps, die diese Funktion ohne Probleme verwenden, sollten jedoch Synchronitäts-Probleme auftreten, könnte diese Funktion die Ursache sein.
Code
native GetLocationZ takes location whichLocation returns real
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| location | whichLocation | Punkt, dessen Höhe bestimmt werden soll |
