Skip to content

Developing proxmity-based voice chat for NWN

ValeriyaValeriya Member Posts: 55
edited September 2018 in Tools & Plugin Developers
Hello everyone,
I'm trying to develop proxmity-based voice chat for NWN, someone in this thread ( ) suggested I use Mumble.

Is there a way I can extract the player's XYZ coordinates and area location?


  • dunahandunahan Member Posts: 138
    edited September 2018
    The way to do this by script is GetLocation(oPlayer);
    location locTarget = GetLocation( oPlayer );
    vector vecLocation = GetPositionFromLocation( locTarget );
    float fX = ( vecLocation.x );
    float fY = ( vecLocation.y );
    float fZ = ( vecLocation.z );
    float fOrientation = GetFacing( oPlayer );
Sign In or Register to comment.