Civ Modding Wiki

Search

Search IconIcon to open search

Unit.GetLocation

Last updated Aug 2, 2022 Edit Source

# Unit:GetLocation

this function is a member of Unit this method expects an implicit “self” argument. invoke it with :


# Usage

UIScriptReturnsFunctionArguments
UnitLocation [table]Unit:GetLocation

# Notes

The function returns a table with two indices: x, and y.


Interactive Graph