2024-06-20 15:47:42 -04:00

27 lines
1.2 KiB
Plaintext

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//void main()
//{
//object oPC=GetClickingObject();
//if(!GetIsPC(oPC))
//return;
//ActivatePortal (oPC,"192.168.0.1","Password","WP_Go_Here",TRUE);
//}
//
//That would send the pc clicking on the portal to a server at IP 192.168.0.1
//The server would have a password on it called "Password" (if left blank then it assumes no password is needed.
//The PC would appear at WP_Go_Here (if left blank they go to the mod's start point)
//And TRUE means that the portal will be seamless, if FALSE you will go to their character select screen I believe)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//a is the ip of the server connecting to
//b is the player password if any in effect for server connecting to
//c is the Waypoint on connecting server where character will appear, no Waypoint means default start location instead for arrival
//TRUE or FALSE is for a smooth server transition
void main()
{
object oPC = GetLastUsedBy();
if(!GetIsPC(oPC))
return;
ActivatePortal (oPC,"nwn.eqstromm.com:5121","","",TRUE);
}