Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Developing proxmity-based voice chat for NWN

ValeriyaValeriya Member Posts: 54
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: 121
    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.