Howdy, Stranger!

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

Categories

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 ( https://forums.beamdog.com/discussion/72666/proximity-based-voice-chat-in-nwn-ee-ideas-how-to-accomplish#latest ) suggested I use Mumble.

https://wiki.mumble.info/wiki/Link

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

Comments

  • dunahandunahan Member Posts: 121
    edited September 2018
    The way to do this by script is GetLocation(oPlayer);
    [code]
    location locTarget = GetLocation( oPlayer );
    vector vecLocation = GetPositionFromLocation( locTarget );
    float fX = ( vecLocation.x );
    float fY = ( vecLocation.y );
    float fZ = ( vecLocation.z );
    float fOrientation = GetFacing( oPlayer );
    [/code]

Sign In or Register to comment.