GetStartingLocation

From NWN Lexicon
Jump to: navigation, search



GetStartingLocation()

Determines the starting location of the module.

Description

Returns the starting location of the player(s) in the module.



Remarks

Patch message for 1.25 lists GetStartLocation as a valid function; it is unknown as to whether this function (GetStartingLocation) is incorrect or two functions exist.


Version

1.25

Example

// teleports subject to the module's starting location
void main()
{
    location lStartingLoc = GetStartingLocation();
    ActionJumpToLocation(lStartingLoc);
}

See Also

functions: 

GetLocation



 author: Daniel Beckman, editor: Charles Feduke