Developing proxmity-based voice chat for NWN
Valeriya
Member Posts: 57
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?
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?
0
Comments
[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]