Difference between revisions of "GetCurrentLocation - ObjectReference"
GetCurrentLocation - ObjectReference (edit)
Revision as of 09:04, 26 August 2016
, 09:04, 26 August 2016→Notes: Will return none if the cell has not location.
imported>Plplecuyer |
imported>Goggle m (→Notes: Will return none if the cell has not location.) |
||
Line 28: | Line 28: | ||
**For example, if you want to know if the actor is in SolitudeLocation or any of the city interiors, use IsInLocation(SolitudeLocation). | **For example, if you want to know if the actor is in SolitudeLocation or any of the city interiors, use IsInLocation(SolitudeLocation). | ||
*If you want to compare two different actors' locations TO one another, you probably want to use [[IsSameLocation - Location|IsSameLocation]]. | *If you want to compare two different actors' locations TO one another, you probably want to use [[IsSameLocation - Location|IsSameLocation]]. | ||
*The vast majority of wilderness cells do not have a location, to which this function will return none if the Cell has no location assigned to it and print an error to the log. | |||
== See Also == | == See Also == |